next up previous contents
Next: Probe and Cancel Up: Point-to-Point Communication Previous: Buffer allocation and usage   Contents

Nonblocking communication

Request Comm.Isend(Object buf, int offset, int count,
                   Datatype datatype, int dest, int tag)
Java binding of the MPI operation MPI_ISEND. Arguments as for send. The result value is request.

Request Comm.Ibsend(Object buf, int offset, int count,
                    Datatype datatype, int dest, int tag)
Java binding of the MPI operation MPI_IBSEND. Arguments as for send. The result value is request.

Request Comm.Issend(Object buf, int offset, int count,
                    Datatype datatype, int dest, int tag)

Java binding of the MPI operation MPI_ISSEND. Arguments as for send. The result value is request.

Request Comm.Irsend(Object buf, int offset, int count,
                    Datatype datatype, int dest, int tag)
Java binding of the MPI operation MPI_IRSEND. Arguments as for send. The result value is request.

Request Comm.Irecv(Object buf, int offset, int count,
                   Datatype datatype, int source, int tag)
Java binding of the MPI operation MPI_IRECV. Arguments as for Recv. The result value is request.

Status Request.Wait()
Java binding of the MPI operation MPI_WAIT. Return value is status.

Status Request.Test()
Java binding of the MPI operation MPI_TEST. Return value is status, or null if flag was false.

void Request.Free()
Java binding of the MPI operation MPI_REQUEST_FREE. (Note: a Free method is required rather than a finalize method, because MPI_REQUEST_FREE has a specific effect on communications, and we cannot assume that the Java garbage collector would call a finalize at an appropriate time.)

boolean Request.Is_null()
Returns true if the underlying MPI Request object is equal to MPI_REQUEST_NULL, false otherwise.

static Status Request.Waitany(Request [] array_of_requests)
Java binding of the MPI operation MPI_WAITANY. The value of count is taken to be size of the array_of_requests argument. Return value is status. It contains index in its index field.

static Status Request.Testany(Request [] array_of_requests)
Java binding of the MPI operation MPI_TESTANY. The value of count is taken to be size of the array_of_requests argument. Return value is status, containing index in its index field, or null if flag was false.

static Status [] Request.Waitall(Request [] array_of_requests)
Java binding of the MPI operation MPI_WAITALL. The value of count is taken to be size of the array_of_requests argument. The result array will be the same size, containing the statuses from array_of_statuses.

static Status [] Request.Testall(Request [] array_of_requests)
Java binding of the MPI operation MPI_TESTALL. Arguments and return value as for Waitall.

static Status [] Request.Waitsome(Request [] array_of_requests)
Java binding of the MPI operation MPI_WAITSOME. The value of incount is taken to be size of array_of_requests argument. The return value is an array of size outcount containing the statuses and indices from array_of_statuses and array_of_indices.

static Status [] Request.Testsome(Request [] array_of_requests)
Java binding of the MPI operation MPI_TESTSOME. Arguments and return value as for Waitsome.


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