next up previous contents
Next: 4.3 Model Input Variables Up: 4 Using CSIM4 Previous: 4.1 How to Build   Contents

4.2 Multiple Resubmissions

Multiple runs can be done with a single submission of the main script. To do this, two scripts are necessary. Set

 setenv RUNTYPE     startup
in a script called /scripts/$CASE/$CASE.run, where $CASE is set in this script. This is the default setup. Make a copy of this file and name it /scripts/$CASE/$CASE.run0. In /scripts/$CASE/$CASE.run, set
 setenv RUNTYPE     continue
The number of resubmissions can be entered in the file RESUBMIT. To start the run, submit $CASE.run0. When this is completed, $CASE.run will be submitted over and over by RESUBMIT, until the count reaches zero. The restart pointer files (see section 4.8.2.1are updated automatically, so no files need to be modified between submissions as long as the $RUNTYPE is 'continue'.

If you have used the GUI to set up the scripts, $CASE.run.startup will be the script to submit. $CASE.run will already have RUNTYPE set to continue and will be submitted when $CASE.run.startup is complete.



csm@ucar.edu