Container for MPI communicators
This type bundles all MPI communicators needed by the application. Currently supports world and node communicators, but can be extended to support team-based parallelism patterns.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| type(comm_t), | public | :: | node_comm |
Node-local communicator |
|||
| type(comm_t), | public | :: | world_comm |
Global MPI communicator |
type :: mpi_comms_t !! Container for MPI communicators !! !! This type bundles all MPI communicators needed by the application. !! Currently supports world and node communicators, but can be extended !! to support team-based parallelism patterns. type(comm_t) :: world_comm !! Global MPI communicator type(comm_t) :: node_comm !! Node-local communicator ! Future extensions: ! type(comm_t) :: team_comm !! Intra-team communicator ! type(comm_t) :: team_worker_comm !! Team workers (excluding leader) ! type(comm_t) :: inter_team_comm !! Cross-team communicator ! type(comm_t) :: team_leaders_comm !! Team leaders only end type mpi_comms_t