Ansys Products

Ansys Products

Discuss installation & licensing of our Ansys Teaching and Research products.

Difficulty in running ANSYS Mechanical APDL

    • squayyum
      Subscriber

      I have ANSYS 2021R2 installed along with the license manager. License manager is running, however, I am getting the following errors when I try to run ANSYS Mechanical APDL. Let me know how to resolve this issue.

    • George Karnos
      Ansys Employee
      Hello Shahriar Can you please post the errors as screen shots as we are not permitted to open files.
      Thank You!
    • squayyum
      Subscriber
      Here are the error messages I am getting. Let me know if you can see these.


    • George Karnos
      Ansys Employee
      @squayyum
      Thank You, I can see those!
      How are you starting MAPDL?
      Open a DOS Command Prompt and type in:
      set PATH
      Please post what is returned.
      Also, type in:
      Set a
      post what is returned
      Thank You!
    • squayyum
      Subscriber
      I am starting MAPDL by using the product launcher. This what I get when I type in:
      set PATH:
      C:\Users\Timothy Kohany>set PATH
      Path=C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\PuTTY\;C:\Program Files (x86)\Wolfram Research\WolframScript\;C:\Python\Python37;C:\Program Files\Calibre2\;C:\Python\Python37\Scripts\;C:\Python\Python37\;C:\Users\Timothy Kohany\AppData\Local\Microsoft\WindowsApps;C:\Users\Timothy Kohany\AppData\Local\atom\bin;C:\Users\Timothy Kohany\AppData\Local\Microsoft\WindowsApps;
      PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
      This is what I get when I type in:
      set a:
      C:\Users\Timothy Kohany>Set a
      ALLUSERSPROFILE=C:\ProgramData
      ANSYS190_DIR=C:\Program Files\ANSYS Inc\v190\ANSYS
      ANSYS202_DIR=C:\Program Files\ANSYS Inc\v202\ANSYS
      ANSYS212_DIR=C:\Program Files\ANSYS Inc\v212\ANSYS
      ANSYSLIC_DIR=C:\Program Files\ANSYS Inc\Shared Files\Licensing
      ANSYSLI_ELASTIC=0
      ANSYSLI_LCP=0
      ANSYS_SYSDIR=winx64
      ANSYS_SYSDIR32=win32
      ANS_OLD_ATTACH=1
      APPDATA=C:\Users\Timothy Kohany\AppData\Roaming
      AWP_LOCALE190=en-us
      AWP_LOCALE212=en-us
      AWP_ROOT190=C:\Program Files\ANSYS Inc\v190
      AWP_ROOT202=C:\Program Files\ANSYS Inc\v202
      AWP_ROOT212=C:\Program Files\ANSYS Inc\v212
    • George Karnos
      Ansys Employee
      Try to edit your PATH environment variable and cut
      C:\ProgramData\Oracle\Java\javapath;
      from the beginning of the PATH and add it to the end of the PATH so that your PATH starts with:
      C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem......
    • squayyum
      Subscriber
      So I have edited the PATH environment variable as instructed. See below when I type in set PATH now. However, I am still having the same errors while launching MAPDL "ANSYS.exe - Entry Point Not Found". Let me know what should be done.
      C:\Users\Timothy Kohany>set PATH
      Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\PuTTY\;C:\Program Files (x86)\Wolfram Research\WolframScript\;C:\Python\Python37;C:\Program Files\Calibre2\;C:\ProgramData\Oracle\Java\javapath;C:\Python\Python37\Scripts\;C:\Python\Python37\;C:\Users\Timothy Kohany\AppData\Local\Microsoft\WindowsApps;C:\Users\Timothy Kohany\AppData\Local\atom\bin;C:\Users\Timothy Kohany\AppData\Local\Microsoft\WindowsApps;
      PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
      Set a
      C:\Users\Timothy Kohany>Set a
      ALLUSERSPROFILE=C:\ProgramData
      ANSYS190_DIR=C:\Program Files\ANSYS Inc\v190\ANSYS
      ANSYS202_DIR=C:\Program Files\ANSYS Inc\v202\ANSYS
      ANSYS212_DIR=C:\Program Files\ANSYS Inc\v212\ANSYS
      ANSYSLIC_DIR=C:\Program Files\ANSYS Inc\Shared Files\Licensing
      ANSYSLI_ELASTIC=0
      ANSYSLI_LCP=0
      ANSYS_SYSDIR=winx64
      ANSYS_SYSDIR32=win32
      ANS_OLD_ATTACH=1
      APPDATA=C:\Users\Timothy Kohany\AppData\Roaming
      AWP_LOCALE190=en-us
      AWP_LOCALE212=en-us
      AWP_ROOT190=C:\Program Files\ANSYS Inc\v190
      AWP_ROOT202=C:\Program Files\ANSYS Inc\v202
      AWP_ROOT212=C:\Program Files\ANSYS Inc\v212
    • squayyum
      Subscriber
      I am still getting the same error after changing the path as instructed. Any inputs how to resolve the issue? Please see below:
      C:\Users\Timothy Kohany>set PATH
      Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\PuTTY\;C:\Program Files (x86)\Wolfram Research\WolframScript\;C:\Python\Python37;C:\Program Files\Calibre2\;C:\ProgramData\Oracle\Java\javapath;C:\Python\Python37\Scripts\;C:\Python\Python37\;C:\Users\Timothy Kohany\AppData\Local\Microsoft\WindowsApps;C:\Users\Timothy Kohany\AppData\Local\atom\bin;C:\Users\Timothy Kohany\AppData\Local\Microsoft\WindowsApps;
      PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
      Set a
      C:\Users\Timothy Kohany>Set a
      ALLUSERSPROFILE=C:\ProgramData
      ANSYS190_DIR=C:\Program Files\ANSYS Inc\v190\ANSYS
      ANSYS202_DIR=C:\Program Files\ANSYS Inc\v202\ANSYS
      ANSYS212_DIR=C:\Program Files\ANSYS Inc\v212\ANSYS
      ANSYSLIC_DIR=C:\Program Files\ANSYS Inc\Shared Files\Licensing
      ANSYSLI_ELASTIC=0
      ANSYSLI_LCP=0
      ANSYS_SYSDIR=winx64
      ANSYS_SYSDIR32=win32
      ANS_OLD_ATTACH=1
      APPDATA=C:\Users\Timothy Kohany\AppData\Roaming
      AWP_LOCALE190=en-us
      AWP_LOCALE212=en-us
      AWP_ROOT190=C:\Program Files\ANSYS Inc\v190
      AWP_ROOT202=C:\Program Files\ANSYS Inc\v202
      AWP_ROOT212=C:\Program Files\ANSYS Inc\v212

Viewing 7 reply threads
  • The topic ‘Difficulty in running ANSYS Mechanical APDL’ is closed to new replies.