📄 mpid_copy_function.tex
字号:
\startmanpage\mantitle{MPID{\tt \char`\_}Copy{\tt \char`\_}function}{tex}{10/7/2002}\manname{MPID{\tt \char`\_}Copy{\tt \char`\_}function}--- MPID Structure to hold an attribute copy function \subhead{Synopsis}\startvb\begin{verbatim}typedef union { MPI_Comm_copy_attr_function *C_CommCopyFunction; MPI_Win_copy_attr_function *C_WinCopyFunction; MPI_Type_copy_attr_function *C_TypeCopyFunction; void (*F77_CopyFunction) ( MPI_Fint *, MPI_Fint *, MPI_Fint *, MPI_Fint *, MPI_Fint *, MPI_Fint *, MPI_Fint * ); void (*F90_CopyFunction) ( MPI_Fint *, MPI_Fint *, MPI_Aint *, MPI_Aint *, MPI_Aint *, MPI_Fint *, MPI_Fint * ); /* The C++ function is the same as the C function */} MPID_Copy_function;\end{verbatim}\endvb\subhead{Notes}The appropriate element of this union is selected by using the languagefield of the {\tt keyval}.\parThe function types used in the union are provided by {\tt mpi.h}. Thecorrespond to:\begin{verbatim} int (*C_CommCopyFunction)( MPI_Comm, int, void *, void *, void *, int * ); int (*C_WinCopyFunction) ( MPI_Win, int, void *, void *, void *, int * ); int (*C_TypeCopyFunction) ( MPI_Datatype, int, void *, void *, void *, int * );\end{verbatim}There are no corresponding typedefs for the Fortran functions. TheF77 function corresponds to the Fortran 77 binding used in MPI-1 and theF90 function corresponds to the Fortran 90 binding used in MPI-2.\par\subhead{Question}Do we want to create typedefs for the two Fortran functions?\par\subhead{Module}Attribute-DS\par\endmanpage
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -