TAGGED: ansys-apdl, ansys-structural, mapdl, python, python-scripting
-
-
July 6, 2022 at 8:04 pm
j.peach2
SubscriberHello to whoever is reading this.....,
currently, i'm trying to use Python in combination with Ansys 2022 R1 for the first time using all the packages that falls under PyAnsys. This is the program in question......
However, i'm running into an issue. When I run this program, it shows a new window saying "Mechanical APDL Batch running with 2 cores requested" but in task manager, its listed as "not responding". Furthermore, when I try to click on this new window, i'm met with the following System Errors:
1) "The code excecution cannot proceed because AnsMPI.dll was not found. Reinstalling the programme may fix this problem"
2) "The code excecution cannot proceed because AnsGPU.dll was not found. Reinstalling the programme may fix this problem"
3) "The code excecution cannot proceed because ansScaLAPACK.dll was not found. Reinstalling the programme may fix this problem"
4) "The code excecution cannot proceed because libifcoremd.dll was not found. Reinstalling the programme may fix this problem"
I've checked all these aforementioned files and they're all present within the Ansys folder.
It should also be noted that both Python and Ansys are on seperate storage drives on the same laptop due to storage issues. However, when I reinstalled Python onto the same storage drive that stored Ansys, the problem still persisted.
Any help to fix this issue will be greatly appreciated. How do I fix this issue?
Regards, Jordan.
-
July 7, 2022 at 5:49 am
Erik Kostson
Ansys EmployeeI would suggest to post this type of questions (pyANsys related) in the dedicated forum for pyMAPDL:
https://github.com/pyansys/pymapdl/discussions
-
July 7, 2022 at 9:45 am
Vigneswaran Sridharan
Ansys EmployeeHi,
When you do a pip install pip install ansys-mapdl-core, you should be able to get the installed version using 'print(mapdl)'.
from ansys.mapdl.core import launch_mapdl
mapdl = launch_mapdl()
This automatically searches for the latest local version of MAPDL, launches it as a background process, and immediately connects to it. You can then start sending python commands to MAPDL.A successful connection returns:
Vigneswaran
-
- The topic ‘“Mechanical APDL Batch running with 2 cores requested” Problem’ is closed to new replies.
-
3145
-
1007
-
935
-
858
-
792
© 2025 Copyright ANSYS, Inc. All rights reserved.