Skip to content

Instantly share code, notes, and snippets.

@lhl2617
Last active March 18, 2021 12:29
Show Gist options
  • Save lhl2617/78c612fca337cafa1df0ef344535ecb9 to your computer and use it in GitHub Desktop.
Save lhl2617/78c612fca337cafa1df0ef344535ecb9 to your computer and use it in GitHub Desktop.
~/.bashrc additions to setup CUDA on doc.
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