specify parallel processing requirement in pyMAPDL #1500
-
Dear all, I assume that the 'High Performance Computing Setup' in 'Mechanical APDL product launcher' doesn't apply directly to pyMAPDL? If that's true, may I know how can I specify the options of using 'GPU Acceleration' or using 'multiple threads in SMP' in pyMAPDL? Or if my understanding from the answer in discussion #623 is correct, multi-threading is not possible at all in pyMAPDL? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @hawkoli1987 The "Mechanical APDL product launcher" options are normally translated to command line flags which can be applied in PyMAPDL using the kwarg PyMAPDL should work as expected regardless the specified options. Some of them might be overwritten by PyMAPDL, check the documentation. |
Beta Was this translation helpful? Give feedback.
Hi @hawkoli1987
The "Mechanical APDL product launcher" options are normally translated to command line flags which can be applied in PyMAPDL using the kwarg
additional_switches
(See https://mapdl.docs.pyansys.com/contribution_and_api/_autosummary/ansys.mapdl.core.launch_mapdl.html?highlight=launch_mapdl#ansys.mapdl.core.launch_mapdl)).This kwarg will launch MAPDL background process with the required specifications (GPU, DMP, etc).
PyMAPDL should work as expected regardless the specified options. Some of them might be overwritten by PyMAPDL, check the documentation.