⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mpi_add_error_string.3

📁 MPI stands for the Message Passing Interface. Written by the MPI Forum (a large committee comprising
💻 3
字号:
.\"Copyright 2006, Sun Microsystems, Inc..\" Copyright (c) 1996 Thinking Machines Corporation.TH MPI_Add_error_string 3OpenMPI "September 2006" "Open MPI 1.2" " ".SH NAME.nf\fBMPI_Add_error_string\fP \- Associates a string with an error code or class.SH SYNTAX.ft R.SH C Syntax.nf#include <mpi.h>int MPI_Add_error_string(int \fIerrorcode\fP, char *\fIstring\fP).SH Fortran Syntax.nfINCLUDE 'mpif.h'MPI_ADD_ERROR_STRING(\fIERRORCODE, STRING, IERROR\fP)	INTEGER		\fIERRORCODE, IERROR\fP	CHARACTER*(*)	\fISTRING\fP .SH C++ Syntax.nf#include <mpi.h>void MPI::Add_error_string(int \fIerrorcode\fP, const char* \fIstring\fP).SH INPUT PARAMETERS.ft R.TP 1.4ierrorcodeMPI error class, or an error code returned by an MPI routine (integer)..ft R.TP 1.4istringText that corresponds to the error code or class (string)..SH OUTPUT PARAMETER.ft R.TP 1.4iIERRORFortran only: Error status (integer). .SH DESCRIPTION.ft RThis routine associates an error string with an error code orclass. Calling MPI_Add_error_string for an error code or class thatalready has an associated error string will replace the old stringwith the new one. It is erroneous to call MPI_Add_error_string for anerror value not generated via MPI_Add_error_class orMPI_Add_error_code (e.g., an error code or class with a value notgreater than MPI_LAST_ERRCODE)..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_Add_error_codeMPI_Error_classMPI_Error_string' @(#)MPI_Add_error_string.3 1.4 06/03/09

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -