Skip to content

Commit

Permalink
ci: use nvhpc 24.1
Browse files Browse the repository at this point in the history
  • Loading branch information
hyoklee committed Mar 13, 2024
1 parent 824a81e commit 108359f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: linux CMake nvhpc release
name: lin nvhpc f p

on:
workflow_dispatch:
Expand All @@ -14,7 +14,6 @@ on:
- 'COPYING**'
- '**.md'

# Using concurrency to cancel any in-progress job or run
concurrency:
group: ${{ github.workflow }}-${{ github.sha || github.event.pull_request.number }}
cancel-in-progress: true
Expand All @@ -35,7 +34,7 @@ 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-23-7
sudo apt-get install -y nvhpc-24-1
- name: Get Sources
uses: actions/[email protected]
- name: Test HDF5
Expand All @@ -45,12 +44,11 @@ jobs:
FCFLAGS: -fPIC
run: |
export NVHPCSDK=/opt/nvidia/hpc_sdk
export OMPI_CXX=/opt/nvidia/hpc_sdk/Linux_x86_64/23.7/compilers/bin/nvc++
export OMPI_CC=/opt/nvidia/hpc_sdk/Linux_x86_64/23.7/compilers/bin/nvc
export OMPI_FC=/opt/nvidia/hpc_sdk/Linux_x86_64/23.7/compilers/bin/nvfortran
export LD_LIBRARY_PATH=/opt/nvidia/hpc_sdk/Linux_x86_64/23.7/cuda/12.2/lib64:/opt/nvidia/hpc_sdk/Linux_x86_64/23.7/compilers/lib
export PATH=/opt/nvidia/hpc_sdk/Linux_x86_64/23.7/comm_libs/openmpi4/bin:/opt/nvidia/hpc_sdk/Linux_x86_64/23.7/compilers/bin:$PATH
export OMPI_CXX=/opt/nvidia/hpc_sdk/Linux_x86_64/24.1/compilers/bin/nvc++
export OMPI_CC=/opt/nvidia/hpc_sdk/Linux_x86_64/24.1/compilers/bin/nvc
export OMPI_FC=/opt/nvidia/hpc_sdk/Linux_x86_64/24.1/compilers/bin/nvfortran
export LD_LIBRARY_PATH=/opt/nvidia/hpc_sdk/Linux_x86_64/24.1/cuda/12.2/lib64:/opt/nvidia/hpc_sdk/Linux_x86_64/24.1/compilers/lib
export PATH=/opt/nvidia/hpc_sdk/Linux_x86_64/24.1/comm_libs/openmpi4/bin:/opt/nvidia/hpc_sdk/Linux_x86_64/24.1/compilers/bin:$PATH
cmake -B build -C Release -DHDF5_ENABLE_SZIP_SUPPORT:BOOL=OFF -DHDF5_ENABLE_PARALLEL:BOOL=ON -DHDF5_BUILD_FORTRAN:BOOL=ON
cat build/CMakeCache.txt
cmake --build build
ctest --test-dir build --output-on-failure
2 changes: 1 addition & 1 deletion WATCHME.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
| ifx | [![windows ninja icx ifx](https://github.com/hyoklee/hdf5/actions/workflows/win-ninja-icx-f.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/win-ninja-icx-f.yml) [![win ninja icx ifx sh](https://github.com/hyoklee/hdf5/actions/workflows/win-ninja-icx-f-sh.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/win-ninja-icx-f-sh.yml) [![windows ninja icx ifx p](https://github.com/hyoklee/hdf5/actions/workflows/win-ninja-icx-f-p.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/win-ninja-icx-f-p.yml) [![windows ninja icx ifx p sf](https://github.com/hyoklee/hdf5/actions/workflows/win-ninja-icx-f-p-sf.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/win-ninja-icx-f-p-sf.yml) |
| clang | [![mac-13 CMake clang15 debug gfortran mpich sf](https://github.com/hyoklee/hdf5/actions/workflows/mac-clang15-cmake.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/mac-clang15-cmake.yml) [![mac13 clang15 r f mpich sf](https://github.com/hyoklee/hdf5/actions/workflows/mac13-clang15-r-f-mpich-sf.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/mac13-clang15-r-f-mpich-sf.yml) [![mac-13 CMake Xcode clang15 debug mpich sf](https://github.com/hyoklee/hdf5/actions/workflows/mac-clang15-xcode.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/mac-clang15-xcode.yml) [![mac CMake java parallel](https://github.com/hyoklee/hdf5/actions/workflows/mac-cmake.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/mac-cmake.yml) [![mac CMake java parallel threadsafe](https://github.com/hyoklee/hdf5/actions/workflows/mac-cmake-ts.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/mac-cmake-ts.yml) |
| flang | [![mac CMake flang java parallel mpich](https://github.com/hyoklee/hdf5/actions/workflows/mac-cmake-flang-mpich.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/mac-cmake-flang-mpich.yml) |
| nvhpc | [![linux CMake nvhpc](https://github.com/hyoklee/hdf5/actions/workflows/linux-nvhpc.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/linux-nvhpc.yml) [![linux CMake nvhpc release](https://github.com/hyoklee/hdf5/actions/workflows/linux-nvhpc-r.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/linux-nvhpc-r.yml) [![linux autotools nvhpc](https://github.com/hyoklee/hdf5/actions/workflows/linux-nvhpc-auto.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/linux-nvhpc-auto.yml) [![linux CMake nvhpc sf](https://github.com/hyoklee/hdf5/actions/workflows/linux-nvhpc-sf.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/linux-nvhpc-sf.yml) [![linux autotools nvhpc sf](https://github.com/hyoklee/hdf5/actions/workflows/linux-nvhpc-auto-sf.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/linux-nvhpc-auto-sf.yml) |
| nvhpc | [![linux CMake nvhpc](https://github.com/hyoklee/hdf5/actions/workflows/linux-nvhpc.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/linux-nvhpc.yml) [![lin nvhpc f p](https://github.com/hyoklee/hdf5/actions/workflows/lin-nvhpc-f-p.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/lin-nvhpc-f-p.yml) [![linux autotools nvhpc](https://github.com/hyoklee/hdf5/actions/workflows/linux-nvhpc-auto.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/linux-nvhpc-auto.yml) [![linux CMake nvhpc sf](https://github.com/hyoklee/hdf5/actions/workflows/linux-nvhpc-sf.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/linux-nvhpc-sf.yml) [![linux autotools nvhpc sf](https://github.com/hyoklee/hdf5/actions/workflows/linux-nvhpc-auto-sf.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/linux-nvhpc-auto-sf.yml) |
| MPICH | [![mac CMake fortran java parallel mpich](https://github.com/hyoklee/hdf5/actions/workflows/mac-cmake-mpich.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/mac-cmake-mpich.yml) |

## Build
Expand Down

0 comments on commit 108359f

Please sign in to comment.