Skip to content

Commit

Permalink
more logfile cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
znmeb committed May 13, 2024
1 parent f56e847 commit 83a4611
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions emt_source_code/CUDA/1_install_CUDA.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e

echo "Clearing 'Logs'"
rm -f Logs/*
export LOGFILE=$PWD/Logs/CUDA.log
export LOGFILE=$PWD/Logs/1_install_CUDA.log

echo "Getting COMPUTE_MODE"
source ../set_compute_mode.sh
Expand Down Expand Up @@ -38,16 +38,16 @@ then
wget --quiet \
https://developer.download.nvidia.com/compute/cuda/repos/wsl-ubuntu/x86_64/cuda-keyring_1.1-1_all.deb
else
echo "Not WSL"
echo "WSL2 not detected"
wget --quiet \
https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.1-1_all.deb
fi
sudo dpkg -i cuda-keyring_1.1-1_all.deb \
/usr/bin/time sudo dpkg -i cuda-keyring_1.1-1_all.deb \
>> $LOGFILE 2>&1
sudo apt-get -qq update
sudo apt-get -qqy upgrade \
/usr/bin/time sudo apt-get -qqy upgrade \
>> $LOGFILE 2>&1
sudo apt-get -y install \
/usr/bin/time sudo apt-get -y install \
cuda-toolkit-12-4 \
>> $LOGFILE 2>&1
popd
Expand Down

0 comments on commit 83a4611

Please sign in to comment.