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

Creates a new MPI error handler from a user function. Attaching this error handler to a communicator will invoke the user error handler when an error occurs. This feature is not supported in MPI.NET; instead, MPI.NET installs its own error handler that translates MPI errors into .NET exceptions.

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

Syntax

C#
public static int MPI_Errhandler_create(
	IntPtr function,
	out int errhandler
)
Visual Basic (Declaration)
Public Shared Function MPI_Errhandler_create ( _
	function As IntPtr, _
	<OutAttribute> ByRef errhandler As Integer _
) As Integer
Visual C++
public:
static int MPI_Errhandler_create(
	IntPtr function, 
	[OutAttribute] int% errhandler
)

Parameters

function
Type: System..::.IntPtr
The user's function.
errhandler
Type: System..::.Int32 %
The newly-created error handler.

See Also