/[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.29 by jmc, Tue Aug 9 16:40:29 2011 UTC revision 1.30 by jmc, Fri Aug 19 20:38:19 2011 UTC
# Line 104  make_resdir_list() Line 104  make_resdir_list()
104              RESTART=0              RESTART=0
105              FAST=0              FAST=0
106              DVLP=0              DVLP=0
107                MPI=0
108              MTH=0              MTH=0
109                UR4=0
110              if test -r $dir/summary.txt ; then              if test -r $dir/summary.txt ; then
111                  comm=`grep 'ADJOINT=true' $dir/summary.txt 2>/dev/null`                  comm=`grep 'ADJOINT=true' $dir/summary.txt 2>/dev/null`
112                  eval $comm                  eval $comm
# Line 114  make_resdir_list() Line 116  make_resdir_list()
116                     FAST=`grep -c "^run: .*testreport.* '*-noieee'*" $dir/summary.txt`                     FAST=`grep -c "^run: .*testreport.* '*-noieee'*" $dir/summary.txt`
117                  fi                  fi
118                  DVLP=`grep -c "^run: .*testreport.* '*-devel'*" $dir/summary.txt`                  DVLP=`grep -c "^run: .*testreport.* '*-devel'*" $dir/summary.txt`
119                    MPI=`grep -c "^run: .*testreport.* -mpi " $dir/summary.txt`
120                    if test "x$MPI" = x0 ; then
121                       MPI=`grep -c "^run: .*testreport.* -MPI " $dir/summary.txt`
122                    fi
123                  MTH=`grep -c "^run: .*testreport.* -mth" $dir/summary.txt`                  MTH=`grep -c "^run: .*testreport.* -mth" $dir/summary.txt`
124                    UR4=`grep -c "^run: .*testreport.* -use_r4 " $dir/summary.txt`
125                    if test "x$UR4" = x0 ; then
126                       UR4=`grep -c "^run: .*testreport.* -ur4 " $dir/summary.txt`
127                    fi
128              fi              fi
129              if test "x$RESTART" = x0 ; then              if test "x$RESTART" = x0 ; then
130                  kind="forward"                  kind="forward"
# Line 122  make_resdir_list() Line 132  make_resdir_list()
132              else              else
133                  kind="restart"                  kind="restart"
134              fi              fi
135                if test "x$UR4" = x1 ; then
136                    OPTFILE="${OPTFILE}.use_r4"
137                fi
138                if test "x$MPI" = x1 ; then
139                    yy=`echo $OPTFILE | grep -c '+mpi'`
140                    if test $yy = 0 ; then OPTFILE="${OPTFILE}+mpi" ; fi
141                fi
142              if test "x$MTH" = x1 ; then              if test "x$MTH" = x1 ; then
143                  yy=`echo $OPTFILE | grep -c '+mth$'`                  yy=`echo $OPTFILE | grep -c '+mth$'`
144                  if test $yy = 0 ; then OPTFILE="${OPTFILE}+mth" ; fi                  if test $yy = 0 ; then OPTFILE="${OPTFILE}+mth" ; fi

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30

  ViewVC Help
Powered by ViewVC 1.1.22