Your first CESM run#
Create a case called b1850.basics 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/u/home/$USER
mkdir cases
Did you create a new case?
You can create a new case with the command:
./create_newcase --case /glade/u/home/$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 b1850.basics with the command:
cd /glade/u/home/$USER/code/my_cesm_code/cime/scripts
./create_newcase --case /glade/u/home/$USER/cases/b1850.basics --res f19_g17 --compset B1850
Case setup:
cd /glade/u/home/$USER/cases/b1850.basics
./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 derecho only.
Check the 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?
How long did the run go for?