| 10 |
{ |
{ |
| 11 |
echo |
echo |
| 12 |
echo "Usage: $0 [OPTIONS]" |
echo "Usage: $0 [OPTIONS]" |
| 13 |
echo |
echo |
| 14 |
echo "where possible OPTIONS are:" |
echo "where possible OPTIONS are:" |
| 15 |
echo " (-help|-h) print usage" |
echo " (-help|-h) print usage" |
| 16 |
echo " (-date |-d )PERIOD run for PERIOD=\"YYYY_MM\"" |
echo " (-date |-d )PERIOD run for PERIOD=\"YYYY_MM\"" |
| 17 |
echo " [def=\"$PERIOD\"]" |
echo " [def=\"$PERIOD\"]" |
| 18 |
echo |
echo |
| 19 |
exit 1 |
exit 1 |
| 20 |
} |
} |
| 21 |
|
|
| 85 |
color="#bbffdd" |
color="#bbffdd" |
| 86 |
ncolor="#bbddff" |
ncolor="#bbddff" |
| 87 |
|
|
| 88 |
MACHINES="faulks meander aces baudelaire dickens danton beagle harbor" |
MACHINES="faulks meander aces- acesgrid baudelaire dickens danton beagle harbor" |
| 89 |
MACHINES="$MACHINES pleiades iblade rays solasrv sx8" |
MACHINES="$MACHINES pleiades iblade rays solasrv sx8" |
| 90 |
MACHINES="$MACHINES trane dodongo dokdo bigred" |
MACHINES="$MACHINES trane dodongo dokdo stomp bigred" |
| 91 |
|
|
| 92 |
( cd $INDIR ; ls -1 -t */summary.txt | sed 's/\/summary.txt//' ) > ./dir_all |
( cd $INDIR ; ls -1 -t */summary.txt | sed 's/\/summary.txt//' ) > ./dir_all |
| 93 |
|
|
| 107 |
for mname in $MACHINES ; do |
for mname in $MACHINES ; do |
| 108 |
|
|
| 109 |
echo " $mname" |
echo " $mname" |
| 110 |
|
sname=`echo $mname | sed 's/-$//'` |
| 111 |
|
|
| 112 |
dir_list=`grep $mname ./dir_all` |
dir_list=`grep $mname ./dir_all` |
| 113 |
echo -n "" > ./mlist |
echo -n "" > ./mlist |
| 138 |
|
|
| 139 |
ADJOINT= |
ADJOINT= |
| 140 |
RESTART=0 |
RESTART=0 |
| 141 |
NOI3E=0 |
FAST=0 |
| 142 |
|
DVLP=0 |
| 143 |
|
MPI=0 |
| 144 |
MTH=0 |
MTH=0 |
| 145 |
UR4=0 |
UR4=0 |
| 146 |
if test -r $dir/summary.txt ; then |
if test -r $dir/summary.txt ; then |
| 147 |
comm=`grep 'ADJOINT=true' $dir/summary.txt 2>/dev/null` |
comm=`grep 'ADJOINT=true' $dir/summary.txt 2>/dev/null` |
| 148 |
eval $comm |
eval $comm |
| 149 |
RESTART=`grep -c 'test 2+2=4 summary' $dir/summary.txt` |
RESTART=`grep -c 'test 2+2=4 summary' $dir/summary.txt` |
| 150 |
NOI3E=`grep -c "^run: .*testreport.* '*-noieee'*" $dir/summary.txt` |
FAST=`grep -c "^run: .*testreport.* '*-fast'*" $dir/summary.txt` |
| 151 |
|
if test "x$FAST" = x0 ; then |
| 152 |
|
FAST=`grep -c "^run: .*testreport.* '*-noieee'*" $dir/summary.txt` |
| 153 |
|
fi |
| 154 |
|
DVLP=`grep -c "^run: .*testreport.* '*-devel'*" $dir/summary.txt` |
| 155 |
|
MPI=`grep -c "^run: .*testreport.* -mpi " $dir/summary.txt` |
| 156 |
|
if test "x$MPI" = x0 ; then |
| 157 |
|
MPI=`grep -c "^run: .*testreport.* -MPI " $dir/summary.txt` |
| 158 |
|
fi |
| 159 |
MTH=`grep -c "^run: .*testreport.* -mth " $dir/summary.txt` |
MTH=`grep -c "^run: .*testreport.* -mth " $dir/summary.txt` |
| 160 |
UR4=`grep -c "^run: .*testreport.* -use_r4 " $dir/summary.txt` |
UR4=`grep -c "^run: .*testreport.* -use_r4 " $dir/summary.txt` |
| 161 |
if test "x$UR4" = x0 ; then |
if test "x$UR4" = x0 ; then |
| 171 |
if test "x$UR4" = x1 ; then |
if test "x$UR4" = x1 ; then |
| 172 |
OPTFILE="${OPTFILE}.use_r4" |
OPTFILE="${OPTFILE}.use_r4" |
| 173 |
fi |
fi |
| 174 |
|
if test "x$MPI" = x1 ; then |
| 175 |
|
yy=`echo $OPTFILE | grep -c '+mpi'` |
| 176 |
|
if test $yy = 0 ; then OPTFILE="${OPTFILE}+mpi" ; fi |
| 177 |
|
fi |
| 178 |
if test "x$MTH" = x1 ; then |
if test "x$MTH" = x1 ; then |
| 179 |
yy=`echo $OPTFILE | grep -c '+mth$'` |
yy=`echo $OPTFILE | grep -c '+mth$'` |
| 180 |
if test $yy = 0 ; then OPTFILE="${OPTFILE}+mth" ; fi |
if test $yy = 0 ; then OPTFILE="${OPTFILE}+mth" ; fi |
| 181 |
fi |
fi |
| 182 |
if test "x$NOI3E" = x1 ; then |
if test "x$FAST" = x1 ; then |
| 183 |
OPTFILE="${OPTFILE}.noieee" |
OPTFILE="${OPTFILE}.fast" |
| 184 |
|
fi |
| 185 |
|
if test "x$DVLP" = x1 ; then |
| 186 |
|
OPTFILE="${OPTFILE}.dvlp" |
| 187 |
fi |
fi |
| 188 |
|
|
| 189 |
t_pass="--" |
t_pass="--" |
| 232 |
URL="results/$PERIOD/$ldir" |
URL="results/$PERIOD/$ldir" |
| 233 |
cat <<EOF >>$OUTFILE |
cat <<EOF >>$OUTFILE |
| 234 |
<tr bgcolor="$color"> |
<tr bgcolor="$color"> |
| 235 |
<td height="0"> $mname </td> |
<td height="0"> $sname </td> |
| 236 |
<td> $optf </td> |
<td> $optf </td> |
| 237 |
<td> $kind </td> |
<td> $kind </td> |
| 238 |
<td> <a href="$res_url$URL">$DAY</a> </td> |
<td> <a href="$res_url$URL">$DAY</a> </td> |