/[MITgcm]/mitgcm.org/front_content/make_summary
ViewVC logotype

Diff of /mitgcm.org/front_content/make_summary

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.53 by jmc, Mon Jun 22 23:09:05 2009 UTC revision 1.63 by jmc, Fri Mar 19 16:06:37 2010 UTC
# Line 19  usage() Line 19  usage()
19      exit 1      exit 1
20  }  }
21    
22    export LC_ALL="en_US.UTF-8"
23  CURR_PER=`date +%Y`"_"`date +%m`  CURR_PER=`date +%Y`"_"`date +%m`
24  # defaults  # defaults
25  PERIOD=$CURR_PER  PERIOD=$CURR_PER
# Line 66  res_url="http://mitgcm.org/testing/" Line 67  res_url="http://mitgcm.org/testing/"
67  #  Create the links in $OUTFILE :  #  Create the links in $OUTFILE :
68  echo "Creating the \"latest\" file for each machine: "  echo "Creating the \"latest\" file for each machine: "
69  the_date=`date`  the_date=`date`
 cat > $OUTFILE << EOF  
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"  
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
   
 <html xmlns="http://www.w3.org/1999/xhtml">  
   <head>  
     <title>MITgcm testing summary</title>  
     <meta name="author" content="Ed Hill" />  
   
     <!-- <base href="http://mitgcm.org/testing/summary/" /> -->  
   
     <!-- Hinting for menu generation -->  
     <meta name="add_name_0" content="Testing" />  
     <meta name="add_name_1" content="" />  
     <meta name="add_name_2" content="" />  
     <meta name="add_title" content="Testing" />  
     <!-- Hinting for menu generation -->  
   
   </head>  
   <body>  
     <p>The MITgcm model is tested  
       (compiled and run) in an automated fashion on a varirety of  
       different machines.  The following is a summary of the MITgcm  
       verification suite for the time period: <b>$PERIOD</b>.</p>  
   
     <p>The machine naming scheme is:<br /></p>  
     <table align="center" cellpadding="0" border="0">  
       <tr bgcolor="#00cccc"> <td><b>Machine Type</b></td> <td><b>Nickname</b></td>  
         <td><b>Notes</b></td> </tr>  
   
       <tr bgcolor="#bbddff">  
         <td>Intel P4</td> <td>"faulks"</td> <td>Fedora Core 6 </td> </tr>  
       <tr bgcolor="#bbffdd">  
         <td> Intel P4 </td> <td>"meander"</td> <td>Ubuntu 8.10 </td> </tr>  
       <tr bgcolor="#bbddff">  
         <td> Intel P4 </td> <td>"lagoon"</td> <td>Fedora 8 </td> </tr>  
       <tr bgcolor="#bbffdd">  
         <td> Opteron Barcelona </td> <td>"harbor"</td> <td>Ubuntu 8.04 LTS (x86_64)</td> </tr>  
       <tr bgcolor="#bbddff">  
         <td> Intel Xeon (Woodcrest) </td> <td>"dickens"</td> <td>Fedora 10 (x86_64)</td> </tr>  
       <tr bgcolor="#bbffdd">  
         <td> Intel Core 2 duo </td> <td>"danton"</td> <td>Fedora 8 (x86_64)</td> </tr>  
   
       <tr bgcolor="#bbddff">  
         <td> <a href="http://acesgrid.org">ACESgrid Dell Xeon</a> </td>  
         <td>"aces"</td><td>Fedora Core 2</td> </tr>  
   
       <tr bgcolor="#bbffdd">  
         <td><a href="http://www.darwinproject.mit.edu/wiki/">Intel Xeon (Woodcrest) cluster</a>  
         </td> <td>"beagle"</td><td>Rocks 5.2 (x86_64)</td> </tr>  
   
       <!--  
       <tr bgcolor="#bbffdd">  
         <td> Intel P3/P4 Beowulf </td> <td>"myrinet"</td>  
         <td><a href="http://mitgcm.org/projects/MITGCM_CLUSTER/">MITgcm cluster  
         facility </a></td> </tr>  
       <tr bgcolor="#bbddff">  
         <td>Alpha cluster</td> <td>"halem"</td>  
         <td><a href="http://nccstag.gsfc.nasa.gov/halem/quickstart_halem.html">  
         NASA NCCS Halem</a></td> </tr>  
       <tr bgcolor="#bbffdd">  
         <td> SGI Origin 2000 </td> <td>"hopper"</td>  
         <td><a href="http://www.nas.nasa.gov/User/Systemsdocs/O2K/o2k.html">  
         NAS SGI Origin 2000 </a></td> </tr>  
       <tr bgcolor="#bbddff">  
         <td> SGI Origin 3000</td><td>"lomax"/"turing"</td>  
         <td><a href="http://www.nas.nasa.gov/User/Systemsdocs/O3K/o3k.html">  
         NAS SGI Origin 3000 </a></td> </tr>  
       -->  
   
       <tr bgcolor="#bbddff">  
         <td> SGI Altix Cluster </td> <td>"columbia"</td>  
         <td><a href="http://www.nas.nasa.gov/Resources/Systems/columbia.html">  
         NAS Columbia </a></td> </tr>  
   
       <tr bgcolor="#bbffdd">  
         <td> IBM POWER4 SP </td> <td>"edvir"</td> <td> AIX 5.2 </td> </tr>  
       <tr bgcolor="#bbddff">  
         <td> IBM POWER5+ SP </td> <td>"blueice"</td>  
         <td><a href="http://www.scd.ucar.edu/computers/blueice/">NCAR Blueice  
         </a></td> </tr>  
   
       <tr bgcolor="#bbffdd">  
         <td> AMD Opteron </td> <td>"starp"</td> <td>SuSE SLES 10 (AMD64)</td> </tr>  
   
       <tr bgcolor="#bbddff">  
         <td> AMD Opteron </td> <td>"solasrv"</td> <td>Solaris 10</td> </tr>  
       <tr bgcolor="#bbffdd">  
         <td> Sun UltraSparc IV </td> <td>"rays"</td> <td>Solaris 10</td> </tr>  
       <!--  
         <td> Sun UltraSparc IV </td> <td>"solssrv"</td> <td>Solaris 10</td> </tr>  
         <td> Sun UltraSparc IV </td> <td>"model"</td> <td>Solaris 9</td> </tr>  
       -->  
       <tr bgcolor="#bbddff">  
         <td> NEC SX-8 </td> <td>"sx8"</td> <td>Super-UX </td> </tr>  
       <tr bgcolor="#bbffdd">  
         <td> Cray XD1 (AMD Opteron) </td> <td>"xd1"</td>  
         <td>Cray HPC enhanced Linux 2.6.5 </td> </tr>  
       <tr bgcolor="#bbddff">  
         <td> PowerPC970MP cluster </td> <td>"bigred"</td>  
         <td>SuSE SLES 9 (PPC) </td> </tr>  
   
       <!--  
       <tr bgcolor="#bbffdd">  
         <td><a href="http://www.testdrive.hp.com/current.shtml"> HP test-drive </a>  
         (Pentium III) </td> <td>"td152"</td> <td> FreeBSD 6.2 </td> </tr>  
       <tr bgcolor="#bbddff">  
         <td><a href="http://www.testdrive.hp.com/current.shtml"> HP test-drive </a>  
         (Itanium II) </td> <td>"td187"</td> <td>SuSE SLES 10 </td> </tr>  
       <tr bgcolor="#bbffdd">  
         <td><a href="http://www.testdrive.hp.com/current.shtml"> HP test-drive </a>  
         (PA-RISC 8900) </td> <td>"td191"</td> <td> HP-UX 11i 11.11 </td> </tr>  
       <tr bgcolor="#bbddff">  
         <td><a href="http://www.testdrive.hp.com/current.shtml"> HP test-drive </a>  
         (Itanium II) </td> <td>"td194"</td> <td> HP-UX 11i v3 </td> </tr>  
       <tr bgcolor="#bbffdd">  
       -->  
   
       <!--  
       <tr bgcolor="#bbddff"> <td>  </td> <td>""</td>  
         <td></td> </tr>  
       -->  
70    
71      </table>  sed "s/_PERIOD/$PERIOD/" summary_head > $OUTFILE
72    cat <<EOF >>$OUTFILE
     <p><br />  
       The complete output for the verification runs can be found in  
       <a href="http://mitgcm.org/testing/summary/">the summary pages</a>  
       and the <a href="http://mitgcm.org/testing/results/">testing archives</a>.  
       The latest reports are:</p>  
73      <table align="center" cellpadding="0" cellspacing="0" border="0" width="95%">      <table align="center" cellpadding="0" cellspacing="0" border="0" width="95%">
74  <tr bgcolor="#00cccc">  <tr bgcolor="#00cccc">
75    <td height="0"> <b>Nickname</b> </td>    <td height="0"> <b>Nickname</b> </td>
# Line 211  EOF Line 85  EOF
85  color="#bbffdd"  color="#bbffdd"
86  ncolor="#bbddff"  ncolor="#bbddff"
87    
88  MACHINES="faulks meander lagoon harbor dickens danton aces"  MACHINES="faulks meander lagoon aces dickens danton beagle harbor"
89  MACHINES="$MACHINES beagle columbia edvir rays solssrv solasrv sx8 xd1"  MACHINES="$MACHINES columbia pleiades iblade rays solssrv solasrv sx8"
90  MACHINES="$MACHINES bigred starp"  MACHINES="$MACHINES trane dodongo dokdo 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    
# Line 265  for mname in $MACHINES ; do Line 139  for mname in $MACHINES ; do
139          RESTART=0          RESTART=0
140          NOI3E=0          NOI3E=0
141          MTH=0          MTH=0
142            UR4=0
143          if test -r $dir/summary.txt ; then          if test -r $dir/summary.txt ; then
144              comm=`grep 'ADJOINT=true' $dir/summary.txt 2>/dev/null`              comm=`grep 'ADJOINT=true' $dir/summary.txt 2>/dev/null`
145              eval $comm              eval $comm
146              RESTART=`grep -c 'test 2+2=4 summary' $dir/summary.txt`              RESTART=`grep -c 'test 2+2=4 summary' $dir/summary.txt`
147              NOI3E=`grep -c "^run: .*testreport.* '*-noieee'* " $dir/summary.txt`              NOI3E=`grep -c "^run: .*testreport.* '*-noieee'*" $dir/summary.txt`
148              MTH=`grep -c "^run: .*testreport.* -mth " $dir/summary.txt`              MTH=`grep -c "^run: .*testreport.* -mth " $dir/summary.txt`
149                UR4=`grep -c "^run: .*testreport.* -use_r4 " $dir/summary.txt`
150                if test "x$UR4" = x0 ; then
151                   UR4=`grep -c "^run: .*testreport.* -ur4 " $dir/summary.txt`
152                fi
153          fi          fi
154          if test "x$RESTART" = x0 ; then          if test "x$RESTART" = x0 ; then
155              kind="forward"              kind="forward"
# Line 278  for mname in $MACHINES ; do Line 157  for mname in $MACHINES ; do
157          else          else
158              kind="restart"              kind="restart"
159          fi          fi
160          if test "x$NOI3E" = x1 ; then          if test "x$UR4" = x1 ; then
161              OPTFILE="${OPTFILE}.noieee"              OPTFILE="${OPTFILE}.use_r4"
162          fi          fi
163          if test "x$MTH" = x1 ; then          if test "x$MTH" = x1 ; then
164              yy=`echo $OPTFILE | grep -c 'mth$'`              yy=`echo $OPTFILE | grep -c '+mth$'`
165              if test $yy = 0 ; then OPTFILE="${OPTFILE}+mth" ; fi              if test $yy = 0 ; then OPTFILE="${OPTFILE}+mth" ; fi
166          fi          fi
167            if test "x$NOI3E" = x1 ; then
168                OPTFILE="${OPTFILE}.noieee"
169            fi
170    
171          t_pass="--"          t_pass="--"
172          t_tot="--"          t_tot="--"
# Line 301  for mname in $MACHINES ; do Line 183  for mname in $MACHINES ; do
183          for tok in $tokens ; do          for tok in $tokens ; do
184              echo $tok >> ./ms_tmp              echo $tok >> ./ms_tmp
185          done          done
186          DAY=`cat ./ms_tmp | awk '(length($1)==8 && substr($1,0,3)=="200")'`          DAY=`cat ./ms_tmp | awk '(length($1)==8 && substr($1,0,2)=="20")'`
187          rm -f ./ms_tmp          rm -f ./ms_tmp
188    
189          echo "$OPTFILE$kind $DAY $OPTFILE $kind $i $t_pass:$t_tot" >> ./mlist          echo "$OPTFILE$kind $DAY $OPTFILE $kind $i $t_pass:$t_tot" >> ./mlist
# Line 353  cat >> $OUTFILE << EOF Line 235  cat >> $OUTFILE << EOF
235      </table>      </table>
236    
237  <p>Examples of the scripts used for these testing runs can be obtained from: <a  <p>Examples of the scripts used for these testing runs can be obtained from: <a
238  href="http://mitgcm.org/cgi-bin/viewcvs.cgi/MITgcm/tools/example_scripts/">  href="http://mitgcm.org/viewvc/MITgcm/MITgcm/tools/example_scripts/">
239  MITgcm/tools/example_scripts</a>.</p>  MITgcm/tools/example_scripts</a>.</p>
240    
241    

Legend:
Removed from v.1.53  
changed lines
  Added in v.1.63

  ViewVC Help
Powered by ViewVC 1.1.22