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

📄 comm_testicf.c

📁 MPICH是MPI的重要研究,提供了一系列的接口函数,为并行计算的实现提供了编程环境.
💻 C
字号:
/* comm_test_ic.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_COMM_TEST_INTER = PMPI_COMM_TEST_INTERvoid MPI_COMM_TEST_INTER ( MPI_Fint *, MPI_Fint *, MPI_Fint * );#elif defined(F77_NAME_LOWER_2USCORE)#pragma weak mpi_comm_test_inter__ = pmpi_comm_test_inter__void mpi_comm_test_inter__ ( MPI_Fint *, MPI_Fint *, MPI_Fint * );#elif !defined(F77_NAME_LOWER_USCORE)#pragma weak mpi_comm_test_inter = pmpi_comm_test_intervoid mpi_comm_test_inter ( MPI_Fint *, MPI_Fint *, MPI_Fint * );#else#pragma weak mpi_comm_test_inter_ = pmpi_comm_test_inter_void mpi_comm_test_inter_ ( MPI_Fint *, MPI_Fint *, MPI_Fint * );#endif#elif defined(HAVE_PRAGMA_HP_SEC_DEF)#if defined(F77_NAME_UPPER)#pragma _HP_SECONDARY_DEF PMPI_COMM_TEST_INTER  MPI_COMM_TEST_INTER#elif defined(F77_NAME_LOWER_2USCORE)#pragma _HP_SECONDARY_DEF pmpi_comm_test_inter__  mpi_comm_test_inter__#elif !defined(F77_NAME_LOWER_USCORE)#pragma _HP_SECONDARY_DEF pmpi_comm_test_inter  mpi_comm_test_inter#else#pragma _HP_SECONDARY_DEF pmpi_comm_test_inter_  mpi_comm_test_inter_#endif#elif defined(HAVE_PRAGMA_CRI_DUP)#if defined(F77_NAME_UPPER)#pragma _CRI duplicate MPI_COMM_TEST_INTER as PMPI_COMM_TEST_INTER#elif defined(F77_NAME_LOWER_2USCORE)#pragma _CRI duplicate mpi_comm_test_inter__ as pmpi_comm_test_inter__#elif !defined(F77_NAME_LOWER_USCORE)#pragma _CRI duplicate mpi_comm_test_inter as pmpi_comm_test_inter#else#pragma _CRI duplicate mpi_comm_test_inter_ as pmpi_comm_test_inter_#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_comm_test_inter_ PMPI_COMM_TEST_INTER#elif defined(F77_NAME_LOWER_2USCORE)#define mpi_comm_test_inter_ pmpi_comm_test_inter__#elif !defined(F77_NAME_LOWER_USCORE)#define mpi_comm_test_inter_ pmpi_comm_test_inter#else#define mpi_comm_test_inter_ pmpi_comm_test_inter_#endif#else#ifdef F77_NAME_UPPER#define mpi_comm_test_inter_ MPI_COMM_TEST_INTER#elif defined(F77_NAME_LOWER_2USCORE)#define mpi_comm_test_inter_ mpi_comm_test_inter__#elif !defined(F77_NAME_LOWER_USCORE)#define mpi_comm_test_inter_ mpi_comm_test_inter#endif#endif/* Prototype to suppress warnings about missing prototypes */FORTRAN_API void FORT_CALL mpi_comm_test_inter_ ( MPI_Fint *, MPI_Fint *,                                       MPI_Fint * );FORTRAN_API void FORT_CALL mpi_comm_test_inter_ ( MPI_Fint *comm, MPI_Fint *flag, MPI_Fint *__ierr ){    int l_flag;    *__ierr = MPI_Comm_test_inter( MPI_Comm_f2c(*comm), &l_flag);    *flag = MPIR_TO_FLOG(l_flag);}

⌨️ 快捷键说明

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