Rate This Document
Findability
Accuracy
Completeness
Readability

Setting and Accessing the New Value of an Info Object in Collective Mode

Function Syntax

  • Set a new value for an info object.

    MPI_File_set_info(MPI_File fh, MPI_Info info)

    PMPI_File_set_info(MPI_File fh, MPI_Info info)

  • Get a new info object containing the current info value associated with a file.

    MPI_File_get_info(MPI_File fh, MPI_Info *info_used)

    PMPI_File_get_info(MPI_File fh, MPI_Info *info_used)

Parameters

Parameter

Description

Value Range

Input/Output

fh

Handle of the file to be deleted

Non-empty

Input

info

info object (handle)

Non-empty

Input

*info

Destination address for storing the info object (handle)

Non-empty

Output

Return Value

  • Success: MPI_SUCCESS
  • Failure: An error code is returned.

Error Code

Error Code

Description

MPI_ERR_FILE

Invalid file handle

Notes

The internal values of the info object are ignored by the middleware, which simply returns the configured info object.