--- mitgcm.org/front_content/make_summary 2008/01/19 16:18:54 1.36 +++ mitgcm.org/front_content/make_summary 2008/08/06 21:24:25 1.42 @@ -1,6 +1,6 @@ #! /usr/bin/env bash -# $Header: /home/ubuntu/mnt/e9_copy/mitgcm.org/front_content/make_summary,v 1.36 2008/01/19 16:18:54 jmc Exp $ +# $Header: /home/ubuntu/mnt/e9_copy/mitgcm.org/front_content/make_summary,v 1.42 2008/08/06 21:24:25 jmc Exp $ # # The purpose of this script is to create HTML summaries of the # directories produced by the "parse_emails" script. @@ -103,6 +103,10 @@ Fedora Core 5 Intel P4 "meander" Fedora Core 7 + Intel P4 "lagoon" + Fedora Core 8 + Intel P4 "hugo" + Fedora Core 9 ACESgrid Dell Xeon "aces"Fedora Core 2 @@ -150,10 +154,14 @@ AMD Opteron "starp" SuSE SLES 10 (AMD64) - Sun UltraSparc IV "rays1" + Sun UltraSparc IV "rays" Solaris 9 + + NEC SX-8 "sx8" + Super-UX Cray XD1 (AMD Opteron) "xd1" Cray HPC enhanced Linux 2.6.5 PowerPC970MP cluster "bigred" @@ -167,7 +175,7 @@ (Itanium II) "td187" SuSE SLES 10 HP test-drive - (PA-RISC 8700) "td192" HP-UX 11i 11.11 + (PA-RISC 8900) "td191" HP-UX 11i 11.11 HP test-drive (Itanium II) "td194" HP-UX 11i v3 @@ -199,9 +207,9 @@ color="#bbffdd" ncolor="#bbddff" -MACHINES="faulks aces eddy bay meander" -MACHINES="$MACHINES edvir rays1 model columbia" -MACHINES="$MACHINES xd1 batsi starp" +MACHINES="faulks aces eddy bay meander lagoon hugo" +MACHINES="$MACHINES columbia edvir rays sx8 xd1" +MACHINES="$MACHINES batsi starp" ( cd $INDIR ; ls -1 -t */summary.txt | sed 's/\/summary.txt//' ) > ./dir_all @@ -251,10 +259,12 @@ ADJOINT= RESTART=0 + NOI3E=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` + NOI3E=`grep -c "^run: .*testreport .* '-noieee' " $dir/summary.txt` fi if test "x$RESTART" = x0 ; then kind="forward" @@ -262,13 +272,16 @@ else kind="restart" fi + if test "x$NOI3E" = x1 ; then + OPTFILE="${OPTFILE}.noieee" + fi t_pass="--" t_tot="--" if test -r $dir/summary.txt ; then grep '^[YN] [YN] [YN] [YN]' $dir/summary.txt > ./all_tests 2>/dev/null t_tot=`cat ./all_tests | wc -l | sed -e 's| ||g'` - t_pass=`grep 'pass ' ./all_tests | wc -l | sed -e 's| ||g'` + t_pass=`grep '^Y Y Y Y' ./all_tests | grep 'pass ' | wc -l | sed -e 's| ||g'` fi rm -f ./all_tests # echo "${dir##*/} : $t_pass out of $t_tot"