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