MPI_Unpack(3)
MPI_Unpack - Unpacks a data type into contiguous memory
Showing IRIX 6.5.30 (default release). Added in IRIX 6.5.19.
NAME MPI_Unpack - Unpacks a data type into contiguous memory SYNOPSIS C: #include <mpi.h> int MPI_Unpack ( inbuf, insize, position, outbuf, outcount, type, comm ) void *inbuf; int insize; int *position; void *outbuf; int outcount; MPI_Datatype type; MPI_Comm comm; C++: #include <mpi.h> void Datatype::Unpack( const void* inbuf, int insize, void *outbuf, int outcount, int& position, const Comm& comm) const Fortran: INCLUDE "mpif.h" (or USE MPI) <type> INBUF(*), OUTBUF(*) INTEGER insize, position, outcount, datatype, comm, ierror CALL MPI_UNPACK(inbuf, insize, position, outbuf, outcount, datatype, comm, ierror) STANDARDS This release implements the MPI 1.2 standard, as documented by the MPI Forum in the spring 1997 release of MPI: A Message Passing Interface Standard. DESCRIPTION The MPI_Unpack routine unpacks a data type into contiguous memory. This routine accepts the following parameters: inbuf Specifies the input buffer start (choice) insize Specifies the size of input buffer in bytes (integer) position Specifies the current position in bytes (integer) outcount Specifies the number of items to be unpacked (integer) type Specifies the data type of each output data item (handle) comm Specifies the communicator for the packed message (handle) outbuf Returns the output buffer start (choice) ierror Specifies the return code value for successful completion, which is in MPI_SUCCESS. MPI_SUCCESS is defined in the mpif.h file. SEE ALSO MPI_Pack(3), MPI_Pack_size(3)