netcdf-c/nc_test/run_pnetcdf_tests.sh.in
2022-04-09 13:56:59 -06:00

19 lines
445 B
Bash
Executable File

#!/bin/sh
# This script runs some PnetCDF I/O tests
set -e
echo
echo "Testing file created with PnetCDF is modifiable with netCDF..."
./tst_pnetcdf
echo "Testing file created with PnetCDF works when adding variables..."
./tst_addvar tst_pnetcdf.nc
# We assume a min of at least 2 processors is available
@MPIEXEC@ -n 2 ./tst_parallel2
# These tests work in either serial or parallel builds.
@MPIEXEC@ -n 1 ./t_nc
@MPIEXEC@ -n 1 ./tst_atts3