LAM/MPI logo

MPI binding for MPI_UNPACK

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just the tutorials

Neutral Binding

MPI_UNPACK(inbuf, insize, position, outbuf, outcount, datatype, comm)
[ IN inbuf] input buffer start (choice)
[ IN insize] size of input buffer, in bytes (integer)
[ INOUT position] current position in bytes (integer)
[ OUT outbuf] output buffer start (choice)
[ IN outcount] number of items to be unpacked (integer)
[ IN datatype] datatype of each output data item (handle)
[ IN comm] communicator for packed message (handle)


C Binding

int MPI_Unpack(void* inbuf, int insize, int *position, void *outbuf, int outcount, MPI_Datatype datatype, MPI_Comm comm)

FORTRAN Binding

MPI_UNPACK(INBUF, INSIZE, POSITION, OUTBUF, OUTCOUNT, DATATYPE, COMM, IERROR)
<type> INBUF(*), OUTBUF(*)
INTEGER INSIZE, POSITION, OUTCOUNT, DATATYPE, COMM, IERROR

C++ Binding
(in the MPI:: namespace)

void Datatype::Unpack(const void* inbuf, int insize, void *outbuf, int outcount, int& position, const Comm& comm) const



Warning: include(../footer.php3): failed to open stream: No such file or directory in /home/mirror/public_html/pub/lam/tutorials/bindings/MPI_UNPACK.php on line 22

Warning: include(): Failed opening '../footer.php3' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mirror/public_html/pub/lam/tutorials/bindings/MPI_UNPACK.php on line 22