This is an old revision of the document!
Advanced configuration of NorESM2
Creating a compset
~/noresm/scripts/ccsm_utils/Case.template/config_compsets.xml
Under “”, add
<COMPSET sname="F_AMIP_CAM5-OSLO" alias="FAMIPOSLO" >AMIP_CAM5%OSLO_CLM40%SP_CICE%PRES_DOCN%DOM_RTM_SGLC_SWAV</COMPSET>
Setting up a case with the new compset and building the model
It should now be possible to create a new case directory, which we here name FAMIPOSLOtst and configure with 1 degree horizontal atmospheric resolution;
./create_newcase -case ../cases/FAMIPOSLOtst -compset FAMIPOSLO -mach hexagon -res f09_f09
and finally set up and compile the model:
cd ../cases/FAMIPOSLOtst ./cesm_setup ./FAMIPOSLOtst.build
Why does it work??
In NorESM there are 3 new config-options for CAM:
- -cam-oslo aerlife (turns on transport of oslo tracers)
- -cam-oslo dirind (turns on interaction with radiation)
- -cam-oslo warmclouds (turns on interaction with warm clouds)
They change number of tracers and turn on different preprocessor flags in in a script
models/atm/cam/bld/configure
To understand the implementation do:
svn diff -r 202 models/atm/cam/bld/configure
The options also need to be defined, see
models/atm/cam/bld/config_files/definition.xml
To see how the options were added, do:
svn diff -r 202 models/atm/cam/bld/config_files/definition.xml