2013-10-02 18:27:47 +04:00
.\" -*- nroff -*-
.\" Copyright 2013 Los Alamos National Security, LLC. All rights reserved.
2010-10-08 01:13:11 +04:00
.\" Copyright 2010 Cisco Systems, Inc. All rights reserved.
.\" Copyright 2006-2008 Sun Microsystems, Inc.
2006-09-28 22:39:36 +04:00
.\" Copyright (c) 1996 Thinking Machines Corporation
2014-10-24 01:21:54 +04:00
.\" $COPYRIGHT$
2008-08-02 01:14:37 +04:00
.TH MPI_Win_set_name 3 "#OMPI_DATE#" "#PACKAGE_VERSION#" "#PACKAGE_NAME#"
2006-09-28 22:39:36 +04:00
.SH NAME
2008-02-23 21:40:15 +03:00
\fBMPI_Win_set_name\fP \- Sets the name of a window.
2006-09-28 22:39:36 +04:00
.SH SYNTAX
.ft R
.SH C Syntax
.nf
#include <mpi.h>
2013-10-02 18:27:47 +04:00
int MPI_Win_set_name(MPI_Win \fIwin\fP, const char *\fIwin_name\fP)
2006-09-28 22:39:36 +04:00
2010-10-08 01:13:11 +04:00
.fi
2006-09-28 22:39:36 +04:00
.SH Fortran Syntax
.nf
2015-05-15 12:20:35 +03:00
USE MPI
! or the older form: INCLUDE 'mpif.h'
2015-06-24 06:59:57 +03:00
MPI_WIN_SET_NAME(\fIWIN, WIN_NAME, IERROR\fP)
INTEGER \fIWIN, IERROR\fP
CHARACTER*(*) \fIWIN_NAME\fP
2006-09-28 22:39:36 +04:00
2015-05-15 12:20:35 +03:00
.fi
.SH Fortran 2008 Syntax
.nf
USE mpi_f08
MPI_Win_set_name(\fIwin\fP, \fIwin_name\fP, \fIierror\fP)
TYPE(MPI_Win), INTENT(IN) :: \fIwin\fP
CHARACTER(LEN=*), INTENT(IN) :: \fIwin_name\fP
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
2010-10-08 01:13:11 +04:00
.fi
2006-09-28 22:39:36 +04:00
.SH C++ Syntax
.nf
#include <mpi.h>
void MPI::Win::Set_name(const char* \fIwin_name\fP)
2010-10-08 01:13:11 +04:00
.fi
2006-09-28 22:39:36 +04:00
.SH INPUT/OUTPUT PARAMETER
.ft R
.TP 1i
win
2015-06-24 06:59:57 +03:00
Window whose identifier is to be set (handle).
2006-09-28 22:39:36 +04:00
.SH INPUT PARAMETER
.ft R
.TP 1i
win_name
2015-06-24 06:59:57 +03:00
The character string used as the name (string).
2006-09-28 22:39:36 +04:00
.SH OUTPUT PARAMETER
.ft R
.TP 1i
IERROR
2015-06-24 06:59:57 +03:00
Fortran only: Error status (integer).
2006-09-28 22:39:36 +04:00
.SH DESCRIPTION
.ft R
.SH ERRORS
2010-07-22 05:24:12 +04:00
Almost all MPI routines return an error value; C routines as the value of the function and Fortran routines in the last argument. C++ functions do not return errors. If the default error handler is set to MPI::ERRORS_THROW_EXCEPTIONS, then on error the C++ exception mechanism will be used to throw an MPI::Exception object.
2006-09-28 22:39:36 +04:00
.sp
Before the error value is returned, the current MPI error handler is
2015-06-24 06:59:57 +03:00
called. By default, this error handler aborts the MPI job, except for I/O function errors. The error handler may be changed with MPI_Comm_set_errhandler; the predefined error handler MPI_ERRORS_RETURN may be used to cause error values to be returned. Note that MPI does not guarantee that an MPI program can continue past an error.
2006-09-28 22:39:36 +04:00