Skip to content

Commit

Permalink
Merge pull request #1540 from ExtremeFLOW/fix/update_nvhpc
Browse files Browse the repository at this point in the history
Update to latest nvhpc (24.11)
  • Loading branch information
njansson authored Nov 14, 2024
2 parents b0e800c + 2375887 commit 8dd1f83
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/check_nvidia.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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-11
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.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
Expand Down Expand Up @@ -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.11/cuda/
make
- name: Dist (CPU backend)
Expand All @@ -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.11/cuda/
make -j $(nproc)
4 changes: 4 additions & 0 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8dd1f83

Please sign in to comment.