Edit

Share via


MPI_Type_match_size function

Finds an MPI datatype matching a specified size.

Syntax

int MPIAPI MPI_Type_match_size(
        int          typeclass,
        int          size,
  _Out_ MPI_Datatype *type
);

Parameters

  • typeclass
    Generic type specifier.

  • size
    Size of representation in bytes.

  • type [out]
    Datatype with correct type, size.

Return value

Returns MPI_SUCCESS on success. Otherwise, the return value is an error code.

In Fortran, the return value is stored in the IERROR parameter.

Fortran

    MPI_TYPE_MATCH_SIZE(TYPECLASS, SIZE, DATATYPE, IERROR)
        INTEGER TYPECLASS, SIZE, DATATYPE, IERROR

Requirements

Product

HPC Pack 2012 MS-MPI Redistributable Package, HPC Pack 2008 R2 MS-MPI Redistributable Package, HPC Pack 2008 MS-MPI Redistributable Package or HPC Pack 2008 Client Utilitiese

Header

Mpi.h; Mpif.h

Library

Msmpi.lib

DLL

Msmpi.dll

See also

MPI Miscellaneous Functions