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

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

Adding compiled files

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