Changes between Initial Version and Version 1 of PDAF_set_comm_pdaf


Ignore:
Timestamp:
Dec 10, 2021, 10:12:15 AM (3 years ago)
Author:
lnerger
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PDAF_set_comm_pdaf

    v1 v1  
     1= PDAF_set_comm_pdaf =
     2
     3This page documents the routine `PDAF_set_comm_pdaf` of PDAF, which was introduced with PDAF V2.0.
     4
     5By default, PDAF bases on `MPI_COMM_WORLD`, thus all processes in a program. This routine allows to set a different communicator. This can be useful if a model is e.g. run with an OI-server so that the world communicator is split into processes for the IO (file) operations and other processes for the actual model run. In this casem, the model would run using a communicator distinct from `MPI_COMM_WORLD` and PDAF should operate only with this communicator. `PDAF_set_comm_pdaf` allows the user to specify this communicator for PDAF.
     6
     7
     8The interface is the following:
     9{{{
     10SUBROUTINE PDAF_set_comm_pdaf(comm_pdaf)
     11
     12  INTEGER,INTENT(in) :: comm_pdaf    ! MPI communicator for PDAF
     13}}}
     14
     15Notes:
     16 * `comm_pdaf` has to be used consistently in `init_parallel_pdaf` where the commuicators for PDAF are prepared on the user side.
     17 * The size of `comm_pdaf` has to be large enough so that the ensemble run can be performed
     18 * `PDAF_set_comm_pdaf` has to be called before calling `PDAF_init`