/[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.50 by jmc, Sun Feb 26 22:18:18 2017 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}'`

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

  ViewVC Help
Powered by ViewVC 1.1.22