1: Control case#

NOTE: Building the control case for the POP challenge exercises is idential to building the control case in the CICE challenge exercises. If you have already completed the CICE challenge exercises you can skip this step.

Exercise: Run a control case

Create a case called g_control using the compset G at T62_g37 resolution.

Set the run length to 1 year.

Build and run the model. Since this is a control case, we want to build it “out of the box” without any modifications.

Click here for hints

How do I compile?

You can compile with the command:

qcmd -- ./case.build

How do I control the output?

Check the following links:

How do I check my solution?

When your run is completed, go to the archive directory.

(1) Check that your archive directory contains files pop.h., pop.h.nday1, etc

(2) Compare the contents of the h and h.nday1 files using ncdump.

ncdump -h gpop.pop.h.0001-01-01-00000.nc
ncdump -h gpop.pop.h.nday1.0001-01-01-00000.nc

(3) Look at the sizes of the files.

Click here for the solution

Create a new case g_control with the command:

cd /glade/work/$USER/code/my_cesm_code/cime/scripts/
./create_newcase --case /glade/work/$USER/cases/g_control  --compset G --res T62_g37 

Case setup:

cd ~/cases/g_control 
./case.setup

Change the run length:

./xmlchange STOP_N=1,STOP_OPTION=nyears

If needed, change job queue and account number. For instance:

./xmlchange JOB_QUEUE=regular,PROJECT=UESM0011

Build and submit:

qcmd -- ./case.build
./case.submit

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

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

cd /glade/scratch/$USER/archive/g_control/ocn/hist

ls