ansys / pymapdl

Pythonic interface to MAPDL
https://mapdl.docs.pyansys.com
MIT License
427 stars 120 forks source link

The /EXI command is not permitted in server mode. v24x issue #2681

Open mcMunich opened 9 months ago

mcMunich commented 9 months ago

🤓 Before submitting the issue

🔍 Description of the bug

The current pymapdl version I am using uses a recent version of apdl (24.1) and that causes an issue when trying to exit a pymapdl session. The mapdl.exit() will give an error: *** ERROR *** CP = 2.141 TIME= 14:55:21 The /EXI command is not permitted in server mode. The /EXI command is ignored.

🕵️ Steps To Reproduce

from ansys.mapdl.core import launch_mapdl
mapdl = launch_mapdl()
mapdl.exit()

💻 Which Operating System are you using?

Windows

🐍 Which Python version are you using?

3.11

📝 PyMAPDL Report

na

📝 Installed packages

na

📝 Logger output file

na

mcMunich commented 8 months ago

@germa89

germa89 commented 8 months ago

Trueeeeee.

germa89 commented 8 months ago

I think this related to version not being properly parsed. I will have to tests agains 24.1 and 24.2.

I will need a Windows laptop.

germa89 commented 8 months ago

Closing. Delaying until 24.2 release.