source: proiecte/hpl/openmpi_compiled/share/man/man3/MPI_Attr_get.3 @ 97

Last change on this file since 97 was 97, checked in by (none), 14 years ago

Adding compiled files

File size: 2.2 KB
Line 
1.\"Copyright 2006-2008 Sun Microsystems, Inc.
2.\" Copyright (c) 1996 Thinking Machines Corporation
3.TH MPI_Attr_get 3 "Dec 08, 2009" "1.4" "Open MPI"
4.SH NAME
5\fBMPI_Attr_get\fP \- Retrieves attribute value by key -- use of this routine is deprecated.
6
7.SH SYNTAX
8.ft R
9.SH C Syntax
10.nf
11#include <mpi.h>
12int MPI_Attr_get(MPI_Comm \fIcomm\fP, int\fI keyval\fP,void\fI *attribute_val\fP,
13        int\fI *flag \fP)
14
15.SH Fortran Syntax
16.nf
17INCLUDE 'mpif.h'
18MPI_ATTR_GET(\fICOMM\fP,\fI KEYVAL\fP, \fIATTRIBUTE_VAL\fP,\fI FLAG\fP,\fI IERROR\fP)
19        INTEGER \fICOMM\fP,\fI KEYVAL\fP, \fIATTRIBUTE_VAL\fP,\fI IERROR\fP
20        LOGICAL \fIFLAG\fP
21
22
23.SH INPUT PARAMETERS
24.ft R
25.TP 1i
26comm
27Communicator to which attribute is attached (handle).
28.TP 1i
29keyval
30 Key value (integer).
31
32.SH OUTPUT PARAMETERS
33.ft R
34.TP 1i
35attribute_val
36Attribute value, unless flag = false.
37.TP 1i
38flag
39True if an attribute value was extracted; false if no attribute is associated with the key.
40.ft R
41.TP 1i
42IERROR
43Fortran only: Error status (integer).
44
45.SH DESCRIPTION
46.ft R
47Note that use of this routine is \fIdeprecated\fP as of MPI-2. Please use MPI_Comm_get_attr instead.
48.sp
49This deprecated routine is not available in C++.
50.sp
51Retrieves attribute value by key. The call is erroneous if there is no key
52with value keyval. On the other hand, the call is correct if the key value exists, but no attribute is attached on comm for that key; in such case, the call returns flag = false. In particular MPI_KEYVAL_INVALID is an erroneous key value. 
53
54.SH ERRORS
55Almost 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.
56.sp
57Before the error value is returned, the current MPI error handler is
58called. By default, this error handler aborts the MPI job, except for I/O function errors. The error handler
59may 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. 
60
61
62.SH SEE ALSO
63
64MPI_Comm_get_attr
65.br
Note: See TracBrowser for help on using the repository browser.