📄 mpi_add_error_code.3
字号:
.\"Copyright 2006, Sun Microsystems, Inc..\" Copyright (c) 1996 Thinking Machines Corporation.TH MPI_Add_error_code 3OpenMPI "September 2006" "Open MPI 1.2" " ".SH NAME\fBMPI_Add_error_code\fP \- Creates a new error code associatedwith \fIerrorclass\fP.SH SYNTAX.ft R.SH C Syntax.nf#include <mpi.h>int MPI_Add_error_code(int \fIerrorclass\fP, int *\fIerrorcode\fP).SH Fortran Syntax.nfINCLUDE 'mpif.h'MPI_ADD_ERROR_CODE(\fIERRORCLASS, ERRORCODE, IERROR\fP) INTEGER \fI ERRORCLASS, ERRORCODE, IERROR\fP.SH C++ Syntax.nf#include <mpi.h>int MPI::Add_error_code(int \fIerrorclass\fP, int* \fIerrorcode\fP).SH INPUT PARAMETER.ft R.TP 1.4ierrorclassMPI error class (integer)..SH OUTPUT PARAMETERS.ft R.TP 1.4ierrorcodeError code returned by an MPI routine or an MPI error class (integer)..ft R.TP 1.4iIERRORFortran only: Error status (integer). .SH DESCRIPTIONCreates a new error code associated with \fIerrorclass\fP and returnsits value in \fIerrorcode\fP..SH NOTES.ft RNo function is provided to free error codes, as it is not expectedthat an application will create them in significant numbers..spThe value returned is always greater than or equal to MPI_ERR_LASTCODE..SH ERRORS.ft RAlmost all MPI routines return an error value; C routines asthe value of the function and Fortran routines in the last argument. C++functions do not return errors. If the default error handler is set toMPI::ERRORS_THROW_EXCEPTIONS, then on error the C++ exception mechanismwill be used to throw an MPI:Exception object..spBefore the error value is returned, the current MPI error handler iscalled. By default, this error handler aborts the MPI job, except forI/O function errors. The error handler may be changed withMPI_Comm_set_errhandler; the predefined error handler MPI_ERRORS_RETURNmay be used to cause error values to be returned. Note that MPI does notguarantee that an MPI program can continue past an error. .SH SEE ALSO.ft R.nfMPI_Add_error_classMPI_Error_class' @(#)MPI_Add_error_code.3 1.4 06/03/09
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -