1MPI_Attr_get(3) LAM/MPI MPI_Attr_get(3)
2
3
4
6 MPI_Attr_get - Retrieves communicator attribute value by key
7
9 #include <mpi.h>
10 int MPI_Attr_get(MPI_Comm comm, int key, void *value, int *found)
11
13 comm - communicator to which attribute is attached (handle)
14 key - key value (integer)
15
16
18 value - attribute value, unless found = false
19 found - true if an attribute value was extracted; false if no
20 attribute is associated with the key
21
22
23
25 This function is deprecated. It has been replaced with an MPI-2 func‐
26 tion (see the "See also" section, below), which provides the same func‐
27 tionality. This function is (or effectively is) a wrapper to the
28 replacement function, anyway. User programs should use the MPI-2
29 replacement function instead of this function.
30
31 Some functions are deprecated because their names did not conform to
32 the stricter naming conventions of MPI-2; others are deprecated because
33 they have been replaced with more flexible functionality.
34
35
37 MPI_Comm_get_attr
38
39
41 For more information, please see the official MPI Forum web site, which
42 contains the text of both the MPI-1 and MPI-2 standards. These docu‐
43 ments contain detailed information about each MPI function (most of
44 which is not duplicated in these man pages).
45
46 http://www.mpi-forum.org/
47
48
49
51 The LAM Team would like the thank the MPICH Team for the handy program
52 to generate man pages ("doctext" from ftp://ftp.mcs.anl.gov/pub/sow‐
53 ing/sowing.tar.gz ), the initial formatting, and some initial text for
54 most of the MPI-1 man pages.
55
57 attrget.c
58
59
60
61LAM/MPI 7.1.2 2/23/2006 MPI_Attr_get(3)