/[MITgcm]/mitgcm.org/scripts/check_outp
ViewVC logotype

Diff of /mitgcm.org/scripts/check_outp

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

revision 1.14 by jmc, Sun Jul 5 17:23:44 2009 UTC revision 1.15 by jmc, Tue Jul 7 23:32:02 2009 UTC
# Line 252  for mname in $MACHINES ; do Line 252  for mname in $MACHINES ; do
252                  eval $comm                  eval $comm
253                  RESTART=`grep -c 'test 2+2=4 summary' $dir/summary.txt`                  RESTART=`grep -c 'test 2+2=4 summary' $dir/summary.txt`
254                  NOI3E=`grep -c "^run: .*testreport.* '*-noieee'*" $dir/summary.txt`                  NOI3E=`grep -c "^run: .*testreport.* '*-noieee'*" $dir/summary.txt`
255                  MTH=`grep -c "^run: .*testreport.* -mth " $dir/summary.txt`                  MTH=`grep -c "^run: .*testreport.* -mth" $dir/summary.txt`
256              fi              fi
257              if test "x$RESTART" = x0 ; then              if test "x$RESTART" = x0 ; then
258                  kind="forward"                  kind="forward"
# Line 260  for mname in $MACHINES ; do Line 260  for mname in $MACHINES ; do
260              else              else
261                  kind="restart"                  kind="restart"
262              fi              fi
             if test "x$NOI3E" = x1 ; then  
                 OPTFILE="${OPTFILE}.noieee"  
             fi  
263              if test "x$MTH" = x1 ; then              if test "x$MTH" = x1 ; then
264                  yy=`echo $OPTFILE | grep -c 'mth$'`                  yy=`echo $OPTFILE | grep -c '+mth$'`
265                  if test $yy = 0 ; then OPTFILE="${OPTFILE}+mth" ; fi                  if test $yy = 0 ; then OPTFILE="${OPTFILE}+mth" ; fi
266              fi              fi
267                if test "x$NOI3E" = x1 ; then
268                    OPTFILE="${OPTFILE}.noieee"
269                fi
270              day=`echo $i   | sed -e 's/_[0-9]$//' | sed -e 's/_[0-9][0-9]$//'`              day=`echo $i   | sed -e 's/_[0-9]$//' | sed -e 's/_[0-9][0-9]$//'`
271              ttt=`echo $day | sed -e 's/_[0-9]$//' | sed -e 's/_[0-9][0-9]$//'`              ttt=`echo $day | sed -e 's/_[0-9]$//' | sed -e 's/_[0-9][0-9]$//'`
272              day=`echo $ttt | sed -e 's|_| |g' |awk '{print $NF}'`              day=`echo $ttt | sed -e 's|_| |g' |awk '{print $NF}'`

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

  ViewVC Help
Powered by ViewVC 1.1.22