netcdf-c/nc_test/run_pnetcdf_test.sh

16 lines
362 B
Bash
Executable File

#!/bin/sh
# This script runs some parallel-netcdf (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
set -x
# We assume a min of at least 2 processors is available
mpiexec -n 2 ./tst_parallel2