MPIR_Type_struct(3)

MPIR_Type_struct3

Create a struct datatype

Usage

#undef FUNCNAME
#define FUNCNAME MPIR_Type_struct
#undef FCNAME
#define FCNAME MPL_QUOTE(FUNCNAME)
int MPIR_Type_struct(int count,
                     const int *blocklength_array,
                     const MPI_Aint * displacement_array,
                     const MPI_Datatype * oldtype_array, MPI_Datatype * newtype)

Input parameters

count

- number of blocks in vector

blocklength_array

- number of elements in each block

displacement_array

- offsets of blocks from start of type in bytes

oldtype_array

- types (using handle) of datatypes on which vector is based

Output parameters

newtype

- handle of new struct datatype

Return value

MPI_SUCCESS on success, MPI errno on failure.

From mpich-doc 3.3-3 in Debian 10 (Buster). Parsed by carta from the page's man source.