netcdf-c/h5_test/run_par_tests.sh.in

27 lines
599 B
Bash
Raw Permalink Normal View History

#!/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!!!"
2020-07-09 02:24:48 +08:00
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