Changes between Initial Version and Version 1 of doc/tec/nesting/prepo


Ignore:
Timestamp:
Nov 23, 2018 10:18:49 AM (6 years ago)
Author:
suehring
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • doc/tec/nesting/prepo

    v1 v1  
     1== Job preparation for PALM self nesting ==
     2The 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.
     3
     41. Prepare parameter files for all domains, e.g. topography files or static drivers and separate each file for each domain:
     5{{{
     6testrun_p3d (root/parent domain)
     7testrun_p3d_N02 (child domain 1)
     8testrun_p3d_N03 (child domain 2)
     9testrun_topo
     10testrun_topo_N02
     11testrun_topo_N03
     12testrun_static
     13testrun_static_N02
     14testrun_static_N03
     15}}}
     16Note that numbering of the child domains must start with "02" as "01" is internally reserved for the root domain.
     17
     182. The nesting system is activated by specifying a {{{&nesting_parameters}}} NAMELIST in the _p3d file of the '''root domain''', e.g.:
     19{{{
     20 &nesting_parameters domain_layouts = 'root domain',      1,  -1,  24,    0.0,    0.0,
     21                                      'child domain 1',   2,   1,  24,  100.0,  100.0,
     22                                      'child domain 2',   3,   2,  24,  200.0,  200.0,
     23          nesting_datatransfer_mode = 'mixed',
     24          nesting_mode = 'two-way',
     25/
     26}}}
     27For details on the parameters, see [wiki:doc/app/nestpar#nestpar &nesting_parameters].
     28
     293. No additional file connection statements for the child domains are required as long as the suffix * is set:
     30{{{
     31#----------------------------------------------------------------------------
     32# List of input-files for nested model runs
     33#----------------------------------------------------------------------------
     34PARIN         in:tr      d3#      $base_data/$run_identifier/INPUT      _p3d*
     35#----------------------------------------------------------------------------
     36}}}
     374. Execute {{{palmrun}}} and specify the nesting input files, i.e.,
     38{{{
     39palmrun -r testrun -a "d3#" -X 72 ...
     40}}}
     41Make sure that the total number of PEs (here 72) the sum of the PEs allocated for the individual domains (3 x 24).