Your first CESM run#
Create a case called b.day1.0 using the compset B1850
at f19_g17
resolution.
Check the status of the run after submitting.
Click here for hints
Is my workspace set up?
Did you already create a cases
directory where you will put all new cases
cd /glade/work/$USER
mkdir cases
Did you create a new case?
You can create a new case with the command:
./create_newcase --case /glade/work/$USER/cases/CASE --res RES --compset COMPSET
Make sure you use the correct information for the CASE, RES, and COMPSET inputs.
Did you set up the case?
You can invoke case set up as follows:
./case.setup
How do I compile?
You can compile with the command:
qcmd -- ./case.build
How do I check my job status?
You can check job status using the command:
qstat -u $USER
Click here for the solution
Create a new case b.day1.0 with the command:
cd /glade/work/$USER/code/my_cesm_code/cime/scripts
./create_newcase --case /glade/work/$USER/cases/b.day1.0 --res f19_g17 --compset B1850
Case setup:
cd /glade/work/$USER/cases/b.day1.0
./case.setup
Do not make any other changes since we are running an out-of-the-box simulation.
Build and submit:
qcmd -- ./case.build
./case.submit
Remember that qcmd
is used on Cheyenne only.
Check the status:
qstat -u $USER
When the run is completed, look into the archive directory for: b.day1.0.
Check that your archive directory on cheyenne (The path will be different on other machines):
cd /glade/scratch/$USER/archive/b.day1.0
ls
Test your understanding#
Did your run complete successfully?
What sorts of files did you get as output?
How long did the run go for?