Next: Example of unpacking data
Up: Packing and unpacking messages
Previous: Routines for packing data
Unpacking Data
To unpack data:
mpi_unpack (inbuf, insize, position,
outbuf, outcount, datatype,
comm, ierr)
This extracts outcount items of specified datatype
from the buffer inbuf, starting at offset position,
and stores in the buffer outbuf.
-
On return position is set to the next location in inbuf
after the data just unpacked.
David W Walker
Mon Jan 20 11:10:22 GMT 1997