--- mitgcm.org/scripts/check_outp 2009/07/16 18:17:25 1.18 +++ mitgcm.org/scripts/check_outp 2010/03/22 14:45:20 1.21 @@ -1,6 +1,6 @@ #! /usr/bin/env bash -# $Header: /home/ubuntu/mnt/e9_copy/mitgcm.org/scripts/check_outp,v 1.18 2009/07/16 18:17:25 jmc Exp $ +# $Header: /home/ubuntu/mnt/e9_copy/mitgcm.org/scripts/check_outp,v 1.21 2010/03/22 14:45:20 jmc Exp $ # # The purpose of this script is to compare # the latest output with the previous one (from the same platform with @@ -267,9 +267,9 @@ ( cd $INDIR ; ls -1 -t */summary.txt | sed 's/\/summary.txt//' ) > ./dir_all if test "x$MACHINES" = "x_All_" ; then - MACHINES="faulks meander lagoon harbor dickens danton aces" - MACHINES="$MACHINES beagle columbia edvir rays solasrv sx8 xd1" - MACHINES="$MACHINES bigred starp" + MACHINES="faulks meander lagoon aces dickens danton beagle harbor" + MACHINES="$MACHINES columbia pleiades iblade rays solssrv solasrv sx8" + MACHINES="$MACHINES trane dodongo dokdo bigred" MALL=`cat ./dir_all | sed -e 's|_| |g' | awk '{print $2}' | sort | uniq` for madd in $MALL ; do @@ -347,18 +347,14 @@ | sed 's/ OPTFILE=.*\// OPTFILE=/g' \ | grep -v '^[A-S][a-t]* time: ' > tmpfp #-- re-order list of exp (according to local "sort" order) - listD=`grep '^[YN] [YN] [YN] [YN]' tmpfs \ - | sed 's/^[YN] .*pass //' | sed 's/^[YN] .*FAIL //' \ - | sed 's/^[YN] .*N\/O //' | sort` + listD=`grep '^[YN] [YN] [YN] [YN]' tmpfs | awk '{print $NF}' | sort` for xx in $listD do sed "/ $xx\$/d" tmpfs > tmpfn sed -n "/ $xx\$/p" tmpfs >> tmpfn mv tmpfn tmpfs done - listD=`grep '^[YN] [YN] [YN] [YN]' tmpfp \ - | sed 's/^[YN] .*pass //' | sed 's/^[YN] .*FAIL //' \ - | sed 's/^[YN] .*N\/O //' | sort` + listD=`grep '^[YN] [YN] [YN] [YN]' tmpfp | awk '{print $NF}' | sort` for xx in $listD do sed "/ $xx\$/d" tmpfp > tmpfn