MPI Datatype Functions
In this section
MPI_Get_address
Gets the address of a location in memory.MPI_Get_elements
Returns the number of basic elements in a datatype.MPI_Pack
Packs a datatype into contiguous memory.MPI_Pack_external
Packs a datatype into contiguous memory, using the external32 format.MPI_Pack_external_size
Returns the upper bound on the amount of space needed to pack a message using MPI_Pack_external.MPI_Pack_size
Returns the upper bound on the amount of space needed to pack a message.MPI_Type_commit
Commits the datatype.MPI_Type_contiguous
Defines a new data type that is a concatenation of a number of elements of an existing data type.MPI_Type_create_darray
Creates a datatype representing a distributed array.MPI_Type_create_hindexed
Defines a new data type that consists of a specified number of blocks of arbitrary size.MPI_Type_create_hindexed_block
Allows replication of an old datatype into a sequence of blocks (each block is a concatenation of the old datatype), where all blocks have the same block length but can have different block displacements in bytes.MPI_Type_create_hvector
Defines a new data type that consists of a specified number of blocks. Each block is a concatenation of the same number of elements of an existing data type.MPI_Type_create_indexed_block
Defines a new data type that consists of a specified number of blocks. Each block is the same block length, but each block can have a different block displacement.MPI_Type_create_resized
Creates a datatype with a new lower bound and extent from an existing datatype.MPI_Type_create_struct
Defines a new data type with a specified data type, displacement, and size for each block of data.MPI_Type_create_subarray
Defines a new data type that consists of an n-dimensional subarray of an n-dimensional array.MPI_Type_dup
Duplicates a datatype.MPI_Type_free
Frees the datatype.MPI_Type_get_contents
Gets the type contents.MPI_Type_get_envelope
Gets the type envelope.MPI_Type_get_extent
Gets the lower bound and extent for a datatype.MPI_Type_get_true_extent
Gets the true lower bound and extent for a datatype.MPI_Type_indexed
Defines a new data type that consists of a specified number of blocks of arbitrary size.MPI_Type_size
Returns the number of bytes occupied by entries in the datatype.MPI_Type_vector
Defines a new data type that consists of a specified number of blocks of a specified size.MPI_Unpack
Unpacks a buffer according to a datatype into contiguous memory.MPI_Unpack_external
Unpacks a buffer (packed with MPI_Pack_external) according to a datatype into contiguous memory.