netcdf-c/nc_test/run_pnetcdf_tests.sh.in

28 lines
641 B
Bash
Raw Normal View History

2013-03-11 07:57:06 +08:00
#!/bin/sh
# This script runs some PnetCDF I/O tests
2013-03-11 07:57:06 +08:00
set -e
2013-03-11 07:57:06 +08:00
echo
echo "Testing file created with PnetCDF is modifiable with netCDF..."
2013-03-11 07:57:06 +08:00
./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
@MPIEXEC@ -n 1 ./tst_nofill
@MPIEXEC@ -n 1 ./nc_test
@MPIEXEC@ -n 1 ./tst_default_format_pnetcdf
@MPIEXEC@ -n 1 ./tst_small
@MPIEXEC@ -n 1 ./tst_formatx_pnetcdf
@MPIEXEC@ -n 1 ./tst_cdf5format