comm_type Derived Type

type, public :: comm_type
sequence

A simple object for storing details of a communicator


Contents

Source Code


Components

Type Visibility Attributes Name Initial
integer, public :: id = mp_comm_null

The communicator id, used in calls to 1 routines

integer, public :: iproc = -1

The procs local rank

integer, public :: nproc = -1

The total number of processors in the communicator

logical, public :: proc0 = .false.

Is iproc equal to 0?


Source Code

  type comm_type
     sequence
     integer :: id = mp_comm_null !< The communicator id, used in calls to MPI routines
     integer :: iproc = -1 !< The procs local rank
     integer :: nproc = -1 !< The total number of processors in the communicator
     logical :: proc0 = .false. !< Is iproc equal to 0?
  end type comm_type