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

📄 mpi_sizeof.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_Sizeof 3OpenMPI "September 2006" "Open MPI 1.2" " ".SH NAME\fBMPI_Sizeof\fP \- Returns the size, in bytes, of the given type.SH SYNTAX.ft R.SH Fortran Syntax.nfINCLUDE 'mpif.h'MPI_SIZEOF(\fIX, SIZE, IERROR\fP)<type>	\fIX\fPINTEGER	\fISIZE, IERROR\fP .SH INPUT PARAMETER.ft R.TP 1iXA Fortran variable of numeric intrisic type (choice)..SH OUTPUT PARAMETERS.ft R.TP 1iSIZESize of machine representation of that type (integer)..ft R.TP 1iIERRORError status (integer). .SH DESCRIPTION.ft RMPI_SIZEOF returns the size (in bytes) of the machine representationof the given variable. It is a generic Fortran type and has a Fortranbinding only. This routine is similar to the sizeof builtin inC/C++. However, if given an array argument, it returns the size of thebase element, not the size of the whole array..SH NOTESThis function is not available in C/C++ because it is not necessary..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. .spSee the MPI man page for a full list of MPI error codes.' @(#)MPI_Sizeof.3 1.4 06/03/09

⌨️ 快捷键说明

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