General MPI interface module
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
type(pic_comm_type), | public | :: | world_comm |
our world comm |
custom data type that holds the MPI communicators
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
type(MPI_COMM), | public | :: | comm |
use the MPI_COMM from the mpi_f08 module interface |
|||
integer(kind=int32), | public | :: | m_ierr | ||||
integer(kind=int32), | public | :: | m_rank |
MPI rank |
|||
integer(kind=int32), | public | :: | m_size |
MPI size |
procedure, public :: finalize => pic_comm_finalize | |
procedure, public :: init => pic_comm_init |
finalize the MPI library
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(pic_comm_type), | intent(inout) | :: | self |
initilalize the MPI library and get the size and rank variables
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(pic_comm_type), | intent(inout) | :: | self |