Manual Pages for UNIX Darwin command on man MPI_Start
MyWebUniversity

Manual Pages for UNIX Darwin command on man MPI_Start

MPIStart(3OpenMPI) MPIStart(3OpenMPI)

NAME

MMPPIISSttaarrtt - Initiates a communication using a persistent request han-

dle. SSYYNNTTAAXX CC SSyynnttaaxx

#include

int MPIStart(MPIRequest *request) FFoorrttrraann SSyynnttaaxx INCLUDE 'mpif.h'

MPISTART(REQUEST, IERROR)

INTEGER REQUEST, IERROR

CC++++ SSyynnttaaxx

#include

void Prequest::Start() IINNPPUUTT PPAARRAAMMEETTEERR request Communication request (handle). OOUUTTPPUUTT PPAARRAAMMEETTEERR

IERROR Fortran only: Error status (integer).

DESCRIPTION

A communication (send or receive) that uses a persistent request is initiated by the function MPIStart. The argument, request, is a handle returned by one of the persistent

communication-request initialization functions (MPISendinit,

MPIBsendinit, MPISsendinit, MPIRsendinit, MPIRecvinit). The associated request should be inactive and becomes active once the call is made. If the request is for a send with ready mode, then a matching receive should be posted before the call is made. From the time the call is made until after the operation completes, the communication buffer should not be accessed.

The call is local, with semantics similar to the nonblocking communica-

tion operations (see Section 3.7 in the MPI-1 Standard, "Nonblocking

Communication.") That is, a call to MPIStart with a request created by MPISendinit starts a communication in the same manner as a call to MPIIsend; a call to MPIStart with a request created by MPIBsendinit starts a communication in the same manner as a call to MPIIbsend; and so on. 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. Note that MPI does not guarantee that an MPI program can continue past an error.

SEE ALSO

MPIBsendinit MPIRsendinit MPISendinit MPISssendinit MPIRecvinit MPIStartall Open MPI 1.2 September 2006 MPIStart(3OpenMPI)




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