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)
sendbuf send buffer array
sendoffset initial offset in send buffer
sendcount number of items to send
sendtype datatype of each item in send buffer
dest rank of destination
sendtag send tag
recvbuf receive buffer array
recvoffset initial offset in receive buffer
recvcount number of items in receive buffer
recvtype datatype of each item in receive buffer
source rank of source
recvtag receive tag
   
returns: status object



Execute a blocking send and receive operation. Java binding of the MPI operation MPI_SENDRECV. Further comments as for Send and Recv.

Status Comm.Sendrecv_replace(Object buf, int offset,
                             int count, Datatype datatype,
                             int dest, int sendtag,
                             int source, int recvtag)
buf buffer array
offset initial offset in buffer
count number of items to send
datatype datatype of each item in buffer
dest rank of destination
sendtag send tag
source rank of source
recvtag receive tag
   
returns: status object



Execute a blocking send and receive operation, receiving message into send buffer. Java binding of the MPI operation MPI_SENDRECV_REPLACE. Further comments as for send and recv.


next up previous contents
Next: Null processes Up: Point-to-Point Communication Previous: Persistent communication requests   Contents
Bryan Carpenter 2002-07-12