-
Hi guys
What I’ve Tried Question?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
I guess you mean interactively? Please try: from ansys.mapdl.core import LOG
LOG.setLevel("DEBUG")
LOG.log_to_file("mylog.log")
from ansys.mapdl.core import launch_mapdl
mapdl = launch_mapdl(loglevel="DEBUG") Then you can see the following lines:
Try to execute the command from a terminal in a termporary file and let me know the output. Also it is worth reading: https://mapdl.docs.pyansys.com/version/stable/user_guide/troubleshoot.html#testing-mapdl-launching |
Beta Was this translation helpful? Give feedback.
you didnt mention
start_instance=False
earlier. That argument makes PyMAPDL trying to connect to an already live MAPDL instance. If that does not exist, it will show the error you mentioned.If you haven't started MAPDL manually using the command line, or you are not connecting to a remove MAPDL instance; you should use
start_instance=True
.... Watch out also for thePYMAPDL_START_INSTANCE
environment variable which has the same effect.