Skip to content

pr-checks: run hdf5 testsuite #2

pr-checks: run hdf5 testsuite

pr-checks: run hdf5 testsuite #2

Workflow file for this run

name: HDF5
on: [pull_request]
env:
OMPI_INSTALL_DIR=/opt/openmpi
jobs:
hdf5-testsuite:
runs-on: ubuntu-22.04
steps:
- name: Install dependencies
run: |
sudo apt update
sudo apt install -y --no-install-recommends wget
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Build Open MPI
run: |
./autogen.pl
./configure --prefix=${OMPI_INSTALL_DIR} --with-pmix=internal --with-prrte=internal --with-hwloc=internal --with-libevent=internal --disable-mpi-fortran --disable-oshmem
make -j ${nproc} && make install
- name: Install HDF5
run: |

Check failure on line 24 in .github/workflows/hdf5-tests.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/hdf5-tests.yaml

Invalid workflow file

You have an error in your yaml syntax on line 24
wget https://github.com/HDFGroup/hdf5/releases/latest/download/hdf5.tar.gz
tar -xzf hdf5.tar.gz
mv hdf5-1* hdf5
cd hdf5
export PATH=${OMPI_INSTALL_DIR}/bin:${PATH}
export LD_LIBRARY_PATH=${OMPI_INSTALL_DIR}/lib:${LD_LIBRARY_PATH}
./configure --enable-parallel
make -j ${nproc}
- name: Run testsuite (ompio)
run: |
export PATH=${OMPI_INSTALL_DIR}/bin:${PATH}
export LD_LIBRARY_PATH=${OMPI_INSTALL_DIR}/lib:${LD_LIBRARY_PATH}
cd testpar
HDF5TestExpress=0 mpirun -np 4 ./t_shapesame
mpirun -np 4 ./t_filters_parallel
mpirun -np 4 ./testphdf5
cd ..
timeout-minutes: 10
- name: Run testsuite (romio)
run: |
export PATH=${OMPI_INSTALL_DIR}/bin:${PATH}
export LD_LIBRARY_PATH=${OMPI_INSTALL_DIR}/lib:${LD_LIBRARY_PATH}
cd testpar
HDF5TestExpress=0 mpirun --mca io ^ompio -np 4 ./t_shapesame
mpirun --mca io ^ompio -np 4 ./t_filters_parallel
mpirun --mca io ^ompio -np 4 ./testphdf5
cd ..
timeout-minutes: 10