MPI_Pack man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



MPI_PACK(3)							   MPI_PACK(3)

NAME
     MPI_Pack - Packs a data type into contiguous memory

SYNOPSIS
     C:

	  #include <mpi.h>

	  int MPI_Pack ( inbuf, incount, type, outbuf,
	  outcount, position, comm )
	  void	       *inbuf;
	  int		incount;
	  MPI_Datatype	type;
	  void	       *outbuf;
	  int		outcount;
	  int	       *position;
	  MPI_Comm	comm;

     C++:

	  #include <mpi.h>

	  void Datatype::Pack(
	  const void*	    inbuf,
	  int		    incount,
	  void		    *outbuf,
	  int		    outsize,
	  int&		    position,
	  const Comm	    &comm) const

     Fortran:

	  INCLUDE "mpif.h" (or USE MPI)

	  <type> INBUF(*), OUTBUF(*)
	  INTEGER incount, datatype, outsize, position, comm, ierror

	  CALL MPI_PACK(inbuf, incount, datatype, *outbuf, outsize, position, 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_Pack routine packs a data type into contiguous memory.  This
     routine accepts the following parameters;

									Page 1

MPI_PACK(3)							   MPI_PACK(3)

     inbuf     Specifies the input buffer start (choice)

     incount   Specifies the number of input data items (integer)

     type      Specifies the data type of each input data item (handle)

     outcount  Specifies the output buffer size in bytes (integer)

     position  Specifies the current position in the buffer in bytes (integer)

     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_size(3), MPI_Unpack(3)

									Page 2

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net