next up previous contents
Next: Send-receive Up: Point-to-Point Communication Previous: Probe and Cancel   Contents

Persistent communication requests

Prequest Comm.sendInit(Object buf, int offset, int count,
                       Datatype datatype, int dest, int tag)
buf send buffer array
offset initial offset in send buffer
count number of items to send
datatype datatype of each item in send buffer
dest rank of destination
tag message tag
   
returns: persistent communication request



Creates a persistent communication request for a standard mode send. Java binding of the MPI operation MPI_SEND_INIT. Further comments as for send.

Prequest Comm.bsendInit(Object buf, int offset, int count,
                        Datatype datatype, int dest, int tag)
buf send buffer array
offset initial offset in send buffer
count number of items to send
datatype datatype of each item in send buffer
dest rank of destination
tag message tag
   
returns: persistent communication request



Creates a persistent communication request for a buffered mode send. Java binding of the MPI operation MPI_BSEND_INIT. Further comments as for send.

Prequest Comm.ssendInit(Object buf, int offset, int count,
                        Datatype datatype, int dest, int tag)
buf send buffer array
offset initial offset in send buffer
count number of items to send
datatype datatype of each item in send buffer
dest rank of destination
tag message tag
   
returns: persistent communication request



Creates a persistent communication request for a synchronous mode send. Java binding of the MPI operation MPI_SSEND_INIT. Further comments as for send.

Prequest Comm.rsendInit(Object buf, int offset, int count,
                        Datatype datatype, int dest, int tag)
buf send buffer array
offset initial offset in send buffer
count number of items to send
datatype datatype of each item in send buffer
dest rank of destination
tag message tag
   
returns: persistent communication request



Creates a persistent communication request for a ready mode send. Java binding of the MPI operation MPI_RSEND_INIT. Further comments as for send.

Prequest Comm.recvInit(Object buf, int offset, int count,
                       Datatype datatype, int source, int tag)
buf receive buffer array
offset initial offset in receive buffer
count number of items in receive buffer
datatype datatype of each item in receive buffer
source rank of source
tag message tag
   
returns: persistent communication request



Creates a persistent communication request for a receive operation. Java binding of the MPI operation MPI_RECV_INIT. Further comments as for recv.

void Prequest.start()
Activate a persistent communication request. Java binding of the MPI operation MPI_START. The communication is completed by using the request in one of the operations Request.wait, Request.test, Request.waitAny, Request.testAny, Request.waitAll, Request.testAll, Request.waitSome, or Request.testSome. On successful completion the request becomes inactive again. It can be reactivated by a further call to start.

static void Prequest.startAll(Prequest [] arrayOfRequests)
arrayOfRequests array of persistent communication requests



Activate a list of communication requests. Java binding of the MPI operation MPI_STARTALL.


next up previous contents
Next: Send-receive Up: Point-to-Point Communication Previous: Probe and Cancel   Contents
Bryan Carpenter 2002-07-12