diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2004-10-14 04:18:11 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2004-10-14 04:18:11 (GMT) |
commit | a7af072c356c8c54a6d3da43b1b67ed68ba646fe (patch) | |
tree | c57c8a88ca446af48a274964a38b8d597fba7ca6 /tools | |
parent | 4bcdaa7472703069a3d98b33729ece36c41a2bb5 (diff) | |
download | hdf5-a7af072c356c8c54a6d3da43b1b67ed68ba646fe.zip hdf5-a7af072c356c8c54a6d3da43b1b67ed68ba646fe.tar.gz hdf5-a7af072c356c8c54a6d3da43b1b67ed68ba646fe.tar.bz2 |
[svn-r9417] Bug fix (bug 205).
The script does not use $RUNSERIAL to execute programs.
This failed badly in parallel systems like Tflops.
Patched $RUNSERIAL in to make it work.
Tested in tflops only.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/h5jam/testh5jam.sh.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/h5jam/testh5jam.sh.in b/tools/h5jam/testh5jam.sh.in index 88e9a7c..e12f44e 100644 --- a/tools/h5jam/testh5jam.sh.in +++ b/tools/h5jam/testh5jam.sh.in @@ -24,7 +24,7 @@ DUMPER=h5dump # The dumper to use DUMPER_BIN=`pwd`/../$DUMPER # The path of the dumper binary JAM=h5jam # Tool to test UNJAM=h5unjam # Tool to test -JAM_BIN=`pwd` # The path of the jam binary +JAM_BIN="$RUNSERIAL "`pwd` # The path of the jam binary UNJAM_BIN=`pwd` # The path of the jam binary CMP='cmp -s' @@ -186,7 +186,7 @@ CHECK_UB_1() { else cmpfile="tt2" size=`expr $s2 + $s1` - ./getub -c $s2 $origfile > $cmpfile + $JAM_BIN/getub -c $s2 $origfile > $cmpfile cat $ufile >> $cmpfile fi else @@ -199,7 +199,7 @@ CHECK_UB_1() { # Extract 'size' bytes from the front of 'hfile' # Compare to 'cmpfile', result is set in result1 tfile="tt1" - ./getub -c $size $hfile > $tfile + $JAM_BIN/getub -c $size $hfile > $tfile res=`cmp $cmpfile $tfile` if [ "$?" != "0" ]; then |