Skip to content

Enter the location of an ANSYS executable (ansysXXX) #1288

Answered by akaszynski
manarshhjot asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @manarshhjot,

I recently updated to v222 locally as well and had to just do this. I'm on Linux and MAPDL is installed in the default location at /ansys_inc on my machine, so launching MAPDL for me is just:

$ python
Python 3.9.13 (main, May 23 2022, 21:57:12) 
[GCC 11.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from ansys.mapdl.core import launch_mapdl
>>> mapdl = launch_mapdl(exec_file='/usr/ansys_inc/v222/ansys/bin/ansys222')
>>> print(mapdl)
Product:             Ansys Mechanical Enterprise
MAPDL Version:       22.2
ansys.mapdl Version: 0.63.0

Since my default MAPDL was set to v22.1 (2022R1) I've updated my default path to the latest versio…

Replies: 3 comments 16 replies

Comment options

You must be logged in to vote
3 replies
@manarshhjot
Comment options

@germa89
Comment options

@germa89
Comment options

Answer selected by germa89
Comment options

You must be logged in to vote
12 replies
@vinothirudayanathan
Comment options

@mikerife
Comment options

@mikerife
Comment options

@vinothirudayanathan
Comment options

@mikerife
Comment options

Comment options

You must be logged in to vote
1 reply
@YanYuDe
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
7 participants