forked from open-mpi/ompi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
run some of the hdf5 tests from the testpar directory for both ompio and romio. Signed-off-by: Edgar Gabriel <[email protected]>
- Loading branch information
1 parent
b858b9f
commit 6399a7d
Showing
1 changed file
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: HDF5 | ||
|
||
on: [pull_request] | ||
|
||
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=/opt/openmpi --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: | | ||
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=/opt/openmpi/bin:${PATH} | ||
export LD_LIBRARY_PATH=/opt/openmpi/lib:${LD_LIBRARY_PATH} | ||
echo ${PATH} | ||
echo ${LD_LIBRARY_PATH} | ||
./configure --enable-parallel | ||
make -j ${nproc} | ||
- name: Run testsuite (ompio) | ||
run: | | ||
echo ${PATH} | ||
echo ${LD_LIBRARY_PATH} | ||
HDF5TestExpress=0 mpirun -np 4 ./testpar/t_shapesame | ||
mpirun -np 4 ./testpar/t_filters_parallel | ||
mpirun -np 4 ./testpar/testphdf5 | ||
timeout-minutes: 10 | ||
- name: Run testsuite (romio) | ||
run: | | ||
echo ${PATH} | ||
echo ${LD_LIBRARY_PATH} | ||
HDF5TestExpress=0 mpirun --mca io ^ompio -np 4 ./testpar/t_shapesame | ||
mpirun --mca io ^ompio -np 4 ./testpar/t_filters_parallel | ||
mpirun --mca io ^ompio -np 4 ./testpar/testphdf5 | ||
timeout-minutes: 10 |