Manual Pages for UNIX Darwin command on man MPI_Comm_accept
MyWebUniversity

Manual Pages for UNIX Darwin command on man MPI_Comm_accept

MPICommaccept(3OpenMPI) MPICommaccept(3OpenMPI)

NAME

MMPPIICCoommmmaacccceepptt - Establishes communication with a client.

SSYYNNTTAAXX CC SSyynnttaaxx

#include

int MPICommaccept(char *portname, MPIInfo info, int root, MPIComm comm, MPIComm *newcomm) FFoorrttrraann SSyynnttaaxx INCLUDE 'mpif.h'

MPICOMMACCEPT(PORTNAME, INFO, ROOT, COMM, NEWCOMM, IERROR)

CHARACTER*(*) PORTNAME

INTEGER INFO, ROOT, COMM, NEWCOMM, IERROR

CC++++ SSyynnttaaxx

#include

MPI::Intercomm MPI::Intracomm::Accept(const char* portname, const MPI::Info& info, int root) const IINNPPUUTT PPAARRAAMMEETTEERRSS portname Port name (string, used only on root). info Options given by root for the accept (handle, used only on root). No options currently supported. root Rank in comm of root node (integer). comm Intracommunicator over which call is collective (handle). OOUUTTPPUUTT PPAARRAAMMEETTEERRSS newcomm Intercommunicator with client as remote group (handle)

IERROR Fortran only: Error status (integer).

DESCRIPTION

MPICommaccept establishes communication with a client. It is collec-

tive over the calling communicator. It returns an intercommunicator

that allows communication with the client, after the client has con-

nected with the MPICommaccept function using the MPICommconnect function. The portname must have been established through a call to MPIOpenport on the root. EERRRROORRSS Almost all MPI routines return an error value; C routines as the value

of the function and Fortran routines in the last argument. C++ func-

tions do not return errors. If the default error handler is set to

MPI::ERRORSTHROWEXCEPTIONS, then on error the C++ exception mechanism

will be used to throw an MPI:Exception object. Before the error value is returned, the current MPI error handler is called. By default, this error handler aborts the MPI job, except for I/O function errors. The error handler may be changed with

MPICommseterrhandler; the predefined error handler MPIERRORSRETURN

may be used to cause error values to be returned. See the MPI man page for a full list of MPI error codes.

SEE ALSO

MPICommconnect MPIOpenport Open MPI 1.2 March 2007 MPICommaccept(3OpenMPI)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™