/[MITgcm]/mitgcm.org/front_content/make_summary
ViewVC logotype

Diff of /mitgcm.org/front_content/make_summary

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

revision 1.61 by jmc, Tue Mar 2 19:26:10 2010 UTC revision 1.62 by jmc, Fri Mar 5 20:18:54 2010 UTC
# Line 139  for mname in $MACHINES ; do Line 139  for mname in $MACHINES ; do
139          RESTART=0          RESTART=0
140          NOI3E=0          NOI3E=0
141          MTH=0          MTH=0
142            UR4=0
143          if test -r $dir/summary.txt ; then          if test -r $dir/summary.txt ; then
144              comm=`grep 'ADJOINT=true' $dir/summary.txt 2>/dev/null`              comm=`grep 'ADJOINT=true' $dir/summary.txt 2>/dev/null`
145              eval $comm              eval $comm
146              RESTART=`grep -c 'test 2+2=4 summary' $dir/summary.txt`              RESTART=`grep -c 'test 2+2=4 summary' $dir/summary.txt`
147              NOI3E=`grep -c "^run: .*testreport.* '*-noieee'*" $dir/summary.txt`              NOI3E=`grep -c "^run: .*testreport.* '*-noieee'*" $dir/summary.txt`
148              MTH=`grep -c "^run: .*testreport.* -mth " $dir/summary.txt`              MTH=`grep -c "^run: .*testreport.* -mth " $dir/summary.txt`
149                UR4=`grep -c "^run: .*testreport.* -use_r4 " $dir/summary.txt`
150                if test "x$UR4" = x0 ; then
151                   UR4=`grep -c "^run: .*testreport.* -ur4 " $dir/summary.txt`
152                fi
153          fi          fi
154          if test "x$RESTART" = x0 ; then          if test "x$RESTART" = x0 ; then
155              kind="forward"              kind="forward"
# Line 152  for mname in $MACHINES ; do Line 157  for mname in $MACHINES ; do
157          else          else
158              kind="restart"              kind="restart"
159          fi          fi
160            if test "x$UR4" = x1 ; then
161                OPTFILE="${OPTFILE}.use_r4"
162            fi
163          if test "x$MTH" = x1 ; then          if test "x$MTH" = x1 ; then
164              yy=`echo $OPTFILE | grep -c '+mth$'`              yy=`echo $OPTFILE | grep -c '+mth$'`
165              if test $yy = 0 ; then OPTFILE="${OPTFILE}+mth" ; fi              if test $yy = 0 ; then OPTFILE="${OPTFILE}+mth" ; fi

Legend:
Removed from v.1.61  
changed lines
  Added in v.1.62

  ViewVC Help
Powered by ViewVC 1.1.22