netcdf-c/h5_test/run_par_tests.sh.in
2020-02-08 06:27:32 -07:00

21 lines
409 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!!!"
exit 0