Multiple runs can be done with a single submission of the main script. To do this, two scripts are necessary. Set
setenv RUNTYPE startupin 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 continueThe 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 22.214.171.124are 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.