<p><b>dwj07@fsu.edu</b> 2011-11-29 15:53:18 -0700 (Tue, 29 Nov 2011)</p><p><br>
        -- BRANCH COMMIT --<br>
<br>
        Adding checkout of mpas's trunk, as well as grabbing the revision number, and compile options and dumping into a file. This file is copied through all of the run directories.<br>
<br>
        Also adding the abilitty to specific the compile &quot;option&quot; from the makefile.<br>
</p><hr noshade><pre><font color="gray">Modified: branches/ocean_projects/performance_testing/performanceTest.sh
===================================================================
--- branches/ocean_projects/performance_testing/performanceTest.sh        2011-11-29 17:02:48 UTC (rev 1218)
+++ branches/ocean_projects/performance_testing/performanceTest.sh        2011-11-29 22:53:18 UTC (rev 1219)
@@ -8,8 +8,12 @@
 MESH_LIST=&quot;015kmL40  030kmL40  060kmL40  120kmL40&quot;
 # MESH_LIST=&quot;060kmL40  120kmL40&quot;
 
-OCEAN_MODEL_EXECUTABLE=&quot;/global/u2/m/mpeterse/ho/pgi/trunk/mpas/src/ocean_model.exe&quot;
-MESH_DIR=&quot;domains&quot;
+REPOSITORY_ADDRESS=&quot;https://svn-mpas-model.cgd.ucar.edu/trunk/mpas&quot;
+COMPILE_SET=&quot;ifort-serial&quot;
+MACHINE_NAME=&quot;lobo&quot;
+        
+OCEAN_MODEL_EXECUTABLE=&quot;mpas/src/ocean_model.exe&quot;
+MESH_DIR=&quot;domains_hopper&quot;
 SCRIPT_TEMPLATE=&quot;script_template&quot;
 
 CUR_DIR=`pwd`
@@ -18,6 +22,23 @@
 then
         mkdir -p runs
 
+        rm -f run_info
+        touch run_info
+
+        svn co $REPOSITORY_ADDRESS
+        cd mpas
+        make $COMPILE_SET CORE=ocean
+        REV=`svn info | grep &quot;Revision&quot;`
+        cd ..
+
+        echo &quot;Compile flags:&quot; &gt;&gt; run_info
+        grep &quot;$COMPILE_SET:&quot; mpas/Makefile -A 11 | grep &quot;[a-Z]&quot; &gt;&gt; run_info
+        echo &quot;&quot; &gt;&gt; run_info
+        echo &quot;Checkout path:&quot; &gt;&gt; run_info
+        echo &quot;$REPOSITORY_ADDRESS&quot; &gt;&gt; run_info
+        echo &quot;$REV&quot; &gt;&gt; run_info
+        echo &quot;$MACHINE_NAME&quot; &gt;&gt; run_info
+
         for MESH in $MESH_LIST
         do
                 for PROC in $PROC_LIST
@@ -27,6 +48,7 @@
                         cp -d $MESH_DIR/$MESH/*.nc $RUN_DIR/.
                         cp -d $MESH_DIR/$MESH/graph.* $RUN_DIR/.
                         cp -d $MESH_DIR/$MESH/namelist* $RUN_DIR/.
+                        cp -d $CUR_DIR/run_info $RUN_DIR/.
         
                         NODES=`expr $PROC / $PROCS_PER_NODE`
 
@@ -37,7 +59,7 @@
                                 -e &quot;s/num_nodes/$NODES/g&quot; \
                                 -e &quot;s/procs_per_node/$PROCS_PER_NODE/g&quot; \
                                 -e &quot;s|working_dir|${WORK_DIR}|&quot; \
-                                -e &quot;s|ocean_model_executable|$OCEAN_MODEL_EXECUTABLE|&quot; \
+                                -e &quot;s|ocean_model_executable|${CUR_DIR}/$OCEAN_MODEL_EXECUTABLE|&quot; \
                                 script_template.sh &gt; ${RUN_DIR}/${SUBMISSION_CMD}_submit.sh
 
                         chmod +x ${RUN_DIR}/${SUBMISSION_CMD}_submit.sh
@@ -121,6 +143,8 @@
         rm -f start_times.sh
         rm -f cancel_jobs.sh
         rm -f job_ids
+        rm -f run_info
+        rm -rf mpas
 
 else
         echo &quot;Invalid usage:&quot;

</font>
</pre>