Extending your run

Extending your run#

Exercise: Run the same case, but for longer

The default value for a new case run length is 5 days. The run length is set by the XML variables STOP_OPTION and STOP_N. As 5 days is too short to produce a monthly history file, we will change these variables to run for a single month. In the next section you will learn more about xml files, but for now we will just provide the commands.

From your CASE directory, extend the run i1850_sp.basics with the command:

./xmlchange STOP_OPTION=nmonths
./xmlchange STOP_N=1

After you have changed these variables, submit the job again and check its status.

Click here for hints

Submit:

./case.submit

Check the status:

qstat -u $USER

List the contents of the Run directory

ls -lt /glade/derecho/scratch/$USER/i1850_sp.basics/run
Click here for the solution

Go to your i1850_sp.basics case directory:

cd /glade/u/home/$USER/cases/i1850_sp.basics

Changing xml files:

./xmlchange STOP_OPTION=nmonths
./xmlchange STOP_N=1

Do not make any other changes since we are running an out-of-the-box simulation.

Submit:

./case.submit

Check the job status:

qstat -u $USER

When the run is completed, look into the archive directory for: i1850_sp.basics.

Check that your archive directory on derecho (The path will be different on other machines):

cd /glade/derecho/scratch/$USER/archive/b1850.basics
ls 

Test your understanding#

  • Did your run complete successfully?

  • What sorts of files did you get as output and how are these different from before?