netcdf-c/h5_test/run_par_tests.sh.in
2020-07-08 12:24:48 -06:00

27 lines
599 B
Bash

#!/bin/sh
# Copyright 2020 University Corporation for Atmospheric
# Research/Unidata. See netcdf-c/COPYRIGHT file for more info.
# This shell runs some parallel HDF5 tests.
# Ed Hartnett
if test "x$srcdir" = x ; then srcdir=`pwd`; fi
. ../test_common.sh
echo ""
echo "Testing parallel I/O with HDF5..."
@MPIEXEC@ -n 1 ./tst_h_par
@MPIEXEC@ -n 2 ./tst_h_par
@MPIEXEC@ -n 4 ./tst_h_par
echo "SUCCESS!!!"
echo "Testing parallel I/O with HDF5 and compression..."
@MPIEXEC@ -n 1 ./tst_h_par_compress
@MPIEXEC@ -n 2 ./tst_h_par_compress
@MPIEXEC@ -n 4 ./tst_h_par_compress
echo "SUCCESS!!!"
exit 0