Edit

Share via


MPI_Type_create_f90_complex function

Return a predefined type that matches the specified range.

Syntax

int MPIAPI MPI_Type_create_f90_complex(
        int          p,
        int          r,
  _Out_ MPI_Datatype *newtype
);

Parameters

  • p

  • r
    Decimal range desired.

  • newtype [out]
    A predefine MPI Datatype that matches the range.

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_CREATE_F90_COMPLEX(P, R, NEWTYPE, IERROR)
        INTEGER P, R, NEWTYPE, IERROR

Remarks

This function returns a predefined MPI datatype that matches a COMPLEX variable of KIND selected_real_kind(p, r). Either p or r may be omitted from calls to selected_real_kind(p, r) (but not both). Analogously, either p or r may be set to MPI_UNDEFINED. Matching rules for datatypes created by this function are analogous to the matching rules for datatypes created by MPI_TYPE_CREATE_F90_REAL.

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 Utilities

Header

Mpi.h; Mpif.h

Library

Msmpi.lib

DLL

Msmpi.dll

See also

MPI Miscellaneous Functions