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.testCancelled()
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