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

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

Adding compiled files

File size: 2.4 KB
Line 
1.\"Copyright 2006-2008 Sun Microsystems, Inc.
2.\" Copyright (c) 1996 Thinking Machines Corporation
3.TH MPI_Add_error_class 3 "Dec 08, 2009" "1.4" "Open MPI"
4
5.SH NAME
6.nf
7\fBMPI_Add_error_class\fP \- Creates a new error class and returns its value
8
9.SH SYNTAX
10.ft R
11
12.SH C Syntax
13.nf
14#include <mpi.h>
15int MPI_Add_error_class(int *\fIerrorclass\fP)
16
17.SH Fortran Syntax
18.nf
19INCLUDE 'mpif.h'
20MPI_ADD_ERROR_CLASS(\fIERRORCLASS, IERROR\fP)
21        INTEGER \fIERRORCLASS, IERROR\fP
22
23.SH C++ Syntax
24.nf
25#include <mpi.h>
26int MPI::Add_error_class()
27
28.SH OUTPUT PARAMETERS
29.ft R
30.TP 1.4i
31errorclass
32New error class (integer).
33.ft R
34.TP 1.4i
35IERROR
36Fortran only: Error status (integer).
37
38.SH DESCRIPTION
39.ft R
40The function MPI_Add_error_class creates a new, local error
41class.
42
43.SH NOTES
44.ft R
45Because this function is local, the same value of \fIerrorclass\fP may
46not be returned on all processes that make this call, even if they
47call the function concurrently. Thus, same error on different
48processes may not cause the same value of \fIerrorclass\fP to be
49returned. To reduce the potential for confusion, MPI_Add_error_string
50may be used on multiple processes to associate the same error string
51with the newly created \fIerrorclass\fP. Even though \fIerrorclass\fP
52may not be consistent across processes, using MPI_Add_error_string
53will ensure the error string associated with it will be the same
54everywhere.
55.sp
56No function is provided to free error classes, as it is not expected
57that an application will create them in significant numbers.
58.sp
59The value returned is always greater than or equal to MPI_ERR_LASTCODE.
60
61.SH ERRORS
62.ft R
63Almost all MPI routines return an error value; C routines as
64the value of the function and Fortran routines in the last argument. C++
65functions do not return errors. If the default error handler is set to
66MPI::ERRORS_THROW_EXCEPTIONS, then on error the C++ exception mechanism
67will be used to throw an MPI:Exception object.
68.sp
69Before the error value is returned, the current MPI error handler is
70called. By default, this error handler aborts the MPI job, except for
71I/O function errors. The error handler may be changed with
72MPI_Comm_set_errhandler; the predefined error handler MPI_ERRORS_RETURN
73may be used to cause error values to be returned. Note that MPI does not
74guarantee that an MPI program can continue past an error.
75
76.SH SEE ALSO
77.ft R
78.nf
79MPI_Add_error_code
80MPI_Add_error_string
81MPI_Error_class
82MPI_Error_string
83
Note: See TracBrowser for help on using the repository browser.