2010-06-03 21:24:43 +08:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# This shell runs some benchmarks that Elena ran as described here:
|
2019-01-21 01:07:13 +08:00
|
|
|
# http://hdfeos.org/workshops/ws06/presentations/Pourmal/HDF5_IO_Perf.pdf. Also
|
|
|
|
# added tst_files2, which needs to be run from a script because it is
|
2019-09-18 10:27:43 +08:00
|
|
|
# dependent on tst_files being run first, and the dependency tacking
|
2019-01-21 01:07:13 +08:00
|
|
|
# only works for .sh tests.
|
2010-06-03 21:24:43 +08:00
|
|
|
|
2018-08-23 22:21:55 +08:00
|
|
|
# Ed Hartnett
|
2010-06-03 21:24:43 +08:00
|
|
|
|
2018-08-23 22:21:55 +08:00
|
|
|
# Load common values for netCDF shell script tests.
|
|
|
|
if test "x$srcdir" = x ; then srcdir=`pwd`; fi
|
|
|
|
. ../test_common.sh
|
2010-06-03 21:24:43 +08:00
|
|
|
|
2018-08-23 22:21:55 +08:00
|
|
|
# Run benchmarks.
|
|
|
|
echo ""
|
2010-06-03 21:24:43 +08:00
|
|
|
echo "*** Testing the benchmarking program bm_file for simple float file, no compression..."
|
2017-03-09 08:01:10 +08:00
|
|
|
${execdir}/bm_file -h -d -f 3 -o tst_elena_out.nc -c 0:-1:0:1024:16:256 tst_elena_int_3D.nc
|
|
|
|
${execdir}/bm_file -d -f 3 -o tst_elena_out.nc -c 0:-1:0:1024:256:256 tst_elena_int_3D.nc
|
|
|
|
${execdir}/bm_file -d -f 3 -o tst_elena_out.nc -c 0:-1:0:512:64:256 tst_elena_int_3D.nc
|
|
|
|
${execdir}/bm_file -d -f 3 -o tst_elena_out.nc -c 0:-1:0:512:256:256 tst_elena_int_3D.nc
|
|
|
|
${execdir}/bm_file -d -f 3 -o tst_elena_out.nc -c 0:-1:0:256:64:256 tst_elena_int_3D.nc
|
|
|
|
${execdir}/bm_file -d -f 3 -o tst_elena_out.nc -c 0:-1:0:256:256:256 tst_elena_int_3D.nc
|
2010-06-03 21:24:43 +08:00
|
|
|
echo '*** SUCCESS!!!'
|
|
|
|
|
2019-01-21 01:07:13 +08:00
|
|
|
echo ""
|
|
|
|
echo "*** Testing the benchmarking program tst_files2..."
|
|
|
|
${execdir}/tst_files2
|
|
|
|
echo '*** SUCCESS!!!'
|
2017-03-09 08:01:10 +08:00
|
|
|
exit 0
|