<p><b>dwj07@fsu.edu</b> 2012-03-20 11:15:55 -0600 (Tue, 20 Mar 2012)</p><p><br>
        -- BRANCH COMMIT --<br>
<br>
        Adding mustang's submit template script.<br>
<br>
        Adding an alloted_run_time variable to the driver script, which can change the amount of time a job will stay in the queue.<br>
</p><hr noshade><pre><font color="gray">Modified: branches/ocean_projects/ocean_test_cases_staging/ocean/hopper_submit_template.sh
===================================================================
--- branches/ocean_projects/ocean_test_cases_staging/ocean/hopper_submit_template.sh        2012-03-20 17:13:33 UTC (rev 1685)
+++ branches/ocean_projects/ocean_test_cases_staging/ocean/hopper_submit_template.sh        2012-03-20 17:15:55 UTC (rev 1686)
@@ -1,7 +1,7 @@
#!/bin/bash
#PBS -N run_name
#PBS -q regular
-#PBS -l walltime=20:00
+#PBS -l walltime=alloted_run_time
#PBS -l mppwidth=num_procs
cd working_dir
Modified: branches/ocean_projects/ocean_test_cases_staging/ocean/lobo_submit_template.sh
===================================================================
--- branches/ocean_projects/ocean_test_cases_staging/ocean/lobo_submit_template.sh        2012-03-20 17:13:33 UTC (rev 1685)
+++ branches/ocean_projects/ocean_test_cases_staging/ocean/lobo_submit_template.sh        2012-03-20 17:15:55 UTC (rev 1686)
@@ -1,6 +1,6 @@
#! /bin/bash
#MSUB -N run_name
-#MSUB -l walltime=20:00
+#MSUB -l walltime=alloted_run_time
#MSUB -l nodes=num_nodes:ppn=procs_per_node
#MSUB -d working_dir
Added: branches/ocean_projects/ocean_test_cases_staging/ocean/mustang_submit_template.sh
===================================================================
--- branches/ocean_projects/ocean_test_cases_staging/ocean/mustang_submit_template.sh         (rev 0)
+++ branches/ocean_projects/ocean_test_cases_staging/ocean/mustang_submit_template.sh        2012-03-20 17:15:55 UTC (rev 1686)
@@ -0,0 +1,7 @@
+#! /bin/bash
+#MSUB -N run_name
+#MSUB -l walltime=alloted_run_time
+#MSUB -l nodes=num_nodes:ppn=procs_per_node
+#MSUB -d working_dir
+
+mpirun -np num_procs ./ocean_model.exe
Modified: branches/ocean_projects/ocean_test_cases_staging/ocean/oceanTestCases.sh
===================================================================
--- branches/ocean_projects/ocean_test_cases_staging/ocean/oceanTestCases.sh        2012-03-20 17:13:33 UTC (rev 1685)
+++ branches/ocean_projects/ocean_test_cases_staging/ocean/oceanTestCases.sh        2012-03-20 17:15:55 UTC (rev 1686)
@@ -16,9 +16,9 @@
COMPILE_SET="gfortran"
MACHINE_NAME="lobo"
MACHINE_PPN="16"
+ALLOTED_RUN_TIME="01:00:00"
SUBMISSION_CMD=msub
PROC_LIST="2 4 8 16 32 64 128 256 512 1024 2048 4096"
-PROC_LIST="4"
########################
## Script starts here ##
@@ -136,7 +136,7 @@
                ## Generate submission script
                cat ${CUR_DIR}/${MACHINE_NAME}_submit_template.sh | sed "s/run_name/${CASE}_${NAME}/g" \
                        | sed "s/num_nodes/${NODES}/g" | sed "s/procs_per_node/${PPN}/g" | sed "s|working_dir|$RUN|g" \
-                        | sed "s/num_procs/$PROCS/g" > $CASE/submits/$NAME.sh
+                        | sed "s/num_procs/$PROCS/g" | sed "s/alloted_run_time/${ALLOTED_RUN_TIME}/g" > $CASE/submits/$NAME.sh
                ## Submit job, and retain job id for later use
                JOB_ID=`${SUBMISSION_CMD} ${CUR_DIR}/${CASE}/submits/$NAME.sh`
</font>
</pre>