Skip to content

Instantly share code, notes, and snippets.

@arjun-kava
Last active June 6, 2018 07:22
Show Gist options
  • Save arjun-kava/647816c4801afcf2b703d25c6224d1d9 to your computer and use it in GitHub Desktop.
Save arjun-kava/647816c4801afcf2b703d25c6224d1d9 to your computer and use it in GitHub Desktop.
nvcc not found, after installation
# edit .bashrc
nano /home/username/.bashrc
# append following lines into end of file
PATH=/usr/local/cuda-8.0/bin${PATH:+:${PATH}}$
export LD_LIBRARY_PATH=/usr/local/cuda-8.0/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
#load source again
source .bashrc
#check version
nvcc --version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment