/[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.60 by jmc, Wed Jan 20 03:02:49 2010 UTC revision 1.64 by jmc, Fri Oct 29 20:18:23 2010 UTC
# Line 19  usage() Line 19  usage()
19      exit 1      exit 1
20  }  }
21    
22    export LC_ALL="en_US.UTF-8"
23  CURR_PER=`date +%Y`"_"`date +%m`  CURR_PER=`date +%Y`"_"`date +%m`
24  # defaults  # defaults
25  PERIOD=$CURR_PER  PERIOD=$CURR_PER
# Line 84  EOF Line 85  EOF
85  color="#bbffdd"  color="#bbffdd"
86  ncolor="#bbddff"  ncolor="#bbddff"
87    
88  MACHINES="faulks meander lagoon harbor dickens danton aces"  MACHINES="faulks meander aces baudelaire dickens danton beagle harbor"
89  MACHINES="$MACHINES beagle columbia pleiades iblade rays solssrv solasrv sx8"  MACHINES="$MACHINES pleiades iblade rays solasrv sx8"
90  MACHINES="$MACHINES bigred starp"  MACHINES="$MACHINES trane dodongo dokdo bigred"
91    
92  ( cd $INDIR ; ls -1 -t */summary.txt | sed 's/\/summary.txt//' ) > ./dir_all  ( cd $INDIR ; ls -1 -t */summary.txt | sed 's/\/summary.txt//' ) > ./dir_all
93    
# Line 138  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 151  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.60  
changed lines
  Added in v.1.64

  ViewVC Help
Powered by ViewVC 1.1.22