TAGGED: gpu-acceleration, hpc, mechanical, mechanical-apdl
-
-
June 10, 2021 at 9:26 am
kevjose
SubscriberHi,
I am trying to set up GPU acceleration for my ANSYS Mechanical APDL scripts on the HPC in my university.
I tried to run a GPU accelerated simulation in interactive GUI mode and it gave me this error message.
*** ERROR *** CP = 6.139 TIME= 09:41:23 The capability GPU was either not ordered with this ANSYS installation or the appropriate product was not selected for this session. Contact your ANSYS support person for more information.
In batch mode I get a more cryptic error message:
** FATAL *** CP = 1.771 TIME= 10:13:10 There was an error while initializing the GPU library. Error code = 1. Please check your Mechanical APDL installation. In many cases, simply rebooting your machine may help get past this error.
I am using ansys 2020 R2
Does anyone have any pointers?
I had contacted the HPC staff at the university and this is the response I got from them:
"Ansys were not able to answer my query but have suggested that you sign up to their support forum instead"
Thanks!
Kevin
June 11, 2021 at 1:34 amGeorge Karnos
Ansys EmployeeWhen Starting ANSYS MAPDL, what license are you using?
What GPU is installed on the HPC Machine?
How are you starting MAPDL? Command line or launcher? (Command line contents?)
Are you using RSM? If so, can you post the contents of the RSM Job Log?
June 11, 2021 at 8:33 amkevjose
SubscriberHi I am running it on 40 processors so i request 4 regular and 36 HPC licences.
#SBATCH -L aa_r@ansyslm:4,aa_r_hpc@ansyslm:36
The GPU on the machine is Volta V100 Enterprise Compute GPUs.
(I have tried setting ANSGPU_OVERRIDE = 1, but i have the same error)
I have tried running MAPDL from both command line and interacative launcher. I get slighly different errors as shown in my original post. By batch I mean command line and interactive GUI i mean using the launcher.
Command line contents:
ansys202-b-accnvidia-dis-np$SLURM_NTASKS-jtempFiles-i../runOneLoop.ans-otempFiles.out
I use this exact same command without "-acc nvidia" and it works perfectly.
As far as i can tell RSM is for workbench. I am not using workbench.
June 11, 2021 at 12:47 pmHunter Wang
Ansys Employee"I tried to run a GPU accelerated simulation in interactive GUI mode and it gave me this error message."
*** ERROR *** CP = 6.139 TIME= 09:41:23
The capability GPU was either not ordered with this ANSYS installation
or the appropriate product was not selected for this session.
Contact your ANSYS support person for more information.
Send the complete output message, please.
For below error, follow the suggestion to reboot the machine. Also run /usr/bin/nvidia-smi to find installed NVIDIA driver version
** FATAL *** CP = 1.771 TIME= 10:13:10
There was an error while initializing the GPU library. Error code = 1.
Please check your Mechanical APDL installation. In many cases simply rebooting your machine may help get past this error.
June 16, 2021 at 7:25 amkevjose
SubscriberI am attaching the .out file that is generated when i run APDL from the command line. It was generated as tempFiles.out, I changed the format to text so it could be uploaded here.
Since it is a distributed run, each processor also has its own out file also. I am attaching one of those also for reference (tempFiles1.txt).
This is on a university HPC. Would the HPC admin need to reboot the whole cluster?
Viewing 4 reply threads- The topic ‘ANSYS Mechanical GPU Acceleration’ is closed to new replies.
Innovation SpaceTrending discussionsTop Contributors-
5844
-
1906
-
1420
-
1305
-
1021
Top Rated Tags© 2026 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.
-