Edit

Share via


MPI_Info_get_valuelen function

Retrieves the length of the value associated with a key.

Syntax

int MPIAPI MPI_Info_get_valuelen(
        MPI_Info info,
  _In_  char     *key,
  _Out_ int      *valuelen,
  _Out_ int      *flag
);

Parameters

  • info
    Info object.

  • key [in]
    Key.

  • valuelen [out]
    Length of value argument.

  • flag [out]
    True if key defined, false if not.

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_INFO_GET_VALUELEN(INFO, KEY, VALUELEN, FLAG, IERROR)
        INTEGER INFO, VALUELEN, IERROR
        LOGICAL FLAG
        CHARACTER*(*) KEY

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 Info Object Functions