/[MITgcm]/MITgcm/tools/tst_2+2
ViewVC logotype

Diff of /MITgcm/tools/tst_2+2

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.12 by jmc, Tue May 8 15:09:26 2012 UTC revision 1.13 by jmc, Mon Jan 11 20:46:05 2016 UTC
# Line 140  then Line 140  then
140    else    else
141      iter=`echo $lastPick | awk '{print $1}'`      iter=`echo $lastPick | awk '{print $1}'`
142      sufx=`echo $lastPick | awk '{print $2}'`      sufx=`echo $lastPick | awk '{print $2}'`
143      echo "from previous run std.outp, lastPick='$lastPick' ; iter='$iter' ; sufx='$sufx'"      echo "from previous run $outpRun, lastPick='$lastPick' ; iter='$iter' ; sufx='$sufx'"
144    fi    fi
145  else  else
146    echo "no standard output file '$outpRun' from previous run"    echo "no standard output file '$outpRun' from previous run"
# Line 417  do Line 417  do
417     diff $dir1/$zz${xx}data $dir3     diff $dir1/$zz${xx}data $dir3
418     out=$?     out=$?
419     if test $out != 0 ; then     if test $out != 0 ; then
420      echo 'Diff outp=' $out ' ==> stop'      #-- refined check: exclude diff between +0 and -0
421      exit 4      nbDif=`cmp -l  $dir1/$zz${xx}data $dir3/$zz${xx}data \
422               | sed -e '/ 0 200$/d' -e '/ 200   0$/d' | wc -l`
423        if test $nbDif != 0 ; then
424         echo "Diff outp= $out (nb-Diff= $nbDif ) ==> stop"
425         exit 4
426        fi
427     fi     fi
428     if test $chkmeta = 'Y' -a -f $dir1/$zz${xx}meta ; then     if test $chkmeta = 'Y' -a -f $dir1/$zz${xx}meta ; then
429      echo ' diff' $dir1/$zz${xx}meta $dir3      echo ' diff' $dir1/$zz${xx}meta $dir3

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

  ViewVC Help
Powered by ViewVC 1.1.22