[This is preliminary documentation and is subject to change.]

Retrieves the value of an attribute on a communicator.

Namespace:  MPI
Assembly:  MPI (in MPI.dll)
Version: 0.8.0.0 (0.8.0.0)

Syntax

C#
public static int MPI_Attr_get(
	int comm,
	int keyval,
	IntPtr attribute_val,
	out int flag
)
Visual Basic (Declaration)
Public Shared Function MPI_Attr_get ( _
	comm As Integer, _
	keyval As Integer, _
	attribute_val As IntPtr, _
	<OutAttribute> ByRef flag As Integer _
) As Integer
Visual C++
public:
static int MPI_Attr_get(
	int comm, 
	int keyval, 
	IntPtr attribute_val, 
	[OutAttribute] int% flag
)

Parameters

comm
Type: System..::.Int32
The communicator.
keyval
Type: System..::.Int32
The attribute to get.
attribute_val
Type: System..::.IntPtr
Will receive the value stored for this attribute on this communicator, if one exists. The result is only valid if flag is non-zero.
flag
Type: System..::.Int32 %
Will receive a boolean value stating whether the attribute is stored with this communicator.

See Also