2013-03-11 07:57:06 +08:00
|
|
|
#!/bin/sh
|
|
|
|
|
2018-09-18 00:47:40 +08:00
|
|
|
# This script runs some PnetCDF I/O tests
|
2013-03-11 07:57:06 +08:00
|
|
|
|
|
|
|
set -e
|
|
|
|
echo
|
2018-09-18 00:47:40 +08:00
|
|
|
echo "Testing file created with PnetCDF is modifiable with netCDF..."
|
2013-03-11 07:57:06 +08:00
|
|
|
./tst_pnetcdf
|
|
|
|
|
2018-09-18 00:47:40 +08:00
|
|
|
echo "Testing file created with PnetCDF works when adding variables..."
|
2015-10-30 03:50:48 +08:00
|
|
|
./tst_addvar tst_pnetcdf.nc
|
2015-10-30 00:27:31 +08:00
|
|
|
|
2014-06-21 10:22:55 +08:00
|
|
|
# We assume a min of at least 2 processors is available
|
|
|
|
mpiexec -n 2 ./tst_parallel2
|