5 | | The nesting system is activated by specifying a {{{&nestpar}}} NAMELIST in the _p3d file of the root domain, e.g.: |
| 5 | The following example provide a step-by-step tutorial on how to set up a nesting system with one parent (root) domain and two child domains. |
| 6 | |
| 7 | 1. Prepare parameter files for all domains, e.g. for run with topography and separate topography data for each domain: |
| 8 | {{{ |
| 9 | testrun_p3d (root/parent domain) |
| 10 | testrun_01_p3d (child domain 1) |
| 11 | testrun_02_p3d (child domain 2) |
| 12 | testrun_topo |
| 13 | testrun_01_topo |
| 14 | testrun_02_topo |
| 15 | }}} |
| 16 | |
| 17 | 2. The nesting system is activated by specifying a {{{&nestpar}}} NAMELIST in the _p3d file of the '''root domain''', e.g.: |
| 26 | For details on the parameters, see [wiki:doc/app/nestpar#nestpar nestpar]. |
| 27 | |
| 28 | 3. Add file connection statements for all child domains to the {{{.mrun.config}}} file, |
| 29 | {{{ |
| 30 | #---------------------------------------------------------------------------- |
| 31 | # List of input-files for nested model runs |
| 32 | #---------------------------------------------------------------------------- |
| 33 | PARIN_01 in:job nest# $base_data/$fname/INPUT _01_p3d |
| 34 | PARIN_02 in:job nest# $base_data/$fname/INPUT _02_p3d |
| 35 | TOPOGRAPHY_DATA_01 in:locopt nest# $base_data/$fname/INPUT _01_topo |
| 36 | TOPOGRAPHY_DATA_02 in:locopt nest# $base_data/$fname/INPUT _02_topo |
| 37 | }}} |
| 38 | |
| 39 | 4. Execute {{{mrun}}} and specify the nesting input files, i.e., |
| 40 | {{{ |
| 41 | mrun -d testrun -r "d3# nest# ts# pr# ..." -X "72" ... |
| 42 | }}} |
| 43 | Make sure that the total number of PEs (here 72) the sum of the PEs allocated for the individual domains (3 x 24). |