Differences
This shows you the differences between two versions of the page.
noresm:runmodel:advancednoresm2 [2014-03-05 13:09:15] alfg |
noresm:runmodel:advancednoresm2 [2022-05-31 09:29:32] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Advanced configuration of NorESM2 ===== | ||
- | |||
- | === Creating a compset === | ||
- | |||
- | The essential file to edit is | ||
- | < | ||
- | ~/ | ||
- | </ | ||
- | |||
- | This examples shows how to simply add a to the " | ||
- | |||
- | Under "< | ||
- | |||
- | < | ||
- | <COMPSET sname=" | ||
- | </ | ||
- | |||
- | The " | ||
- | |||
- | < | ||
- | < | ||
- | </ | ||
- | |||
- | The compset needs a description, | ||
- | < | ||
- | <desc compset=" | ||
- | </ | ||
- | |||
- | We could also define a specific use-case (namelist) for our compset. This would need a line like: | ||
- | < | ||
- | < | ||
- | </ | ||
- | |||
- | This would only work if the file my_namelist.xml exists as | ||
- | < | ||
- | noresm/ | ||
- | </ | ||
- | |||
- | |||
- | === 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; | ||
- | |||
- | ./ | ||
- | |||
- | and finally set up and compile the model: | ||
- | |||
- | cd ../ | ||
- | ./ | ||
- | ./ | ||
- | |||
- | === Why does it work to change config_compsets.xml ? === | ||
- | |||
- | In NorESM there are 3 new config-options for CAM: | ||
- | * -cam-oslo aerlife (turns on transport of oslo tracers) | ||
- | * -cam-oslo dirind | ||
- | * -cam-oslo warmclouds (turns on interaction with warm clouds) | ||
- | |||
- | They change number of tracers and turn on different preprocessor flags in in a perl script called " | ||
- | < | ||
- | models/ | ||
- | </ | ||
- | |||
- | To understand the implementation do: | ||
- | < | ||
- | svn diff -r 202 models/ | ||
- | </ | ||
- | |||
- | The new oslo-options also need to be defined, see | ||
- | < | ||
- | models/ | ||
- | </ | ||
- | |||
- | To see how these new options were added, do: | ||
- | < | ||
- | svn diff -r 202 models/ | ||
- | </ | ||
- | |||
- | |||
- | |||