Neutral Binding
MPI_PACK(inbuf, incount, datatype, outbuf, outsize, position, comm) [ IN inbuf] input buffer start (choice) [ IN incount] number of input data items (integer) [ IN datatype] datatype of each input data item (handle) [ OUT outbuf] output buffer start (choice) [ IN outsize] output buffer size, in bytes (integer) [ INOUT position] current position in buffer, in bytes (integer) [ IN comm] communicator for packed message (handle)
C Binding
int MPI_Pack(void* inbuf, int incount, MPI_Datatype datatype, void *outbuf, int outsize, int *position, MPI_Comm comm)
FORTRAN Binding
MPI_PACK(INBUF, INCOUNT, DATATYPE, OUTBUF, OUTSIZE, POSITION, COMM, IERROR) <type> INBUF(*), OUTBUF(*) INTEGER INCOUNT, DATATYPE, OUTSIZE, POSITION, COMM, IERROR
C++ Binding (in the MPI:: namespace)
void Datatype::Pack(const void* inbuf, int incount, void *outbuf, int outsize, int& position, const Comm &comm) const
|
|