diff options
author | Tim Dettmers <dettmers@g3030.hyak.local> | 2021-10-21 17:22:43 -0700 |
---|---|---|
committer | Tim Dettmers <dettmers@g3030.hyak.local> | 2021-10-21 17:22:43 -0700 |
commit | 0fb378b4eed1fffc61b71439a5d5b11ad8335dd0 (patch) | |
tree | b6991395aa0d889ca738bf25210c7187ce98ec4d /install_cuda.sh | |
parent | d2f16726905f53952fc744147802076f6a1d8711 (diff) |
Added compilation from source instructions; easier compilation.
Diffstat (limited to 'install_cuda.sh')
-rw-r--r-- | install_cuda.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/install_cuda.sh b/install_cuda.sh new file mode 100644 index 0000000..6a4ff0c --- /dev/null +++ b/install_cuda.sh @@ -0,0 +1,5 @@ +wget https://developer.download.nvidia.com/compute/cuda/11.1.1/local_installers/cuda_11.1.1_455.32.00_linux.run +bash cuda_11.1.1_455.32.00_linux.run --no-drm --no-man-page --override --installpath=~/local --librarypath=~/local/lib --toolkitpath=~/local/cuda-11.1/ --toolkit --silent +echo "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:~/local/cuda-11.1/lib64/" >> ~/.bashrc +echo "export PATH=$PATH:~/local/cuda-11.1/bin/" >> ~/.bashrc +source ~/.bashrc |