Changes between Version 6 and Version 7 of OnlineAdaptParallelization_PDAF3
- Timestamp:
- Nov 3, 2026, 9:23:44 PM (8 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
OnlineAdaptParallelization_PDAF3
v6 v7 25 25 In the tutorial code and the templates in `templates/online`, the parallelization is initialized in the routine `init_parallel_pdaf` (file `init_parallel_pdaf.F90`). The required variables are defined in `mod_parallel_pdaf.F90`. These files can be used as templates. 26 26 27 In implementations done with PDAF V3.1 and later `init_parallel_pdaf` calls the routine `PDAF3_init_parallel` to configure the parallelization for PDAF. In PDAF V3.0 and before the `init_parallel_pdaf` contains the actual configuration of the parallelization. In PDAF V3.0 the parallelization variables are then provided to PDAF by a call to `PDAF3_set_parallel`. Implementations done before do usually not include this call, but provide the variables to PDAF in the initialization call to `PDAF_init`.27 In implementations done with PDAF V3.1 and later `init_parallel_pdaf` calls the routine `PDAF3_init_parallel` to configure the parallelization for PDAF. (In PDAF V3.0 and before, `init_parallel_pdaf` contains the actual configuration of the parallelization. In PDAF V3.0 implementations the parallelization variables are then provided to PDAF by a call to `PDAF3_set_parallel`. In PDAF V2.x, this call routine was not yet available and the variables were provided to PDAF in the initialization call to `PDAF_init`.) 28 28 29 29 Like many numerical models, PDAF uses the MPI standard for the parallelization. For the case of a parallelized model, we assume in the description below that the model is parallelized using MPI. If the model is parallelized using OpenMP, one can follow the explanations for a non-parallel model below.
