<p><b>dwj07@fsu.edu</b> 2012-02-28 09:52:30 -0700 (Tue, 28 Feb 2012)</p><p><br>
        -- BRANCH COMMIT --<br>
<br>
        Updating oceanTestCases scripts to be compatibile with the new Makefile version.<br>
        It still works with the old version as well, so any branch (or the trunk) should work.<br>
</p><hr noshade><pre><font color="gray">Modified: branches/ocean_projects/ocean_test_cases_staging/ocean/oceanTestCases.sh
===================================================================
--- branches/ocean_projects/ocean_test_cases_staging/ocean/oceanTestCases.sh        2012-02-28 15:44:31 UTC (rev 1541)
+++ branches/ocean_projects/ocean_test_cases_staging/ocean/oceanTestCases.sh        2012-02-28 16:52:30 UTC (rev 1542)
@@ -18,7 +18,7 @@
 MACHINE_PPN=&quot;16&quot;
 SUBMISSION_CMD=msub
 PROC_LIST=&quot;2 4 8 16 32 64 128 256 512 1024 2048 4096&quot;
-PROC_LIST=&quot;2 4&quot;
+PROC_LIST=&quot;2 4 8&quot;
 
 ########################
 ## Script starts here ##
@@ -57,12 +57,16 @@
         cd ..
 
         ## Make a variable containing the make options used to build mpas
-        MAKE_OPTS=`grep &quot;$COMPILE_SET:&quot; mpas/Makefile -A 11 | tail -n 11 | grep &quot;[a-zA-Z]&quot;`
+        MAKE_OPTS=`sed -n &quot;/${COMPILE_SET}:/,/:/p&quot; mpas/Makefile | head -n -2 \
+                 | grep &quot;_PARALLEL&quot; -v | grep &quot;_DEBUG&quot; -v | sed &quot;s/FC_SERIAL/SFC/g&quot; \
+                 | sed &quot;s/CC_SERIAL/SCC/g&quot; | sed &quot;s/_OPT//g&quot; | grep &quot;SERIAL&quot; -v \
+                 | grep &quot;DEBUG&quot; -v | grep &quot;USE_PAPI&quot; -v | tail -n +2`
 
         ## Create the run_info file, which will be used later to identify what
         ## revision the run was performed from
         echo &quot;Compile flags:&quot; &gt;&gt; .run_info
-        grep &quot;$COMPILE_SET:&quot; mpas/Makefile -A 11 | grep &quot;[a-zA-Z]&quot; &gt;&gt; .run_info
+        echo &quot;$COMPILE_SET:&quot; &gt;&gt; .run_info
+        sed -n &quot;/${COMPILE_SET}:/,/:/p&quot; mpas/Makefile | head -n -2 | tail -n +2 &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

</font>
</pre>