/[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.27 by jmc, Fri Jan 21 19:45:01 2011 UTC revision 1.28 by jmc, Wed Jun 29 14:00:59 2011 UTC
# Line 102  make_resdir_list() Line 102  make_resdir_list()
102    
103              ADJOINT=              ADJOINT=
104              RESTART=0              RESTART=0
105              NOI3E=0              FAST=0
106                DVLP=0
107              MTH=0              MTH=0
108              if test -r $dir/summary.txt ; then              if test -r $dir/summary.txt ; then
109                  comm=`grep 'ADJOINT=true' $dir/summary.txt 2>/dev/null`                  comm=`grep 'ADJOINT=true' $dir/summary.txt 2>/dev/null`
110                  eval $comm                  eval $comm
111                  RESTART=`grep -c 'test 2+2=4 summary' $dir/summary.txt`                  RESTART=`grep -c 'test 2+2=4 summary' $dir/summary.txt`
112                  NOI3E=`grep -c "^run: .*testreport.* '*-noieee'*" $dir/summary.txt`                  FAST=`grep -c "^run: .*testreport.* '*-fast'*" $dir/summary.txt`
113                    if test "x$FAST" = x0 ; then
114                       FAST=`grep -c "^run: .*testreport.* '*-noieee'*" $dir/summary.txt`
115                    fi
116                    DVLP=`grep -c "^run: .*testreport.* '*-devel'*" $dir/summary.txt`
117                  MTH=`grep -c "^run: .*testreport.* -mth" $dir/summary.txt`                  MTH=`grep -c "^run: .*testreport.* -mth" $dir/summary.txt`
118              fi              fi
119              if test "x$RESTART" = x0 ; then              if test "x$RESTART" = x0 ; then
# Line 121  make_resdir_list() Line 126  make_resdir_list()
126                  yy=`echo $OPTFILE | grep -c '+mth$'`                  yy=`echo $OPTFILE | grep -c '+mth$'`
127                  if test $yy = 0 ; then OPTFILE="${OPTFILE}+mth" ; fi                  if test $yy = 0 ; then OPTFILE="${OPTFILE}+mth" ; fi
128              fi              fi
129              if test "x$NOI3E" = x1 ; then              if test "x$FAST" = x1 ; then
130                  OPTFILE="${OPTFILE}.noieee"                  OPTFILE="${OPTFILE}.fast"
131                fi
132                if test "x$DVLP" = x1 ; then
133                    OPTFILE="${OPTFILE}.dvlp"
134              fi              fi
135              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]$//'`
136              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]$//'`

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.28

  ViewVC Help
Powered by ViewVC 1.1.22