From a7af072c356c8c54a6d3da43b1b67ed68ba646fe Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Wed, 13 Oct 2004 23:18:11 -0500 Subject: [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. --- tools/h5jam/testh5jam.sh.in | 6 +++--- 1 file 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 -- cgit v0.12