I am trying to use CUDA on my university cluster. If I try
‘’’ using CUDA ‘’’
I get the following error(s) (I have removed the Stacktraces):
‘’’ ERROR: LoadError: InitError: could not load library “/path-to-home/.julia/artifacts/0b6483311b60bc85d320f64bb66fd2e310916fb1/lib/libnvToolsExt.so”
/path-to-home/.julia/artifacts/0b6483311b60bc85d320f64bb66fd2e310916fb1/lib/libnvToolsExt.so: cannot open shared object file: No such file or directory
ERROR: LoadError: Failed to precompile NVTX [5da4648a-3479-48b8-97b9-01cb529c0a1f] to “/path-to-home/.julia/compiled/v1.10/NVTX/jl_QzKBuC”.
ERROR: The following 2 direct dependencies failed to precompile:
NVTX [5da4648a-3479-48b8-97b9-01cb529c0a1f]
Failed to precompile NVTX [5da4648a-3479-48b8-97b9-01cb529c0a1f] to “/path-to-home/.julia/compiled/v1.10/NVTX/jl_8DfuJi”.
ERROR: LoadError: InitError: could not load library “/path-to-home/.julia/artifacts/0b6483311b60bc85d320f64bb66fd2e310916fb1/lib/libnvToolsExt.so”
/path-to-home/.julia/artifacts/0b6483311b60bc85d320f64bb66fd2e310916fb1/lib/libnvToolsExt.so: cannot open shared object file: No such file or directory
Failed to precompile CUDA [052768ef-5323-5732-b1bb-66c8b64840ba] to “path-to-home/.julia/compiled/v1.10/CUDA/jl_2MEhVu”.
ERROR: LoadError: InitError: could not load library “/path-to-home/.julia/artifacts/0b6483311b60bc85d320f64bb66fd2e310916fb1/lib/libnvToolsExt.so”
/path-to-home/.julia/artifacts/0b6483311b60bc85d320f64bb66fd2e310916fb1/lib/libnvToolsExt.so: cannot open shared object file: No such file or directory
ERROR: LoadError: Failed to precompile NVTX [5da4648a-3479-48b8-97b9-01cb529c0a1f] to “/path-to-home/.julia/compiled/v1.10/NVTX/jl_QzKBuC”.
‘’’
The julia version is 1.10.5
How can I fix this? Any help would be appreciated.
Does /path-to-home/.julia/artifacts/0b6483311b60bc85d320f64bb66fd2e310916fb1/lib/libnvToolsExt.so exist? Can you do ldd /path-to-home/.julia/artifacts/0b6483311b60bc85d320f64bb66fd2e310916fb1/lib/libnvToolsExt.so?
I removed CUDA and tried adding it again, the error message is this:
Precompiling project...
✗ CUDA → SpecialFunctionsExt
11 dependencies successfully precompiled in 182 seconds. 83 already precompiled. 2 skipped during auto due to previous errors.
Does /path-to-home/.julia/artifacts/0b6483311b60bc85d320f64bb66fd2e310916fb1 exist? If so, try removing the directory, which hopefully triggers the artifact getting re-installed.