MPI_WIN_CREATE_ERRHANDLER(function, errhandler) | |
IN function | user defined error handling procedure (function) |
OUT errhandler | MPI error handler (handle) |
2.2 int MPI_Win_create_errhandler(MPI_Win_errhandler_function *function, MPI_Errhandler *errhandler)
2.2 { static MPI::Errhandler MPI::Win::Create_errhandler(MPI::Win::Errhandler_function* function) (binding deprecated, see Section Deprecated since MPI-2.2
) }
Creates an error handler that can be attached to a window object.
The user routine should be, in C, a
function of type
MPI_Win_errhandler_function
which is defined as
2.2 typedef void MPI_Win_errhandler_function(MPI_Win *, int *, ...);
In Fortran, the user routine should be of the form:
2.2 SUBROUTINE WIN_ERRHANDLER_FUNCTION(WIN, ERROR_CODE)
In C++, the user routine should be of the form:
2.2 { typedef void MPI::Win::Errhandler_function(MPI::Win &, int *, ... ); (binding deprecated, see Section Deprecated since MPI-2.2
) }
int MPI_Win_set_errhandler(MPI_Win win, MPI_Errhandler errhandler)
MPI_WIN_SET_ERRHANDLER(WIN, ERRHANDLER, IERROR)
{ void MPI::Win::Set_errhandler(const MPI::Errhandler& errhandler) (binding deprecated, see Section Deprecated since MPI-2.2
) }
Attaches a new error handler to a window. The error handler must be
either a predefined error
handler, or an error handler created by a call to
MPI_WIN_CREATE_ERRHANDLER.
int MPI_Win_get_errhandler(MPI_Win win, MPI_Errhandler *errhandler)
MPI_WIN_GET_ERRHANDLER(WIN, ERRHANDLER, IERROR)
{ MPI::Errhandler MPI::Win::Get_errhandler() const (binding deprecated, see Section Deprecated since MPI-2.2
) }
Retrieves the error handler currently associated with a window.
MPI_WIN_CREATE_ERRHANDLER(FUNCTION, ERRHANDLER, IERROR)
EXTERNAL FUNCTION
INTEGER ERRHANDLER, IERROR
The first argument is the window in use, the second
is the error code to be returned.
INTEGER WIN, ERROR_CODE
MPI_WIN_SET_ERRHANDLER(win, errhandler) INOUT win window (handle) IN errhandler new error handler for window (handle)
INTEGER WIN, ERRHANDLER, IERROR
MPI_WIN_GET_ERRHANDLER(win, errhandler) IN win window (handle) OUT errhandler error handler currently associated with window
(handle)
INTEGER WIN, ERRHANDLER, IERROR
Up: Error Handling
Next: Error Handlers for Files
Previous: Error Handlers for Communicators
Return to MPI-2.2 Standard Index
Return to MPI Forum Home Page
(Unofficial) MPI-2.2 of September 4, 2009
HTML Generated on September 10, 2009