/[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.49 by jmc, Mon Nov 28 20:31:34 2016 UTC revision 1.53 by jmc, Wed Sep 18 16:17:55 2019 UTC
# Line 162  make_resdir_list() Line 162  make_resdir_list()
162              else              else
163                  kind="restart" ; order=5                  kind="restart" ; order=5
164              fi              fi
             order=`expr $order + 10 \* $EXTRA`  
             order=`printf '%3.3i' $order`  
165              if test "x$UR4" = x1 ; then              if test "x$UR4" = x1 ; then
166                  OPTFILE="${OPTFILE}.use_r4"                  OPTFILE="${OPTFILE}.use_r4"
167              fi              fi
168              if test "x$MPI" = x1 ; then              if test "x$MPI" = x1 ; then
169                  yy=`echo $OPTFILE | grep -c '+mpi'`                  yy=`echo $OPTFILE | grep -c '+mpi'`
170                  if test $yy = 0 ; then OPTFILE="${OPTFILE}+mpi" ; fi                  if test $yy = 0 ; then yy=`echo $OPTFILE | grep -c '+impi'` ; fi
171                    if test $yy = 0 ; then OPTFILE="${OPTFILE}+mpi"
172                                    else order=`expr $order + 200` ; fi
173              fi              fi
174              if test "x$MTH" = x1 ; then              if test "x$MTH" = x1 ; then
175                  yy=`echo $OPTFILE | grep -c '+mth$'`                  yy=`echo $OPTFILE | grep -c '+mth$'`
# Line 181  make_resdir_list() Line 181  make_resdir_list()
181              if test "x$DVLP" = x1 ; then              if test "x$DVLP" = x1 ; then
182                  OPTFILE="${OPTFILE}.dvlp"                  OPTFILE="${OPTFILE}.dvlp"
183              fi              fi
184                order=`expr $order + 10 \* $EXTRA`
185                order=`printf '%3.3i' $order`
186              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]$//'`
187              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]$//'`
188              day=`echo $ttt | sed -e 's|_| |g' |awk '{print $NF}'`              day=`echo $ttt | sed -e 's|_| |g' |awk '{print $NF}'`
# Line 314  if test $PM == '00' ; then PM='12' ; PY= Line 316  if test $PM == '00' ; then PM='12' ; PY=
316  PREV_P="${PY}_${PM}";  PREV_P="${PY}_${PM}";
317  PERIOD=`echo $PERIOD | sed 's/^[0-9][0-9][0-9][0-9]/&_/'`  PERIOD=`echo $PERIOD | sed 's/^[0-9][0-9][0-9][0-9]/&_/'`
318    
319  #INDIR="/net/orwell/export/export-9/mitgcm-testing/results/$PERIOD"  #INDIR="/net/zany.mit.edu/data/ORWELL/export-9/mitgcm-testing/results/$PERIOD"
320  INDIR="/u/u0/httpd/html/testing/results/$PERIOD"  INDIR="/u/u0/httpd/html/testing/results/$PERIOD"
321  #INDIR="/u/u2/jmc/mitgcm/test_web/results/$PERIOD"  #INDIR="$HOME/mitgcm/test_web/results/$PERIOD"
322    
323  #- a short summary of this checking :  #- a short summary of this checking :
324  OUTPSUM=`echo $LASTDAY | sed 's/^20../_/'`  OUTPSUM=`echo $LASTDAY | sed 's/^20../_/'`
# Line 392  echo "     name     checked   comp    Di Line 394  echo "     name     checked   comp    Di
394  ( cd $INDIR ; ls -1 -t */summary.txt | sed 's/\/summary.txt//' ) > $TMP.dir_all  ( cd $INDIR ; ls -1 -t */summary.txt | sed 's/\/summary.txt//' ) > $TMP.dir_all
395    
396  if test "x$MACHINES" = "x_All_" ; then  if test "x$MACHINES" = "x_All_" ; then
397    MACHINES="aces- acesgrid baudelaire engaging svante glacier uv100 ollie stan1"    MACHINES="villon baudelaire batsi engaging1 engaging- svante glacier"
398    MACHINES="$MACHINES pleiades archer stomp octopus saramago"    MACHINES="$MACHINES ollie stan1 pleiades archer"
399    
400    MALL=`cat $TMP.dir_all | sed -e 's|_| |g' | awk '{print $2}' | sort | uniq`    MALL=`cat $TMP.dir_all | sed -e 's|_| |g' | awk '{print $2}' | sort | uniq`
401    for madd in $MALL ; do    for madd in $MALL ; do

Legend:
Removed from v.1.49  
changed lines
  Added in v.1.53

  ViewVC Help
Powered by ViewVC 1.1.22