Running long experiments (14 months)


As for the previous exercice, you will work in pairs for this practical and you will analyze the model outputs in pairs.
You will be using your previous experiment ~/cesm_case/f2000.T31T31.$EXPNAME (EXPNAME should be set depending on your experiment!) and run 14 months.

Set a new duration for your experiment

Make sure you set the duration of your experiment properly. Here we wish to run 14 months from the control restart experiment but as it is a long run, we rather split it into chuncks of 1 month:
On Abel:
# Set EXPNAME properly

cd ~/cesm_case/f2000.T31T31.$EXPNAME

./xmlchange -file env_run.xml -id STOP_N -val 1
./xmlchange -file env_run.xml -id STOP_OPTION -val nmonths
To perform a 14 months experiment, we would need to repeat this one month experiment 14 times. For this we set a CESM option called RESUBMIT:
./xmlchange -file env_run.xml -id RESUBMIT -val 14

By setting this option, CAM5 will be running one month of simulation (once submitted) and automatically resubmit the next 13 months.

Adjust parameters for your long batch submission


Before submitting your experiment (f2000.T31T31.$EXPNAME.submit), you need to adjust wall clock time and adjust CPU resources.
As each chunk will run 1 month of your experiment, you need to assess the duration of one month simulation. For more information on how to update the wall clock time for your CAM5 simulation, go here.

On Abel:
cd ~/cesm_case/f2000.T31T31.$EXPNAME

./f2000.T31T31.$EXPNAME.submit

Regularly check your experiment (and associated generated output files) and once it is fully done, store your model outputs on norStore.