File tree Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Original file line number Diff line number Diff line change 1+ name : HDF5
2+
3+ on : [pull_request]
4+
5+ env :
6+ OMPI_INSTALL_DIR=/opt/openmpi
7+ jobs :
8+ hdf5-testsuite:
9+ runs-on: ubuntu-22.04
10+ steps:
11+ - name: Install dependencies
12+ run: |
13+ sudo apt update
14+ sudo apt install -y --no-install-recommends wget
15+ - uses: actions/checkout@v4
16+ with:
17+ submodules: recursive
18+ - name: Build Open MPI
19+ run: |
20+ ./autogen.pl
21+ ./configure --prefix=${OMPI_INSTALL_DIR} --with-pmix=internal --with-prrte=internal --with-hwloc=internal --with-libevent=internal --disable-mpi-fortran --disable-oshmem
22+ make -j ${nproc} && make install
23+ - name: Install HDF5
24+ run: |
25+ wget https://github.com/HDFGroup/hdf5/releases/latest/download/hdf5.tar.gz
26+ tar -xzf hdf5.tar.gz
27+ mv hdf5-1* hdf5
28+ cd hdf5
29+ export PATH=${OMPI_INSTALL_DIR}/bin:${PATH}
30+ export LD_LIBRARY_PATH=${OMPI_INSTALL_DIR}/lib:${LD_LIBRARY_PATH}
31+ ./configure --enable-parallel
32+ make -j ${nproc}
33+ - name: Run testsuite (ompio)
34+ run: |
35+ export PATH=${OMPI_INSTALL_DIR}/bin:${PATH}
36+ export LD_LIBRARY_PATH=${OMPI_INSTALL_DIR}/lib:${LD_LIBRARY_PATH}
37+ cd testpar
38+ HDF5TestExpress=0 mpirun -np 4 ./t_shapesame
39+ mpirun -np 4 ./t_filters_parallel
40+ mpirun -np 4 ./testphdf5
41+ cd ..
42+ timeout-minutes: 10
43+
44+ - name: Run testsuite (romio)
45+ run: |
46+ export PATH=${OMPI_INSTALL_DIR}/bin:${PATH}
47+ export LD_LIBRARY_PATH=${OMPI_INSTALL_DIR}/lib:${LD_LIBRARY_PATH}
48+ cd testpar
49+ HDF5TestExpress=0 mpirun --mca io ^ompio -np 4 ./t_shapesame
50+ mpirun --mca io ^ompio -np 4 ./t_filters_parallel
51+ mpirun --mca io ^ompio -np 4 ./testphdf5
52+ cd ..
53+ timeout-minutes: 10
You can’t perform that action at this time.
0 commit comments