From 0fb378b4eed1fffc61b71439a5d5b11ad8335dd0 Mon Sep 17 00:00:00 2001 From: Tim Dettmers Date: Thu, 21 Oct 2021 17:22:43 -0700 Subject: Added compilation from source instructions; easier compilation. --- install_cuda.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 install_cuda.sh (limited to 'install_cuda.sh') 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 -- cgit v1.2.3