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

📄 errcreatef.c

📁 MPICH是MPI的重要研究,提供了一系列的接口函数,为并行计算的实现提供了编程环境.
💻 C
字号:
/* errcreate.c *//* Custom Fortran interface file */#include "mpi_fortimpl.h"#if defined(MPI_BUILD_PROFILING) || defined(HAVE_WEAK_SYMBOLS)#if defined(HAVE_WEAK_SYMBOLS)#if defined(HAVE_PRAGMA_WEAK)#if defined(F77_NAME_UPPER)#pragma weak MPI_ERRHANDLER_CREATE = PMPI_ERRHANDLER_CREATE#ifdef FORTRAN_SPECIAL_FUNCTION_PTRvoid MPI_ERR_HANDLER_CREATE ( MPI_Handler_function **, MPI_Fint *, MPI_Fint * );#elsevoid MPI_ERRHANDLER_CREATE ( MPI_Handler_function *, MPI_Fint *, MPI_Fint * );#endif#elif defined(F77_NAME_LOWER_2USCORE)#pragma weak mpi_errhandler_create__ = pmpi_errhandler_create__#ifdef FORTRAN_SPECIAL_FUNCTION_PTRvoid mpi_errhandler_create__ ( MPI_Handler_function **, MPI_Fint *, MPI_Fint * );#elsevoid mpi_errhandler_create__ ( MPI_Handler_function *, MPI_Fint *, MPI_Fint * );#endif#elif !defined(F77_NAME_LOWER_USCORE)#pragma weak mpi_errhandler_create = pmpi_errhandler_create#ifdef FORTRAN_SPECIAL_FUNCTION_PTRvoid mpi_errhandler_create ( MPI_Handler_function **, MPI_Fint *, MPI_Fint * );#elsevoid mpi_errhandler_create ( MPI_Handler_function *, MPI_Fint *, MPI_Fint * );#endif#else#pragma weak mpi_errhandler_create_ = pmpi_errhandler_create_#ifdef FORTRAN_SPECIAL_FUNCTION_PTRvoid mpi_errhandler_create_ ( MPI_Handler_function **, MPI_Fint *, MPI_Fint * );#elsevoid mpi_errhandler_create_ ( MPI_Handler_function *, MPI_Fint *, MPI_Fint * );#endif#endif#elif defined(HAVE_PRAGMA_HP_SEC_DEF)#if defined(F77_NAME_UPPER)#pragma _HP_SECONDARY_DEF PMPI_ERRHANDLER_CREATE  MPI_ERRHANDLER_CREATE#elif defined(F77_NAME_LOWER_2USCORE)#pragma _HP_SECONDARY_DEF pmpi_errhandler_create__  mpi_errhandler_create__#elif !defined(F77_NAME_LOWER_USCORE)#pragma _HP_SECONDARY_DEF pmpi_errhandler_create  mpi_errhandler_create#else#pragma _HP_SECONDARY_DEF pmpi_errhandler_create_  mpi_errhandler_create_#endif#elif defined(HAVE_PRAGMA_CRI_DUP)#if defined(F77_NAME_UPPER)#pragma _CRI duplicate MPI_ERRHANDLER_CREATE as PMPI_ERRHANDLER_CREATE#elif defined(F77_NAME_LOWER_2USCORE)#pragma _CRI duplicate mpi_errhandler_create__ as pmpi_errhandler_create__#elif !defined(F77_NAME_LOWER_USCORE)#pragma _CRI duplicate mpi_errhandler_create as pmpi_errhandler_create#else#pragma _CRI duplicate mpi_errhandler_create_ as pmpi_errhandler_create_#endif/* end of weak pragmas */#endif/* Include mapping from MPI->PMPI */#include "mpiprof.h"/* Insert the prototypes for the PMPI routines */#undef __MPI_BINDINGS#include "binding.h"#endif#ifdef F77_NAME_UPPER#define mpi_errhandler_create_ PMPI_ERRHANDLER_CREATE#elif defined(F77_NAME_LOWER_2USCORE)#define mpi_errhandler_create_ pmpi_errhandler_create__#elif !defined(F77_NAME_LOWER_USCORE)#define mpi_errhandler_create_ pmpi_errhandler_create#else#define mpi_errhandler_create_ pmpi_errhandler_create_#endif#else#ifdef F77_NAME_UPPER#define mpi_errhandler_create_ MPI_ERRHANDLER_CREATE#elif defined(F77_NAME_LOWER_2USCORE)#define mpi_errhandler_create_ mpi_errhandler_create__#elif !defined(F77_NAME_LOWER_USCORE)#define mpi_errhandler_create_ mpi_errhandler_create#endif#endif/* Prototype to suppress warnings about missing prototypes */#ifdef FORTRAN_SPECIAL_FUNCTION_PTRFORTRAN_API void FORT_CALL mpi_errhandler_create_ ( MPI_Handler_function **, 					MPI_Fint *, MPI_Fint * );#elseFORTRAN_API void FORT_CALL mpi_errhandler_create_ ( MPI_Handler_function *, 					MPI_Fint *, MPI_Fint * );#endifFORTRAN_API void FORT_CALL mpi_errhandler_create_(#ifdef FORTRAN_SPECIAL_FUNCTION_PTR	MPI_Handler_function **function,#else	MPI_Handler_function *function,#endif	MPI_Fint *errhandler, MPI_Fint *__ierr){    MPI_Errhandler l_errhandler;#ifdef FORTRAN_SPECIAL_FUNCTION_PTR    *__ierr = MPI_Errhandler_create( *function, &l_errhandler );#else    *__ierr = MPI_Errhandler_create( function, &l_errhandler );#endif    if (*__ierr == MPI_SUCCESS) 		             *errhandler = MPI_Errhandler_c2f(l_errhandler);}

⌨️ 快捷键说明

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