From a7f631bb6d6eda08ffd180f8dbd7864bb1f3b233 Mon Sep 17 00:00:00 2001 From: Lujie Duan Date: Fri, 6 Oct 2023 15:20:33 +0000 Subject: [PATCH] Clean up comments --- .../applications/nvml/debian_ubuntu/install | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/integration_test/third_party_apps_data/applications/nvml/debian_ubuntu/install b/integration_test/third_party_apps_data/applications/nvml/debian_ubuntu/install index 05b5279e36..c14d7aa626 100755 --- a/integration_test/third_party_apps_data/applications/nvml/debian_ubuntu/install +++ b/integration_test/third_party_apps_data/applications/nvml/debian_ubuntu/install @@ -5,17 +5,18 @@ sudo apt update kernel_version=`uname -r` sudo apt install -y linux-headers-${kernel_version} software-properties-common pciutils gcc make dkms wget -# Install CUDA and driver together, since the `exercise` script needs CUDA to compile the application to generating GPU process metrics +# Install CUDA and driver together, since the `exercise` script needs to run a CUDA sample app to generating GPU process metrics DEVICE_CODE=$(lspci -n | grep -Po '10de:[\w\d]{4}') case $DEVICE_CODE in 10de:102d) # Install a specific version for NVIDIA Tesla K80, R470 is the last supported version DRIVER_VERSION=470.82.01 - echo "Installing NVIDIA CUDA 11.2.1 with driver $DRIVER_VERSION" + CUDA_VERSION=11.4.4 + echo "Installing NVIDIA CUDA $CUDA_VERSION with driver $DRIVER_VERSION" curl -fSsl -O https://us.download.nvidia.com/tesla/$DRIVER_VERSION/NVIDIA-Linux-x86_64-$DRIVER_VERSION.run sudo bash ./NVIDIA-Linux-x86_64-$DRIVER_VERSION.run --silent - wget --no-verbose https://developer.download.nvidia.com/compute/cuda/11.4.4/local_installers/cuda_11.4.4_${DRIVER_VERSION}_linux.run - sudo sh cuda_11.4.4_${DRIVER_VERSION}_linux.run --toolkit --silent + wget --no-verbose https://developer.download.nvidia.com/compute/cuda/$CUDA_VERSION/local_installers/cuda_${CUDA_VERSION}_${DRIVER_VERSION}_linux.run + sudo sh cuda_${CUDA_VERSION}_${DRIVER_VERSION}_linux.run --toolkit --silent ;; *) echo "Installing latest version of NVIDIA CUDA and driver"