Changes between Version 9 and Version 10 of OfflineAdaptParallelization


Ignore:
Timestamp:
May 19, 2025, 5:27:20 PM (13 days ago)
Author:
lnerger
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OfflineAdaptParallelization

    v9 v10  
    2020The PDAF release provides example code for the offline mode in `tutorial/offline_2D_parallel`. We refer to this code to use it as a basis.
    2121
    22 If the the tutorial implementation `tutorial/offline_2D_parallel`, or the template code in `templates/offline` is used as the basis for the implementation, it one can simply keep this part of the program, i.e. the call to `init_parallel_pdaf` unchanged and directly proceed to the [OfflineInitPdaf initialization of PDAF] for the offline mode.
     22|| The initialization of the parallelization is done by the subroutine `init_parallel_pdaf`. If one uses the tutorial implementation `tutorial/offline_2D_parallel`, or the template code in `templates/offline`  as the basis for the implementation, it one can simply use this routine without changes and directly proceed to the [OfflineInitPdaf initialization of PDAF] for the offline mode. ||
    2323
    24 Like many numerical models, PDAF uses the MPI standard for the parallelization. PDAF requires for the compilation that an MPI library is available. In any case, it is necessary to execute the routine `init_parallel_pdaf` as described below.
    25 
    26 For completeness, we describe here the communicators required for PDAF as well as the template initialization routine.
    27 
     24For completeness, we describe here the PDAF's approach for the parallelization.
    2825
    2926
    3027== Three communicators ==
     28
     29Like many numerical models, PDAF uses the MPI standard for the parallelization. PDAF requires for the compilation that an MPI library is available. In any case, it is necessary to execute the routine `init_parallel_pdaf` as described below.
    3130
    3231MPI uses so-called 'communicators' to define sets of parallel processes. In the offline mode, the communicators of the PDAF parallelization are only used internally to PDAF. However, as the communicators need to be initialized and provided to `PDAF_init` to initialized PDAF, we describe them here.