ICON Community Interface 0.4.0
Loading...
Searching...
No Matches
comin_parallel_types.F90
Go to the documentation of this file.
1
3!
4! @authors 10/2023 :: ICON Community Interface <comin@icon-model.org>
5!
6! SPDX-License-Identifier: BSD-3-Clause
7!
8! See LICENSES for license information.
9! Where software is supplied by third parties, it is indicated in the
10! headers of the routines.
11!
13 USE mpi
14 IMPLICIT NONE
15
16 PRIVATE
17
18 PUBLIC :: t_comin_parallel_info
19
20 ! max. character string length (e.g. MPI group name)
21 INTEGER, PARAMETER :: MAX_GRPNAMELEN = 256
22
23 ! data structure containing parallelization (MPI-) related data.
25 ! MPI communicator, comprising ICON's participating PEs
26 INTEGER :: host_comm = mpi_comm_null
27
28 ! list of MPI intra-communicators, formed by the PEs of each group
29 ! (the term "group" can be identified with the set of external MPI
30 ! processes that communicate with a specific plugin)
31 ! plus a "root group". If the current PE is not a member of the
32 ! root group, then this list contains a single entry only ("root
33 ! PEs" + PEs of the local group).
34 INTEGER, ALLOCATABLE :: mpi_comm_bilateral(:)
35 CHARACTER(LEN=MAX_GRPNAMELEN), ALLOCATABLE :: component_name_bilateral(:)
37
38END MODULE comin_parallel_types