nvcc not working after installing cuda 1

nvcc not working after installing cuda

export PATH=/usr/local/cuda-10.2/bin${PATH:+:${PATH}}$ 
export LD_LIBRARY_PATH=/usr/local/cuda-10.2/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}

Here is what the above code is Doing:
1. It’s setting the environment variable PATH to the path of the CUDA bin directory.
2. It’s setting the environment variable LD_LIBRARY_PATH to the path of the CUDA lib64 directory.

Similar Posts