diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2011-10-07 20:14:46 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2011-10-07 20:14:46 (GMT) |
commit | 49887b71b2b831d244cc673c8a65a15fadc7f45d (patch) | |
tree | c55ff8361505456e1d08ebd3d7b82d64fb9f658a /tools/h5repack/h5repack.sh.in | |
parent | 23ecc115b8940afc8406313fd5ba16ee9bdbe52c (diff) | |
download | hdf5-49887b71b2b831d244cc673c8a65a15fadc7f45d.zip hdf5-49887b71b2b831d244cc673c8a65a15fadc7f45d.tar.gz hdf5-49887b71b2b831d244cc673c8a65a15fadc7f45d.tar.bz2 |
[svn-r21488] Bug:
h5dump was used in test script but was not invoked by RUNSERIAL.
THis does not work in batch machines like Blue Gene in LLNL.
Solution:
Added $RUNSERIAL to invoke $H5DUMP_BIN.
Tested:
LLNL BlueGene (udawn)
Diffstat (limited to 'tools/h5repack/h5repack.sh.in')
-rwxr-xr-x | tools/h5repack/h5repack.sh.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/h5repack/h5repack.sh.in b/tools/h5repack/h5repack.sh.in index 4164133..88611ce 100755 --- a/tools/h5repack/h5repack.sh.in +++ b/tools/h5repack/h5repack.sh.in @@ -230,7 +230,7 @@ VERIFY_LAYOUT_DSET() #--------------------------------- # check the layout from a dataset VERIFY "Layout" - $H5DUMP_BIN -d $dset -pH $outfile > $layoutfile + $RUNSERIAL $H5DUMP_BIN -d $dset -pH $outfile > $layoutfile $GREP $expectlayout $layoutfile > /dev/null if [ $? -eq 0 ]; then echo " PASSED" @@ -257,7 +257,7 @@ VERIFY_LAYOUT_ALL() VERIFY "Layout " # if CONTIGUOUS if [ $expectlayout = "CONTIGUOUS" ]; then - $H5DUMP_BIN -pH $outfile > $layoutfile + $RUNSERIAL $H5DUMP_BIN -pH $outfile > $layoutfile $GREP "COMPACT" $layoutfile > /dev/null if [ $? -eq 0 ]; then echo " FAILED" @@ -272,7 +272,7 @@ VERIFY_LAYOUT_ALL() else # if COMPACT if [ $expectlayout = "COMPACT" ]; then - $H5DUMP_BIN -pH $outfile > $layoutfile + $RUNSERIAL $H5DUMP_BIN -pH $outfile > $layoutfile $GREP "CHUNKED" $layoutfile > /dev/null if [ $? -eq 0 ]; then echo " FAILED" @@ -287,7 +287,7 @@ VERIFY_LAYOUT_ALL() else # if CHUNKED if [ $expectlayout = "CHUNKED" ]; then - $H5DUMP_BIN -pH $outfile > $layoutfile + $RUNSERIAL $H5DUMP_BIN -pH $outfile > $layoutfile $GREP "CONTIGUOUS" $layoutfile > /dev/null if [ $? -eq 0 ]; then echo " FAILED" |