How to fix the GPU warning?
Show older comments
Hello,
I'm trying to use GPU libraries (especially, gpuArray) on an HPC cluster but I constatnly get an error below:
---
Warning: The CUDA driver must recompile the GPU libraries because your device is more recent than the libraries. Recompiling can take several minutes.
> In parallel.internal.gpu.selectDevice
In parallel.gpu.GPUDevice.current (line 44)
In gpuDevice (line 23)
---
Everytime I get this warning message, MATLAB stops working for more than 30 minutes, which is so annoying...
Information about the machine and MATLAB release is listed below:
- MATLAB: R2019a
- GPU chip: A100-PCIE-40GB
- NVIDIA-SMI: 460.32.03 (Linux)
- Driver version: 462.32.03
- CUDA version: 11.2
I tried to disable the warning message by the following line of code:
warning off parallel:gpu:device:DeviceLibsNeedsRecompiling
but it didn't work.
Any idea how to solve this problem? I found some similar posts in MATLAB Community but I haven't found any helpful answer yet.
I'd appreciate any help.
Accepted Answer
More Answers (0)
Categories
Find more on GPU Computing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!