--- mitgcm.org/front_content/make_summary 2006/04/06 13:24:29 1.28
+++ mitgcm.org/front_content/make_summary 2007/12/25 17:38:26 1.32
@@ -1,6 +1,6 @@
#! /usr/bin/env bash
-# $Header: /home/ubuntu/mnt/e9_copy/mitgcm.org/front_content/make_summary,v 1.28 2006/04/06 13:24:29 edhill Exp $
+# $Header: /home/ubuntu/mnt/e9_copy/mitgcm.org/front_content/make_summary,v 1.32 2007/12/25 17:38:26 jmc Exp $
#
# The purpose of this script is to create HTML summaries of the
# directories produced by the "parse_emails" script.
@@ -19,89 +19,6 @@
exit 1
}
-old_summary()
-{
- # Create the old-style summary file for $PERIOD
- echo -n "Creating the summary file for the period \"$PERIOD\" ... "
- cat > $OUTFILE << EOF
-
-
-
-
- MITgcm testing summary
-
-
-
-
-
-
-EOF
-
- # all_files=`find $INDIR -name summary.txt`
- all_files=`( cd $INDIR ; find . -name summary.txt )`
-
- for f in $all_files ; do
-
- file=$INDIR"/"${f/.\//}
- grep "^fresults" $file > /dev/null 2>&1
- RETVAL=$?
- if test "x$RETVAL" != x0 ; then
- continue
- fi
-
- url=`echo $file | sed -e 's|/u/edhill/www|http://mitgcm.org/~edhill|'`
- url=`echo $url | sed -e 's|summary.txt||'`
- MACH=
- fresults=
- color="#eeeeee"
-
- source $file
- echo $fresults | grep FAIL > /dev/null 2>&1
- if test "x$?" = x0 ; then
- color="#ff99ff"
- fi
- echo $fresults | grep pass > /dev/null 2>&1
- if test "x$?" = x0 ; then
- color="#99ffff"
- fi
-
- gm_state=`echo $file | sed -e 's/summary.txt/genmake_state/g'`
- if test -r $gm_state ; then
- grep '^OPTFILE=' $gm_state > ./tmp_state
- source ./tmp_state
- else
- optfile="unknown"
- fi
- optfile=`echo $OPTFILE | awk -F '/' '{print $NF}'`
-
- echo "" >> $OUTFILE
- echo "$MACH | " >> $OUTFILE
- echo "$DATE | " >> $OUTFILE
- for i in $fresults ; do
- if test "x$i" = xN ; then
- echo -n "$i | " >> $OUTFILE
- else
- echo -n "$i | " >> $OUTFILE
- fi
- done
- echo "$optfile | " >> $OUTFILE
- echo "
" >> $OUTFILE
-
- done
-
- cat >> $OUTFILE << EOF
-
-
-
-
-EOF
-
- chmod a+r $OUTFILE
- echo "done"
-}
-
-
# defaults
PERIOD=`date +%Y`"_"`date +%m`
@@ -228,7 +145,7 @@
Mac OSX 10.3 (gcc 3.4) |
ACESgrid Dell
- Xeon | "itrda" | Fedora Core 2 |
+ Xeon "aces" | Fedora Core 2 |