New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
2020WP/HPC-08_epico_Extra_Halo (diff) – NEMO

Changes between Version 2 and Version 3 of 2020WP/HPC-08_epico_Extra_Halo


Ignore:
Timestamp:
2020-01-07T18:34:23+01:00 (4 years ago)
Author:
epico
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • 2020WP/HPC-08_epico_Extra_Halo

    v2 v3  
    2222=== Description 
    2323 
    24 {{{#!box width=25em help 
     24{{{#!comment width=25em help 
    2525Describe the goal of development and the methodology, \\ 
    2626add reference documents or publications if relevant. 
    2727}}} 
    2828 
    29 ''...'' 
     29''The halo management support has been introduced to provide the developer with a tool for specifying different halo sizes for different NEMO Kernels. As an example, we cite the case of dynspg_ts routine where it could be convenient to enlarge the halo region (up to 5 lines or more) to reduce the communication steps in the time sub-stepping loop. In the advection kernels, like in the MUSCL schema, the use of a halo region 2 lines wide allows to remove the communication which currently happens between the slop calculation and the flux calculation; by means of a 2-lines halo, only an exchange is needed at the beginning of the routine and this, in turn, makes the code ready for further optimizations such as tiling ad loop fusion. 
     30Moreover, the size of the halo region could be also tuned according to the size of the sub-domain; it is worth remembering that with a wider halo region the overall communication costs reduce but the computation costs grow.'' 
    3031 
    3132=== Implementation