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

Probe and Cancel

Status Comm.Iprobe(int source, int tag)
source source rank
tag tag value
   
returns: status object or null reference



Check if there is an incoming message matching the pattern specified. Java binding of the MPI operation MPI_IPROBE. If such a message is currently available, a status object similar to the return value of a matching Recv operation is returned. Otherwise a null reference is returned.

Status Comm.Probe(int source, int tag)
source source rank
tag tag value
   
returns: status object or null reference



Wait until there is an incoming message matching the pattern specified. Java binding of the MPI operation MPI_PROBE. Returns a status object similar to the return value of a matching Recv operation.

void Request.Cancel()
Mark a pending nonblocking communication for cancellation. Java binding of the MPI operation MPI_CANCEL.

boolean Status.Test_cancelled()
returns: true if the operation was succesfully cancelled, false otherwise



Test if communication was cancelled. Java binding of the MPI operation MPI_TEST_CANCELLED.


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