From 34a83418be72c241fb6c22a6df51d71c1c49d108 Mon Sep 17 00:00:00 2001 From: Niclas Jansson Date: Wed, 9 Oct 2024 08:42:14 +0900 Subject: [PATCH 1/3] Update check_nvidia.yml --- .github/workflows/check_nvidia.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/check_nvidia.yml b/.github/workflows/check_nvidia.yml index f0b52356df0..5f75c2f3e28 100644 --- a/.github/workflows/check_nvidia.yml +++ b/.github/workflows/check_nvidia.yml @@ -32,13 +32,13 @@ jobs: curl https://developer.download.nvidia.com/hpc-sdk/ubuntu/DEB-GPG-KEY-NVIDIA-HPC-SDK | sudo gpg --dearmor -o /usr/share/keyrings/nvidia-hpcsdk-archive-keyring.gpg echo 'deb [signed-by=/usr/share/keyrings/nvidia-hpcsdk-archive-keyring.gpg] https://developer.download.nvidia.com/hpc-sdk/ubuntu/amd64 /' | sudo tee /etc/apt/sources.list.d/nvhpc.list sudo apt-get update -y - sudo apt-get install -y nvhpc-24-7 + sudo apt-get install -y nvhpc-24-9 NVARCH=`uname -s`_`uname -m` export NVARCH NVCOMPILERS=/opt/nvidia/hpc_sdk export NVCOMPILERS - PATH=$NVCOMPILERS/$NVARCH/24.7/compilers/bin:$PATH; export PATH - export PATH=$NVCOMPILERS/$NVARCH/24.7/comm_libs/mpi/bin:$PATH + PATH=$NVCOMPILERS/$NVARCH/24.9/compilers/bin:$PATH; export PATH + export PATH=$NVCOMPILERS/$NVARCH/24.9/comm_libs/mpi/bin:$PATH printenv >> $GITHUB_ENV echo "os-version=$(lsb_release -ds | tr " " -)" >> $GITHUB_OUTPUT @@ -98,7 +98,7 @@ jobs: run: | git apply patches/nvhpc_bge.patch ./regen.sh - ./configure FC=${FC} FCFLAGS="-O3" --enable-real=${RP} --with-cuda=/opt/nvidia/hpc_sdk/Linux_x86_64/24.7/cuda/ + ./configure FC=${FC} FCFLAGS="-O3" --enable-real=${RP} --with-cuda=/opt/nvidia/hpc_sdk/Linux_x86_64/24.9/cuda/ make - name: Dist (CPU backend) @@ -122,5 +122,5 @@ jobs: tar xf neko-*.tar.gz -C releng cd releng/neko-* patch -u src/common/signal.f90 -i patches/nvhpc_bge.patch - ./configure FC=${FC} FCFLAGS="-O3" --enable-real=${RP} --with-cuda=/opt/nvidia/hpc_sdk/Linux_x86_64/24.7/cuda/ + ./configure FC=${FC} FCFLAGS="-O3" --enable-real=${RP} --with-cuda=/opt/nvidia/hpc_sdk/Linux_x86_64/24.9/cuda/ make -j $(nproc) From 61b1ce13c31a004ba9a9e3c865c3099aff1c4493 Mon Sep 17 00:00:00 2001 From: Niclas Jansson Date: Thu, 14 Nov 2024 08:14:46 +0100 Subject: [PATCH 2/3] Update to latest nvhpc 24.11 --- .github/workflows/check_nvidia.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/check_nvidia.yml b/.github/workflows/check_nvidia.yml index 5f75c2f3e28..72a6bbfdcdc 100644 --- a/.github/workflows/check_nvidia.yml +++ b/.github/workflows/check_nvidia.yml @@ -32,13 +32,13 @@ jobs: curl https://developer.download.nvidia.com/hpc-sdk/ubuntu/DEB-GPG-KEY-NVIDIA-HPC-SDK | sudo gpg --dearmor -o /usr/share/keyrings/nvidia-hpcsdk-archive-keyring.gpg echo 'deb [signed-by=/usr/share/keyrings/nvidia-hpcsdk-archive-keyring.gpg] https://developer.download.nvidia.com/hpc-sdk/ubuntu/amd64 /' | sudo tee /etc/apt/sources.list.d/nvhpc.list sudo apt-get update -y - sudo apt-get install -y nvhpc-24-9 + sudo apt-get install -y nvhpc-24-11 NVARCH=`uname -s`_`uname -m` export NVARCH NVCOMPILERS=/opt/nvidia/hpc_sdk export NVCOMPILERS - PATH=$NVCOMPILERS/$NVARCH/24.9/compilers/bin:$PATH; export PATH - export PATH=$NVCOMPILERS/$NVARCH/24.9/comm_libs/mpi/bin:$PATH + PATH=$NVCOMPILERS/$NVARCH/24.11/compilers/bin:$PATH; export PATH + export PATH=$NVCOMPILERS/$NVARCH/24.11/comm_libs/mpi/bin:$PATH printenv >> $GITHUB_ENV echo "os-version=$(lsb_release -ds | tr " " -)" >> $GITHUB_OUTPUT @@ -98,7 +98,7 @@ jobs: run: | git apply patches/nvhpc_bge.patch ./regen.sh - ./configure FC=${FC} FCFLAGS="-O3" --enable-real=${RP} --with-cuda=/opt/nvidia/hpc_sdk/Linux_x86_64/24.9/cuda/ + ./configure FC=${FC} FCFLAGS="-O3" --enable-real=${RP} --with-cuda=/opt/nvidia/hpc_sdk/Linux_x86_64/24.11/cuda/ make - name: Dist (CPU backend) @@ -122,5 +122,5 @@ jobs: tar xf neko-*.tar.gz -C releng cd releng/neko-* patch -u src/common/signal.f90 -i patches/nvhpc_bge.patch - ./configure FC=${FC} FCFLAGS="-O3" --enable-real=${RP} --with-cuda=/opt/nvidia/hpc_sdk/Linux_x86_64/24.9/cuda/ + ./configure FC=${FC} FCFLAGS="-O3" --enable-real=${RP} --with-cuda=/opt/nvidia/hpc_sdk/Linux_x86_64/24.11/cuda/ make -j $(nproc) From 2375887acab9ad802a0f6f0351ba780592461dc8 Mon Sep 17 00:00:00 2001 From: Niclas Jansson Date: Thu, 14 Nov 2024 08:43:25 +0100 Subject: [PATCH 3/3] Reenable checks for Nvidia --- .github/workflows/develop.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index 0aba7b2abf8..f626c0a3ba2 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -177,6 +177,10 @@ jobs: fail+=("\t- Intel check: $inel_status") success=false fi + if [ "$nvidia_status" != "success" ]; then + fail+=("\t- NVIDIA check: $nvidia_status") + success=false + fi if [ "$reframe_status" != "success" ]; then fail+=("\t- ReFrame check: $reframe_status") success=false