/[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.32 by jmc, Thu Aug 16 02:48:24 2012 UTC revision 1.33 by jmc, Tue Sep 4 20:34:31 2012 UTC
# Line 102  make_resdir_list() Line 102  make_resdir_list()
102              ADJOINT=              ADJOINT=
103              TANGLIN=              TANGLIN=
104              RESTART=0              RESTART=0
105                EXTRA=0
106              FAST=0              FAST=0
107              DVLP=0              DVLP=0
108              MPI=0              MPI=0
# Line 113  make_resdir_list() Line 114  make_resdir_list()
114                  comm=`grep 'TANGLIN=true' $dir/summary.txt 2>/dev/null`                  comm=`grep 'TANGLIN=true' $dir/summary.txt 2>/dev/null`
115                  eval $comm                  eval $comm
116                  RESTART=`grep -c 'test 2+2=4 summary' $dir/summary.txt`                  RESTART=`grep -c 'test 2+2=4 summary' $dir/summary.txt`
117                  FAST=`grep -c "^run: .*testreport.* '*-fast'*" $dir/summary.txt`                  comm=`grep '^run: .*testreport.* ' $dir/summary.txt`
118                    EXTRA=`echo "$comm" | grep -c " -*-tdir\>"`
119                    if test "x$EXTRA" = x0 ; then
120                       EXTRA=`echo "$comm" | grep -c " -*-t\>"`
121                    fi
122                    FAST=`echo "$comm" | grep -c " -*-fast\>"`
123                  if test "x$FAST" = x0 ; then                  if test "x$FAST" = x0 ; then
124                     FAST=`grep -c "^run: .*testreport.* '*-noieee'*" $dir/summary.txt`                     FAST=`echo "$comm" | grep -c " '*-noieee'*"`
125                  fi                  fi
126                  DVLP=`grep -c "^run: .*testreport.* '*-devel'*" $dir/summary.txt`                  DVLP=`echo "$comm" | grep -c " -*-devel\>"`
127                  MPI=`grep -c "^run: .*testreport.* -mpi " $dir/summary.txt`                  MPI=`echo "$comm" | grep -c " -*-mpi\>"`
128                  if test "x$MPI" = x0 ; then                  if test "x$MPI" = x0 ; then
129                     MPI=`grep -c "^run: .*testreport.* -MPI " $dir/summary.txt`                     MPI=`echo "$comm" | grep -c " -*-MPI\>"`
130                  fi                  fi
131                  MTH=`grep -c "^run: .*testreport.* -mth" $dir/summary.txt`                  MTH=`echo "$comm" | grep -c " -*-mth\>"`
132                  UR4=`grep -c "^run: .*testreport.* -use_r4 " $dir/summary.txt`                  UR4=`echo "$comm" | grep -c " -*-use_r4\>"`
133                  if test "x$UR4" = x0 ; then                  if test "x$UR4" = x0 ; then
134                     UR4=`grep -c "^run: .*testreport.* -ur4 " $dir/summary.txt`                     UR4=`echo "$comm" | grep -c " -*-ur4\>"`
135                  fi                  fi
136              fi              fi
137              if test "x$ADJOINT" = xtrue ; then              if test "x$ADJOINT" = xtrue ; then
138                  kind="adjoint" ; order='000'                  kind="adjoint" ; order=0
139              elif test "x$TANGLIN" = xtrue ; then              elif test "x$TANGLIN" = xtrue ; then
140                  kind="tanglin" ; order='001'                  kind="tanglin" ; order=1
141              elif test "x$RESTART" = x0 ; then              elif test "x$RESTART" = x0 ; then
142                  kind="forward" ; order='002'                  kind="forward" ; order=2
143              else              else
144                  kind="restart" ; order='003'                  kind="restart" ; order=3
145                fi
146                if test "x$EXTRA" != x0 ; then
147                    order=`expr $order + 4`
148              fi              fi
149                order=`printf '%3.3i' $order`
150              if test "x$UR4" = x1 ; then              if test "x$UR4" = x1 ; then
151                  OPTFILE="${OPTFILE}.use_r4"                  OPTFILE="${OPTFILE}.use_r4"
152              fi              fi

Legend:
Removed from v.1.32  
changed lines
  Added in v.1.33

  ViewVC Help
Powered by ViewVC 1.1.22