Failure to establish Python "MAPDL" session
Greetings,
I am using Python to create the "MAPDL" session. I am able to do it with ANSYS202.exe, but keep getting error message (shown below) with ANSYS222.exe. I tried longer start_timeout, but it didn't help.
Anyone please helps. Thanks.
Chi-Ta
"Error message with ANSYS222.exe"
ansys.mapdl.core.errors.LicenseServerConnectionError: Exceeded timeout of 108.0 seconds while examining:
C:\Users\Exxxxx\AppData\Local\Temp.ansys\licdebug.USSOUWHP6079622.FEAT_ANSYS.222.out
"Example of my command"
mapdl = launch_mapdl(exec_file=r"C:\Program Files\ANSYS Inc\v222\ansys\bin\winx64\ANSYS222.exe",
run_location=path, nproc=4, jobname=jname, override=True, loglevel="DEBUG", print_com=True, start_timeout=120)
"My MAPDL version"
Product: ANSYS Mechanical Pro
MAPDL Version: 20.2
ansys.mapdl Version: 0.63.2
grpc: 1.62.3
Python: 3.7.8
Answers
-
@chii There are couple of possible reason:
- VPN creating issue in fetched license
- Previously started GRPC server process is still alive
Please try these options at troubleshooting section:
https://mapdl.docs.pyansys.com/version/stable/user_guide/troubleshoot.html#testing-mapdl-launching
0