--- mitgcm.org/front_content/make_summary 2007/09/17 16:01:33 1.31 +++ mitgcm.org/front_content/make_summary 2007/12/25 22:01:48 1.34 @@ -1,6 +1,6 @@ #! /usr/bin/env bash -# $Header: /home/ubuntu/mnt/e9_copy/mitgcm.org/front_content/make_summary,v 1.31 2007/09/17 16:01:33 jmc Exp $ +# $Header: /home/ubuntu/mnt/e9_copy/mitgcm.org/front_content/make_summary,v 1.34 2007/12/25 22:01:48 jmc Exp $ # # The purpose of this script is to create HTML summaries of the # directories produced by the "parse_emails" script. @@ -93,16 +93,18 @@ Notes Intel P4 "faulks" - Fedora Core 3 - Intel P4 "hemmingway" - Fedora Core 3 + Fedora Core 6 + Intel P4 "eddy" + Fedora Core 5 + + + Intel P4 Mosix Cluster "sea" + Fedora Core 6 - Intel P4 "eddy" - Fedora Core 5 AMD Opteron cluster "dolphin" SuSE SLES v8.1 @@ -149,9 +152,6 @@ @@ -183,7 +183,7 @@ MACHINES="$MACHINES edvir rays1 model columbia" MACHINES="$MACHINES xd1 batsi starp" -( cd $INDIR ; ls -1 -t ) > ./dir_all +( cd $INDIR ; ls -1 -t */summary.txt | sed 's/\/summary.txt//' ) > ./dir_all MALL=`cat ./dir_all | sed -e 's|_| |g' | awk '{print $2}' | sort | uniq` for madd in $MALL ; do @@ -229,14 +229,17 @@ fi ADJOINT= + RESTART=0 if test -r $dir/summary.txt ; then comm=`grep 'ADJOINT=true' $dir/summary.txt 2>/dev/null` eval $comm + RESTART=`grep -c 'test 2+2=4 summary' $dir/summary.txt` fi - if test "x$ADJOINT" = x ; then + if test "x$RESTART" = x0 ; then kind="forward" - else test "x$ADJOINT" = xtrue && kind="adjoint" + else + kind="restart" fi t_pass="--"