next up previous contents
Next: Nonblocking communication Up: Point-to-Point Communication Previous: Semantics of point-to-point communication   Contents

Buffer allocation and usage

void MPI.Buffer_attach(byte [] buffer)
buffer buffer array



Provides to MPI a buffer in user's memory to be used for buffering outgoing messages. Java binding of the MPI operation MPI_BUFFER_ATTACH.

byte [] MPI.Buffer_detach()
returns: buffer array



Detach the buffer currently associated with MPI and return it. Java binding of the MPI operation MPI_BUFFER_DETACH. If the currently associated buffer is system-defined, returns null.

The MPI constant MPI_BSEND_OVERHEAD is available as MPI.BSEND_OVERHEAD.



Bryan Carpenter 2002-07-12