--- mitgcm.org/front_content/make_summary 2004/07/08 21:32:07 1.18 +++ mitgcm.org/front_content/make_summary 2004/09/01 18:57:34 1.22 @@ -1,6 +1,6 @@ #! /usr/bin/env bash -# $Header: /home/ubuntu/mnt/e9_copy/mitgcm.org/front_content/make_summary,v 1.18 2004/07/08 21:32:07 edhill Exp $ +# $Header: /home/ubuntu/mnt/e9_copy/mitgcm.org/front_content/make_summary,v 1.22 2004/09/01 18:57:34 edhill Exp $ # # The purpose of this script is to create HTML summaries of the # directories produced by the "parse_emails" script. @@ -190,7 +190,7 @@ SGI Origin 2000 "hopper" NAS SGI Origin 2000 - SGI Origin 3000 "lomax" + SGI Origin 3000 "lomax"/"turing" NAS SGI Origin 3000 @@ -208,7 +208,7 @@ NCAR Bluesky AMD Opteron "adams" - RHEL v3 (AMD64) + Fedora Core 2 (AMD64) Sun UltraSparc "slough" Solaris 8 @@ -252,11 +252,24 @@ ncolor="#bbddff" res_url="http://mitgcm.org/testing/" -MACHINES="faulks shelley myrinet eaps halem hopper lomax orion bf bs slough sea" -MACHINES="$MACHINES eddy adams dolphin hemmingway altix350" +MACHINES="faulks shelley myrinet eaps halem columbia" +MACHINES="$MACHINES hopper lomax turing orion bf bs slough sea" +MACHINES="$MACHINES eddy adams dolphin hemmingway altix350" ( cd $INDIR ; ls -1 -t ) > ./dir_all +MALL=`cat ./dir_all | sed -e 's|_| |g' | awk '{print $2}' | sort | uniq` +for madd in $MALL ; do + present=0 + for m in $MACHINES ; do + echo $madd | grep $m > /dev/null 2>&1 + RETVAL=$? + test $RETVAL = 0 && present=1 + continue + done + test $present = 0 && MACHINES="$MACHINES $madd" +done + for mname in $MACHINES ; do echo " $mname" @@ -279,7 +292,7 @@ OPTFILE=${OPTFILE##*/} fi if test "x$OPTFILE" = x ; then - comm=`grep '^# OPTFILE=' $dir/*/Makefile 2>/dev/null | head -1` + comm=`grep '^# OPTFILE=' $dir/*/Makefile* 2>/dev/null | head -1` comm=${comm##*#} eval $comm OPTFILE=${OPTFILE##*/}