XMDF  2.2
4.15.2. Initializing MPI

The MPI communicator first needs to be set. The following functions allow the user to set and get the communicator.

C
void xfiSetComm (MPI_Comm a_comm)
MPI_Comm xfiGetComm ()
FORTRAN
SUBROUTINE XF_SET_COM_PAR (a_comm, error)
INTEGER, INTENT(IN) :: a_comm
INTEGER, INTENT(OUT) :: error
SUBROUTINE XF_GET_COM_PAR (a_comm, error)
INTEGER, INTENT(IN) :: a_comm
INTEGER, INTENT(OUT) :: error