A simple object for storing details of a communicator
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? |
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