When I run run abaqus2022 with abaqus job=jobname cpus=8 gpus=1 int
.
The following error message will appear.
USING ACCELERATOR PLATFORM_CUDA
Error initializing the CUDA Driver NO_DEVICE
WARNING: GPUAcceleration disabled
Here is the environment of my computer
Ubuntu 22.04.1 LTS
$ Nvidia-smi
NVIDIA-SMI 525.60.11 Driver Version: 525.60.11 CUDA Version: 12.0
$ lspci | grep -i nvidia
b1:00.0 3D controller: NVIDIA Corporation GA100GL [A30 PCIe] (rev a1)
Intel(R) Xeon(R) Silver 4310 CPU @ 2.10GHz x 2
i use nvidia-driver-525-open
to installed the nvidia driver.
I can run pytorch with CUDA, and also can run Abaqus without GPU accelerator.
And I think I set the environment variables for abaqus correctly.
like:
$export
declare -x ABA_ACCELERATOR_TYPE="PLATFORM_CUDA"
I also write os.environ["ABA_ACCELERATOR_TYPE"]="PLATFORM_CUDA" # Nvidia
at the end of the abaqus_v6.env
file.
user@brabq12:~/cuda-sample/1_Utilities/deviceQuery$ ./deviceQuery
./deviceQuery Starting...
CUDA Device Query (Runtime API) version (CUDART static linking)
Detected 1 CUDA Capable device(s)
Device 0: "NVIDIA A30"
CUDA Driver Version / Runtime Version 12.0 / 12.0
CUDA Capability Major/Minor version number: 8.0
Total amount of global memory: 24092 MBytes (25262686208 bytes)
...
Compute Mode:
< Default (multiple host threads can use ::cudaSetDevice() with device simultaneously) >
deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 12.0, CUDA Runtime Version = 12.0, NumDevs = 1, Device0 = NVIDIA A30
Result = PASS
Can anyone tell me what is causing this error?