Next time I logged in, my GPU box couldn't find nvcc. I panicked - do I need to install CUDA again?? I frantically searched for an answer on the web, and came to a conclusion that I didn't update bash file.
$ gedit ~/.bashrc
Add the following lines at the bottom of the bash file:
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/cuda/lib64:/usr/local/cuda/extras/CUPTI/lib64"
export CUDA_HOME=/usr/local/cuda
Save and close the text file.
Type the following command to reload the .bashrc file:
$ source ~/.bashrc
No comments:
Post a Comment