next up previous contents
Next: Null processes Up: Point-to-Point Communication Previous: Persistent communication requests   Contents

Send-receive

Status Comm.Sendrecv(Object sendbuf, int sendoffset,
                     int sendcount, Datatype sendtype,
                     int dest, int sendtag,
                     Object recvbuf, int recvoffset,
                     int recvcount, Datatype recvtype,
                     int source, int recvtag)
Java binding of the MPI operation MPI_SENDRECV. The value sendoffset is a subscript in sendbuf, defining the position of the first item of the message to be sent. The value recvoffset is a subscript in recvbuf, defining the position into which the first item of the incoming message will be copied.

The return value is status.

Status Comm.Sendrecv_replace(Object buf, int offset,
                     int count, Datatype datatype,
                     int dest, int sendtag,
                     int source, int recvtag)
Java binding of the MPI operation MPI_SENDRECV_REPLACE. The value offset is a subscript in buf, defining the position of the first item of the message to be sent, and the position into which the first item of the incoming message will be copied.

The return value is status.



Bryan Carpenter 2002-07-12