/[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.10 by jmc, Fri Nov 4 17:42:32 2011 UTC revision 1.12 by jmc, Tue May 8 15:09:26 2012 UTC
# Line 120  echo "cmdEXE='$cmdEXE'" Line 120  echo "cmdEXE='$cmdEXE'"
120  if test $flag = '0' -o $Multi = '1' ; then  if test $flag = '0' -o $Multi = '1' ; then
121  #----------------------------------------------------------------------  #----------------------------------------------------------------------
122  # check for executable:  # check for executable:
123  if test ! -x $gcmEXE  if test ! -x $gcmEXE ; then
124    echo "file '$gcmEXE' does not exist or is not executable"    echo "file '$gcmEXE' does not exist or is not executable"
125    exit 7    exit 7
126  fi  fi
# Line 297  then Line 297  then
297       cat TTT.out.2it       cat TTT.out.2it
298  else $cmdEXE > std_outp.2it  else $cmdEXE > std_outp.2it
299  fi  fi
300    if test ! -s std_outp.2it
301    then echo "empty or no output file: 'std_outp.2it' => exit" ; exit 1 ; fi
302  mv STDERR.0000 std__err.2it  mv STDERR.0000 std__err.2it
303  out=`egrep -c 'STOP ABNORMAL END' std_outp.2it`  out=`egrep -c 'STOP ABNORMAL END' std_outp.2it`
304  if test $out != 0  if test $out != 0
# Line 324  then Line 326  then
326       cat TTT.out.1iA       cat TTT.out.1iA
327  else $cmdEXE > std_outp.1iA  else $cmdEXE > std_outp.1iA
328  fi  fi
329    if test ! -s std_outp.1iA
330    then echo "empty or no output file: 'std_outp.1iA' => exit" ; exit 2 ; fi
331  mv STDERR.0000 std__err.1iA  mv STDERR.0000 std__err.1iA
332  out=`egrep -c 'STOP ABNORMAL END' std_outp.1iA`  out=`egrep -c 'STOP ABNORMAL END' std_outp.1iA`
333  if test $out != 0  if test $out != 0
# Line 350  then Line 354  then
354       cat TTT.out.1iB       cat TTT.out.1iB
355  else $cmdEXE > std_outp.1iB  else $cmdEXE > std_outp.1iB
356  fi  fi
357    if test ! -s std_outp.1iB
358    then echo "empty or no output file: 'std_outp.1iB' => exit" ; exit 3 ; fi
359  mv STDERR.0000 std__err.1iB  mv STDERR.0000 std__err.1iB
360  out=`egrep -c 'STOP ABNORMAL END' std_outp.1iB`  out=`egrep -c 'STOP ABNORMAL END' std_outp.1iB`
361  if test $out != 0  if test $out != 0

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

  ViewVC Help
Powered by ViewVC 1.1.22