MPI_Comm_accept function - Message Passing Interface (original) (raw)
Accept a request to form a new intercommunicator.
Syntax
int MPIAPI MPI_Comm_accept(
_In_ char *port_name,
MPI_Info info,
int root,
MPI_Comm comm,
_Out_ MPI_Comm *newcomm
);
Parameters
- port_name [in]
Port name, used only on root. - info
Implementation-dependent information. - root
Rank in comm of root node. - comm
Intracommunicator over which call is collective. - newcomm [out]
Intercommunicator with client as remote group.
Return value
Returns MPI_SUCCESS on success. Otherwise, the return value is an error code.
In Fortran, the return value is stored in the IERROR parameter.
Fortran
MPI_COMM_ACCEPT(PORT_NAME, INFO, ROOT, COMM, NEWCOMM, IERROR)
CHARACTER*(*) PORT_NAME
INTEGER INFO, ROOT, COMM, NEWCOMM, IERROR
Requirements
Product | HPC Pack 2012 MS-MPI Redistributable Package, HPC Pack 2008 R2 MS-MPI Redistributable Package, HPC Pack 2008 MS-MPI Redistributable Package or HPC Pack 2008 Client Utilities |
---|---|
Header | Mpi.h; Mpif.h |
Library | Msmpi.lib |
DLL | Msmpi.dll |