/[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.42 by jmc, Sun Oct 12 17:40:26 2014 UTC revision 1.45 by jmc, Wed Dec 16 23:29:11 2015 UTC
# Line 386  echo "     name     checked   comp    Di Line 386  echo "     name     checked   comp    Di
386  ( 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
387    
388  if test "x$MACHINES" = "x_All_" ; then  if test "x$MACHINES" = "x_All_" ; then
389    MACHINES="aces- acesgrid baudelaire dickens danton pleiades"    MACHINES="aces- acesgrid baudelaire danton iblade sx8 uv100 pleiades"
390    MACHINES="$MACHINES iblade sx8 uv100 stomp octopus svante saramago"    MACHINES="$MACHINES stomp octopus engaging saramago svante glacier"
391    
392    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`
393    for madd in $MALL ; do    for madd in $MALL ; do
# Line 457  for pname in $MACHINES ; do Line 457  for pname in $MACHINES ; do
457              echo "  discard $sdir : $type , of='$optf'" | tee -a $OUTPFIL              echo "  discard $sdir : $type , of='$optf'" | tee -a $OUTPFIL
458              cmis=`expr $cmis + 1`              cmis=`expr $cmis + 1`
459            elif test $num = '0' ; then            elif test $num = '0' ; then
460              echo "no previous test for:" $key | tee -a $OUTPFIL              echo "  dir='$sdir', type='$type', of='$optf':" | tee -a $OUTPFIL
461                echo "  --> no previous test matching key='$key'" | tee -a $OUTPFIL
462              cmis=`expr $cmis + 1`              cmis=`expr $cmis + 1`
463            else            else
464              pline=`grep "^$key " $TMP.plist | head -1`              pline=`grep "^$key " $TMP.plist | head -1`
# Line 561  rm -f $TMP.dir_all $TMP.slist $TMP.plist Line 562  rm -f $TMP.dir_all $TMP.slist $TMP.plist
562  if test $OUTPFIL = "TTT.$$" ; then rm -f $OUTPFIL ; fi  if test $OUTPFIL = "TTT.$$" ; then rm -f $OUTPFIL ; fi
563  if test "x$ADDRESS" != 'xnone' ; then  if test "x$ADDRESS" != 'xnone' ; then
564    echo ".. send $OUTPSUM to $ADDRESS"    echo ".. send $OUTPSUM to $ADDRESS"
565    mail -s $OUTPSUM $ADDRESS < $OUTPSUM    mail -s 'check_outp summary' $ADDRESS < $OUTPSUM
566  fi  fi
567  echo ".. cat $OUTPSUM"  echo ".. cat $OUTPSUM"
568  cat $OUTPSUM  cat $OUTPSUM

Legend:
Removed from v.1.42  
changed lines
  Added in v.1.45

  ViewVC Help
Powered by ViewVC 1.1.22