Scroll to navigation

MPIR_Type_struct(3) MPI MPIR_Type_struct(3)

NAME

MPIR_Type_struct - create a struct datatype

SYNOPSIS

#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

- number of blocks in vector
- number of elements in each block
- offsets of blocks from start of type in bytes
- types (using handle) of datatypes on which vector is based

OUTPUT PARAMETERS

- handle of new struct datatype

RETURN VALUE

MPI_SUCCESS on success, MPI errno on failure.

6/5/2019