This is an old revision of the document!
Advanced configuration
What is a compset ?
A compset is a collection of configuration parameters which describe a specific case. NorESM has several pre-defined compsets. The CCSM users guide provides information on configuring your own compsets.
For existing composets, search for the file config_compsets.xml in your $NORESM folder. They can also all be printed by going to $NORESM/scripts and type the command ./create_newcase -list
Running with offline aerosol interaction
In order to limit the number of compsets there are (at present) no compsets available for automatically setting up the model in offline mode (i.e., the meteorology is forced by aerosol optics and CDNC from CAM4 instead of CAM4-Oslo) or for taking out extra AeroCom diagnostics, which requires numerous additional subroutine calls and therefore is quite expensive to run, both with respect to CPU time and memory. To set up the model in offline mode (before compiling), simply find all subroutines which contain the logical variable AEROFFL (e.g.: grep AEROFFL *.F90), and replace all instances of #undef AEROFFL and !#define AEROFFL with #define AEROFFL This is useful for short simulations where we want to look at direct and/or indirect radiative forcing by aerosols, since the meteorology does not change with changing aerosol emissions (e.g. for year 1850 and 2000). Similarly, to set up the model to take out additional aerosol output for use in AeroCom or other studies where there is a need for extensive aerosol diagnostics, find all subroutines which contain the logical variable AEROCOM (e.g.: grep AEROCOM *.F90), and then replace all !#define AEROCOM with #define AEROCOM The model may be run with any combination of these options: with AEROFFL only, with AEROCOM only, or with AEROFFL and AEROCOM activated at the same time.