Hi everyone,
I installed the CUDA 11.8.
Then, as the GUIDE says, I exported the PATH and LD_LIBRARY_PATH .
export PATH=/usr/local/cuda-11.8/bin${PATH:+:${PATH}}
export LD_LIBRARY_PATH=/usr/local/cuda-11.8/lib64\
${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
When I run nvcc --version on the terminal, where I did the export, it works:
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2022 NVIDIA Corporation
Built on Wed_Sep_21_10:33:58_PDT_2022
Cuda compilation tools, release 11.8, V11.8.89
Build cuda_11.8.r11.8/compiler.31833905_0
but when I run it in other terminal I get this:
Command 'nvcc' not found, but can be installed with:
sudo apt install nvidia-cuda-toolkit
How to solve it?