Edit

Share via


MPI_Win_get_name function

Gets the print name associated with the MPI window object.

Syntax

int MPIAPI MPI_Win_get_name(
        MPI_Win                                                     win,
        _Out_z_cap_post_count_(MPI_MAX_OBJECT_NAME,*resultlen) char *win_name,
  _Out_ int                                                         *resultlen
);

Parameters

  • win
    Window whose name is to be returned.

  • win_name
    The name previously stored on the window, or a empty string if no such name exists.

  • resultlen [out]
    Length of returned name.

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_WIN_GET_NAME(WIN, WIN_NAME, RESULTLEN, IERROR)
        INTEGER WIN, RESULTLEN, IERROR
        CHARACTER*(*) WIN_NAME

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