MPI_Pack_size

--- Returns the upper bound on the amount of space needed to pack a message

Input Parameters

incount
count argument to packing call (integer)
datatype
datatype argument to packing call (handle)
comm
communicator argument to packing call (handle)

Output Parameter

size
upper bound on size of packed message, in bytes (integer)

Synopsis


#include "mpi.h"
int MPI_Pack_size ( incount, datatype, comm, size )
int           incount;
MPI_Datatype  datatype;
MPI_Comm      comm;
int          *size;

Location: pack_size.c