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

📄 mpid_err_create_code.tex

📁 刚才是说明 现在是安装程序在 LINUX环境下进行编程的MPICH安装文件
💻 TEX
字号:
\startmanpage\mantitle{MPID{\tt \char`\_}Err{\tt \char`\_}create{\tt \char`\_}code}{tex}{10/7/2002}\manname{MPID{\tt \char`\_}Err{\tt \char`\_}create{\tt \char`\_}code}--- Create an error code and associated message to report an error \subhead{Synopsis}\startvb\begin{verbatim}int MPID_Err_create_code( int class, const char *generic_msg,                           const char *instance_msg, ... )\end{verbatim}\endvb\subhead{Input Parameters}\startarg{class }{Error class}\startarg{generic{\tt \char`\_}msg }{A generic message to be used if not instance-specificmessage is available}\startarg{instance{\tt \char`\_}msg }{A message containing printf-style formatting commandsthat, when combined with the instance{\tt \char`\_}parameters, specify an errormessage containing instance-specific data.}\startarg{instance{\tt \char`\_}parameters }{The remaining parameters.  These must matchthe formatting commands in {\tt instance{\tt \char`\_}msg}.}\par\subhead{Notes}A typical use is:\begin{verbatim}   mpi_errno = MPID_Err_create_code( MPI_ERR_RANK, "Invalid Rank",                                "Invalid rank %d", rank );\end{verbatim}\parPredefined message may also be used.  Any message that uses theprefix {\tt "**"} will be looked up in a table.  This allows standardizedmessages to be used for a message that is used in several different locationsin the code.  For example, the name {\tt "**rank"} might be used instead of{\tt "Invalid Rank"}; this would also allow the message to be made morespecific and useful, such as\begin{verbatim}   Invalid rank provided.  The rank must be between 0 and the 1 less than   the size of the communicator in this call.\end{verbatim}\parThis interface is compatible with the {\tt gettext} interface forinternationalization, in the sense that the {\tt generic{\tt \char`\_}msg} and {\tt instance{\tt \char`\_}msg}may be used as arguments to {\tt gettext} to return a string in the appropriatelanguage; the implementation of {\tt MPID{\tt \char`\_}Err{\tt \char`\_}create{\tt \char`\_}code} can then convertthis text into the appropriate code value.\par\subhead{Module}Error\par\endmanpage

⌨️ 快捷键说明

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