Skip to content

Commit

Permalink
ci(nvhpc, auto): disable wa we
Browse files Browse the repository at this point in the history
  • Loading branch information
hyoklee committed Aug 29, 2024
1 parent ed1a9b4 commit 57d1228
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/fuzz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: fuzz
on:
push:
branches:
- develop
- develop-
jobs:
fuzz:
runs-on: ubuntu-latest
Expand Down
41 changes: 41 additions & 0 deletions .github/workflows/lin-auto-nvhpc-wa-we.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: lin auto nvhpc -wa -we

on:
push:
branches: develop

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install System dependencies
run: |
sudo apt update
sudo apt install -y libaec-dev zlib1g-dev automake autoconf libcurl4-openssl-dev libjpeg-dev wget curl bzip2 m4 flex bison cmake libzip-dev doxygen openssl libtool libtool-bin build-essential
- name: Install NVHPC
run: |
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
- name: Get Sources
uses: actions/checkout@v4.1.1
- name: Test HDF5
run: |
export NVHPCSDK=/opt/nvidia/hpc_sdk
export OMPI_CXX=/opt/nvidia/hpc_sdk/Linux_x86_64/24.7/compilers/bin/nvc++
export OMPI_CC=/opt/nvidia/hpc_sdk/Linux_x86_64/24.7/compilers/bin/nvc
export OMPI_FC=/opt/nvidia/hpc_sdk/Linux_x86_64/24.7/compilers/bin/nvfortran
export LD_LIBRARY_PATH=/opt/nvidia/hpc_sdk/Linux_x86_64/24.7/compilers/lib
export PATH=/opt/nvidia/hpc_sdk/Linux_x86_64/24.7/comm_libs/openmpi4/bin:/opt/nvidia/hpc_sdk/Linux_x86_64/24.7/compilers/bin:$PATH
export DESTDIR=/tmp
./autogen.sh
CC=nvc CXX=nvc++ ./configure \
--prefix=/opt/hdf5 --enable-shared \
--enable-dcov-exception=no --enable-dconv-accuracy=no \
CFLAGS="-O3 -fPIC"
cat config.log
make -j
make check -j
make install
make uninstall
2 changes: 1 addition & 1 deletion .github/workflows/lin-nvhpc-wa-we.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: lin nvhpc -wa -we
on:
push:
branches:
- develop
- develop-

jobs:
build:
Expand Down

0 comments on commit 57d1228

Please sign in to comment.