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.bufferAttach(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.bufferDetach()
returns: buffer array



Detach the buffer currently associated with MPI. Java binding of the MPI operation MPI_BUFFER_DETACH. The MPI constant MPI_BSEND_OVERHEAD is available as MPI.BSEND_OVERHEAD.



Bryan Carpenter 2002-07-12