summaryrefslogtreecommitdiff
path: root/install_cuda.sh
diff options
context:
space:
mode:
authorTim Dettmers <dettmers@g3030.hyak.local>2021-10-21 17:22:43 -0700
committerTim Dettmers <dettmers@g3030.hyak.local>2021-10-21 17:22:43 -0700
commit0fb378b4eed1fffc61b71439a5d5b11ad8335dd0 (patch)
treeb6991395aa0d889ca738bf25210c7187ce98ec4d /install_cuda.sh
parentd2f16726905f53952fc744147802076f6a1d8711 (diff)
Added compilation from source instructions; easier compilation.
Diffstat (limited to 'install_cuda.sh')
-rw-r--r--install_cuda.sh5
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