# Path to CUDA driver

**URL:** <https://discourse.julialang.org/t/path-to-cuda-driver/86817>\
**Category:** New to Julia\
**Tags:** gpu, cuda, installation\
**Created:** [September 5, 2022, 7:24pm UTC](https://discourse.julialang.org/t/path-to-cuda-driver/86817 "2022-09-05T19:24:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yoshi](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yoshi/32/38259_2.png) [@yoshi](https://discourse.julialang.org/u/yoshi)\
**Post date:** [September 5, 2022, 7:24pm UTC](https://discourse.julialang.org/t/path-to-cuda-driver/86817/1 "2022-09-05T19:24:54Z")

</div>

I’m trying to use julia in an HPC environment. I load the CUDA driver using slurm’s “module” functionality. I can see where it is in the $PATH variable. But when I go to run “pkg\> test CUDA” I get warnings saying “This version of CUDA.jl only supports NVIDIA drivers for CUDA 10.2 or higher (yours is for CUDA 9.2.0)” but nvcc --version is showing version 10.2 is loaded.

Why isn’t julia detecting this path? Am I bungling something?

---

<div class="post-metadata">

**Author:** ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Post date:** [September 7, 2022, 8:44am UTC](https://discourse.julialang.org/t/path-to-cuda-driver/86817/2 "2022-09-07T08:44:09Z")

</div>

It may be best to continue in the other post you created since you gave more detail there:

> [@Unable to use CUDA from artifacts](https://discourse.julialang.org/t/unable-to-use-cuda-from-artifacts/86854):
>
> I’m trying to use julia in an HPC environment. I load the CUDA driver using slurm’s “module” functionality. I can see where it is in the $PATH variable. But when I go to run “pkg\> test CUDA” I get warnings saying “This version of CUDA.jl only supports NVIDIA drivers for CUDA 10.2 or higher (yours is for CUDA 9.2.0)” but nvcc --version is showing version 10.2 is loaded. I have read that Artifacts are downloaded with Julia so that some apprpriate version of the nvidia drivers are downloaded with …
