| 163 | 
  | 
  | 
| 164 | 
   </head> | 
   </head> | 
| 165 | 
   <body> | 
   <body> | 
| 166 | 
     <p>To enhance and maintain portability, the MITgcm model is tested  | 
     <p>The MITgcm model is tested  | 
| 167 | 
       (compiled and run) in an automated fashion on a varirety of  | 
       (compiled and run) in an automated fashion on a varirety of  | 
| 168 | 
       different machines.  The following is a summary of the MITgcm  | 
       different machines.  The following is a summary of the MITgcm  | 
| 169 | 
       testing/verification suite for the time period: <b>$PERIOD</b>.</p> | 
       verification suite for the time period: <b>$PERIOD</b>.</p> | 
| 170 | 
  | 
  | 
| 171 | 
     <p>The machine naming scheme is:<br /></p> | 
     <p>The machine naming scheme is:<br /></p> | 
| 172 | 
     <table align="center" cellpadding="0" border="0"> | 
     <table align="center" cellpadding="0" border="0"> | 
| 173 | 
       <tr bgcolor="#00cccc"> <td><b>Machine Type</b></td> <td><b>"Nickname"</b></td> | 
       <tr bgcolor="#00cccc"> <td><b>Machine Type</b></td> <td><b>Nickname</b></td> | 
| 174 | 
         <td><b>Notes</b></td> </tr> | 
         <td><b>Notes</b></td> </tr> | 
| 175 | 
  | 
  | 
| 176 | 
       <tr bgcolor="#bbffdd"> <td>Intel P4</td> <td>"faulks"</td>  | 
       <tr bgcolor="#bbffdd"> <td>Intel P4</td> <td>"faulks"</td>  | 
| 202 | 
       <tr bgcolor="#bbffdd"> <td> IBM POWER4 SP </td> <td>"bs"</td> | 
       <tr bgcolor="#bbffdd"> <td> IBM POWER4 SP </td> <td>"bs"</td> | 
| 203 | 
         <td><a href="http://www.scd.ucar.edu/computers/bluesky/">NCAR Bluesky | 
         <td><a href="http://www.scd.ucar.edu/computers/bluesky/">NCAR Bluesky | 
| 204 | 
         </a></td> </tr> | 
         </a></td> </tr> | 
| 205 | 
  | 
       <tr bgcolor="#bbddff"> <td> AMD Opteron </td> <td>"eaps"</td> | 
| 206 | 
  | 
         <td>SuSE Linux 9.0 (x86-64)</td> </tr> | 
| 207 | 
  | 
  | 
| 208 | 
       <!-- | 
       <!-- | 
| 209 | 
       <tr bgcolor="#bbddff"> <td>  </td> <td>""</td> | 
       <tr bgcolor="#bbddff"> <td>  </td> <td>""</td> | 
| 213 | 
     </table> | 
     </table> | 
| 214 | 
  | 
  | 
| 215 | 
     <p><br /> | 
     <p><br /> | 
| 216 | 
       The complete output for the testing/verification runs can be found in | 
       The complete output for the verification runs can be found in | 
| 217 | 
       <a href="http://mitgcm.org/testing/summary/">the summary pages</a>.  | 
       <a href="http://mitgcm.org/testing/summary/">the summary pages</a>.  | 
| 218 | 
       The latest reports are:</p> | 
       The latest reports are:</p> | 
| 219 | 
     <table align="center" cellpadding="0" cellspacing="0" border="0" width="95%"> | 
     <table align="center" cellpadding="0" cellspacing="0" border="0" width="95%"> | 
| 220 | 
 <tr bgcolor="#00cccc"> | 
 <tr bgcolor="#00cccc"> | 
| 221 | 
   <td height="0"> <b>"Nickname"</b> </td> | 
   <td height="0"> <b>Nickname</b> </td> | 
| 222 | 
   <td> <b>OPTFILE Name</b> </td> | 
   <td> <b>OPTFILE Name</b> </td> | 
| 223 | 
   <td> <b>Date (YYYYMMDD)</b> </td> | 
   <td> <b>Type</b> </td> | 
| 224 | 
  | 
   <td> <b>Date (yyyymmdd)</b> </td> | 
| 225 | 
  | 
   <td> <b>Summary</b> </td> | 
| 226 | 
 </tr> | 
 </tr> | 
| 227 | 
  | 
  | 
| 228 | 
 EOF | 
 EOF | 
| 230 | 
 color="#bbffdd" | 
 color="#bbffdd" | 
| 231 | 
 res_url="http://mitgcm.org/testing/" | 
 res_url="http://mitgcm.org/testing/" | 
| 232 | 
  | 
  | 
| 233 | 
 MACHINES="faulks shelley myrinet halem hopper lomax orion bf bs" | 
 MACHINES="faulks shelley myrinet eaps halem hopper lomax orion bf bs" | 
| 234 | 
  | 
  | 
| 235 | 
 ( cd $INDIR ; ls -1 ) > ./dir_all | 
 ( cd $INDIR ; ls -1 ) > ./dir_all | 
| 236 | 
  | 
  | 
| 256 | 
             OPTFILE=${OPTFILE##*/} | 
             OPTFILE=${OPTFILE##*/} | 
| 257 | 
         fi | 
         fi | 
| 258 | 
         if test "x$OPTFILE" = x -a -r "$dir/genmake_state" ; then | 
         if test "x$OPTFILE" = x -a -r "$dir/genmake_state" ; then | 
| 259 | 
             comm=`grep 'OPTFILE=' $dir/genmake_state` | 
             comm=`grep 'OPTFILE=' $dir/genmake_state 2>/dev/null` | 
| 260 | 
             eval $comm | 
             eval $comm | 
| 261 | 
             OPTFILE=${OPTFILE##*/} | 
             OPTFILE=${OPTFILE##*/} | 
| 262 | 
         fi | 
         fi | 
| 263 | 
         if test "x$OPTFILE" = x ; then | 
         if test "x$OPTFILE" = x ; then | 
| 264 | 
             comm=`grep '^# OPTFILE=' $dir/*/Makefile 2>/dev/null | head -1 | sed -e 's|^# ||'` | 
             comm=`grep '^# OPTFILE=' $dir/*/Makefile 2>/dev/null | head -1` | 
| 265 | 
  | 
             comm=${comm##*#} | 
| 266 | 
             eval $comm | 
             eval $comm | 
| 267 | 
             OPTFILE=${OPTFILE##*/} | 
             OPTFILE=${OPTFILE##*/} | 
| 268 | 
         fi | 
         fi | 
| 269 | 
         if test "x$OPTFILE" = x ; then | 
         if test "x$OPTFILE" = x ; then | 
| 270 | 
             OPTFILE="not_explicitly_specified" | 
             OPTFILE="not_explicitly_specified" | 
| 271 | 
         fi | 
         fi | 
| 272 | 
  | 
  | 
| 273 | 
  | 
         ADJOINT= | 
| 274 | 
  | 
         if test -r $dir/summary.txt ; then | 
| 275 | 
  | 
             comm=`grep 'ADJOINT=true' $dir/summary.txt 2>/dev/null` | 
| 276 | 
  | 
             eval $comm | 
| 277 | 
  | 
         fi | 
| 278 | 
  | 
         if test "x$ADJOINT" = x ; then | 
| 279 | 
  | 
             kind="forward" | 
| 280 | 
  | 
         else | 
| 281 | 
  | 
             test "x$ADJOINT" = xtrue  &&  kind="adjoint" | 
| 282 | 
  | 
         fi | 
| 283 | 
  | 
  | 
| 284 | 
         tokens=`echo $i | sed -e 's|_| |g'` | 
         tokens=`echo $i | sed -e 's|_| |g'` | 
| 285 | 
         echo "" > ./ms_tmp | 
         echo "" > ./ms_tmp | 
| 286 | 
         for tok in $tokens ; do | 
         for tok in $tokens ; do | 
| 288 | 
         done | 
         done | 
| 289 | 
         DAY=`cat ./ms_tmp | awk '(length($1)==8 && substr($1,0,3)=="200")'` | 
         DAY=`cat ./ms_tmp | awk '(length($1)==8 && substr($1,0,3)=="200")'` | 
| 290 | 
         rm -f ./ms_tmp | 
         rm -f ./ms_tmp | 
| 291 | 
         echo "$OPTFILE $DAY $i" >> ./mlist | 
  | 
| 292 | 
  | 
         echo "$OPTFILE$kind $DAY $OPTFILE $kind $i" >> ./mlist | 
| 293 | 
  | 
  | 
| 294 | 
     done | 
     done | 
| 295 | 
  | 
  | 
| 299 | 
     #  Do we have any data?  If so, create the latest pointer. | 
     #  Do we have any data?  If so, create the latest pointer. | 
| 300 | 
     num=`wc -l ./mlist | awk '{print $1}'` | 
     num=`wc -l ./mlist | awk '{print $1}'` | 
| 301 | 
     if test $num -gt 0 ; then | 
     if test $num -gt 0 ; then | 
| 302 | 
         optfiles=`cat ./mlist | cut -d " " -f 1 | sort | uniq` | 
         keys=`cat ./mlist | cut -d " " -f 1 | sort | uniq` | 
| 303 | 
  | 
  | 
| 304 | 
         for optf in $optfiles ; do | 
         for key in $keys ; do | 
| 305 | 
             ldir=`grep "^$optf " ./mlist | sort -r | head -1 | cut -d " " -f 3` | 
             tline=`grep "^$key " ./mlist | sort -r | head -1` | 
| 306 | 
  | 
             ldir=`echo $tline | cut -d " " -f 5` | 
| 307 | 
  | 
             kind=`echo $tline | cut -d " " -f 4` | 
| 308 | 
  | 
             optf=`echo $tline | cut -d " " -f 3` | 
| 309 | 
  | 
             DAY=`echo $tline | cut -d " " -f 2` | 
| 310 | 
             URL="results/$PERIOD/$ldir" | 
             URL="results/$PERIOD/$ldir" | 
| 311 | 
             cat <<EOF >>$LATEST | 
             cat <<EOF >>$LATEST | 
| 312 | 
 <tr bgcolor="$color"> | 
 <tr bgcolor="$color"> | 
| 313 | 
   <td height="0"><a href="$res_url$URL"> $mname </a></td> | 
   <td height="0"> $mname </td> | 
| 314 | 
   <td> $optf </td> | 
   <td> $optf </td> | 
| 315 | 
   <td> $DAY </td> | 
   <td> $kind </td> | 
| 316 | 
  | 
   <td> <a href="$res_url$URL">$DAY</a> </td> | 
| 317 | 
  | 
   <td> <a href="$res_url$URL/summary.txt"> summary.txt </a> </td> | 
| 318 | 
 </tr> | 
 </tr> | 
| 319 | 
 EOF | 
 EOF | 
| 320 | 
         done | 
         done |