Even after installing Cuda toolkit 11.7, nvcc -V release shows 10.1

I installed the nvidia cuda toolkit 11.7 using the instructions given in the official documentation here

It got installed successfully. However still nvcc -V command shows older version which is confusing,

nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Sun_Jul_28_19:07:16_PDT_2019
Cuda compilation tools, release 10.1, V10.1.243

Further Nvidia-smi is shown below.

NVIDIA-SMI 515.43.04    Driver Version: 515.43.04    CUDA Version: 11.7     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA GeForce ...  On   | 00000000:01:00.0  On |                  N/A |
| N/A   48C    P5     9W /  N/A |    141MiB /  4096MiB |     15%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A      1932      G   /usr/lib/xorg/Xorg                 36MiB |
|    0   N/A  N/A      2830      G   /usr/lib/xorg/Xorg                103MiB |
+-----------------------------------------------------------------------------+

Any help to debug this problem is highly appreciated.

Thanks

Solved this issue after correctly assigning path variables.

I also face the same problem . Ho w to solve this problem.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.