netcdf-c/nc_test4/run_par_test.sh

27 lines
667 B
Bash
Raw Normal View History

#!/bin/sh
# This shell runs some parallel I/O tests.
set -e
echo
echo "Testing MPI parallel I/O without netCDF..."
2010-06-03 21:24:43 +08:00
mpiexec -n 4 ./tst_mpi_parallel
echo
echo "Testing very simple parallel I/O with 4 processors..."
2010-06-03 21:24:43 +08:00
mpiexec -n 4 ./tst_parallel
echo
echo "Testing simple parallel I/O with 16 processors..."
2010-06-03 21:24:43 +08:00
mpiexec -n 16 ./tst_parallel3
echo
2010-06-03 21:24:43 +08:00
echo "num_proc time(s) write_rate(B/s)"
mpiexec -n 1 ./tst_parallel4
mpiexec -n 2 ./tst_parallel4
mpiexec -n 4 ./tst_parallel4
mpiexec -n 8 ./tst_parallel4
2011-05-02 22:12:32 +08:00
#mpiexec -n 16 ./tst_parallel4
#mpiexec -n 32 ./tst_parallel4
#mpiexec -n 64 ./tst_parallel4
echo
echo "Parallel Performance Test for NASA"
2010-06-03 21:24:43 +08:00
mpiexec -n 4 ./tst_nc4perf