Extending your run#
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 the 5 days is too short to produce a monthly history file we will change these 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 b1850.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/b1850.basics/run
Click here for the solution
Go to your b1850.basics case directory:
cd /glade/u/home/$USER/cases/b1850.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: b1850.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?