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

📄 errclassf.c

📁 MPICH是MPI的重要研究,提供了一系列的接口函数,为并行计算的实现提供了编程环境.
💻 C
字号:
/* errclass.c *//* 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_ERROR_CLASS = PMPI_ERROR_CLASSvoid MPI_ERROR_CLASS ( MPI_Fint *, MPI_Fint *, MPI_Fint * );#elif defined(F77_NAME_LOWER_2USCORE)#pragma weak mpi_error_class__ = pmpi_error_class__void mpi_error_class__ ( MPI_Fint *, MPI_Fint *, MPI_Fint * );#elif !defined(F77_NAME_LOWER_USCORE)#pragma weak mpi_error_class = pmpi_error_classvoid mpi_error_class ( MPI_Fint *, MPI_Fint *, MPI_Fint * );#else#pragma weak mpi_error_class_ = pmpi_error_class_void mpi_error_class_ ( MPI_Fint *, MPI_Fint *, MPI_Fint * );#endif#elif defined(HAVE_PRAGMA_HP_SEC_DEF)#if defined(F77_NAME_UPPER)#pragma _HP_SECONDARY_DEF PMPI_ERROR_CLASS  MPI_ERROR_CLASS#elif defined(F77_NAME_LOWER_2USCORE)#pragma _HP_SECONDARY_DEF pmpi_error_class__  mpi_error_class__#elif !defined(F77_NAME_LOWER_USCORE)#pragma _HP_SECONDARY_DEF pmpi_error_class  mpi_error_class#else#pragma _HP_SECONDARY_DEF pmpi_error_class_  mpi_error_class_#endif#elif defined(HAVE_PRAGMA_CRI_DUP)#if defined(F77_NAME_UPPER)#pragma _CRI duplicate MPI_ERROR_CLASS as PMPI_ERROR_CLASS#elif defined(F77_NAME_LOWER_2USCORE)#pragma _CRI duplicate mpi_error_class__ as pmpi_error_class__#elif !defined(F77_NAME_LOWER_USCORE)#pragma _CRI duplicate mpi_error_class as pmpi_error_class#else#pragma _CRI duplicate mpi_error_class_ as pmpi_error_class_#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_error_class_ PMPI_ERROR_CLASS#elif defined(F77_NAME_LOWER_2USCORE)#define mpi_error_class_ pmpi_error_class__#elif !defined(F77_NAME_LOWER_USCORE)#define mpi_error_class_ pmpi_error_class#else#define mpi_error_class_ pmpi_error_class_#endif#else#ifdef F77_NAME_UPPER#define mpi_error_class_ MPI_ERROR_CLASS#elif defined(F77_NAME_LOWER_2USCORE)#define mpi_error_class_ mpi_error_class__#elif !defined(F77_NAME_LOWER_USCORE)#define mpi_error_class_ mpi_error_class#endif#endif/* Prototype to suppress warnings about missing prototypes */FORTRAN_API void FORT_CALL mpi_error_class_ ( MPI_Fint *, MPI_Fint *, MPI_Fint * );FORTRAN_API void FORT_CALL mpi_error_class_( MPI_Fint *errorcode, MPI_Fint *errorclass, MPI_Fint *__ierr ){    int l_errorclass;    *__ierr = MPI_Error_class((int)*errorcode, &l_errorclass);    *errorclass = l_errorclass;}

⌨️ 快捷键说明

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