Last active
March 18, 2021 12:29
-
-
Save lhl2617/78c612fca337cafa1df0ef344535ecb9 to your computer and use it in GitHub Desktop.
~/.bashrc additions to setup CUDA on doc.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export PATH=$PATH:/vol/cuda/10.1.105-cudnn7.6.5.32/bin | |
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/vol/cuda/10.1.105-cudnn7.6.5.32/lib64:/vol/cuda/10.1.105-cudnn7.6.5.32/lib | |
if [ -f /vol/cuda/10.1.105-cudnn7.6.5.32/setup.sh ] | |
then | |
. /vol/cuda/10.1.105-cudnn7.6.5.32/setup.sh | |
fi | |
export CUDA_HOME=/vol/cuda/10.1.105-cudnn7.6.5.32 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment