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

Persistent communication requests

Prequest Comm.Send_init(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.Bsend_init(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.Ssend_init(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.Rsend_init(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.Recv_init(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 [] array_of_requests)
array_of_requests 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