Edit

Share via


MPI_File_set_view function

Sets the file view.

Syntax

int MPIAPI MPI_File_set_view(
       MPI_File     file,
       MPI_Offset   disp,
       MPI_Datatype etype,
       MPI_Datatype filetype,
  _In_ char         *datarep,
       MPI_Info     info
);

Parameters

  • file
    File handle.

  • disp
    Displacement.

  • etype
    Elementary datatype.

  • filetype
    Filetype.

  • datarep [in]
    Data representation.

  • info
    Info object.

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_FILE_SET_VIEW(FH, DISP, ETYPE, FILETYPE, DATAREP, INFO, IERROR)
        INTEGER FH, ETYPE, FILETYPE, INFO, IERROR
        CHARACTER*(*) DATAREP
        INTEGER(KIND=MPI_OFFSET_KIND) DISP

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 File Functions