📄 group_interf.c
字号:
/* group_inter.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_GROUP_INTERSECTION = PMPI_GROUP_INTERSECTIONvoid MPI_GROUP_INTERSECTION ( MPI_Fint *, MPI_Fint *, MPI_Fint *, MPI_Fint * );#elif defined(F77_NAME_LOWER_2USCORE)#pragma weak mpi_group_intersection__ = pmpi_group_intersection__void mpi_group_intersection__ ( MPI_Fint *, MPI_Fint *, MPI_Fint *, MPI_Fint * );#elif !defined(F77_NAME_LOWER_USCORE)#pragma weak mpi_group_intersection = pmpi_group_intersectionvoid mpi_group_intersection ( MPI_Fint *, MPI_Fint *, MPI_Fint *, MPI_Fint * );#else#pragma weak mpi_group_intersection_ = pmpi_group_intersection_void mpi_group_intersection_ ( MPI_Fint *, MPI_Fint *, MPI_Fint *, MPI_Fint * );#endif#elif defined(HAVE_PRAGMA_HP_SEC_DEF)#if defined(F77_NAME_UPPER)#pragma _HP_SECONDARY_DEF PMPI_GROUP_INTERSECTION MPI_GROUP_INTERSECTION#elif defined(F77_NAME_LOWER_2USCORE)#pragma _HP_SECONDARY_DEF pmpi_group_intersection__ mpi_group_intersection__#elif !defined(F77_NAME_LOWER_USCORE)#pragma _HP_SECONDARY_DEF pmpi_group_intersection mpi_group_intersection#else#pragma _HP_SECONDARY_DEF pmpi_group_intersection_ mpi_group_intersection_#endif#elif defined(HAVE_PRAGMA_CRI_DUP)#if defined(F77_NAME_UPPER)#pragma _CRI duplicate MPI_GROUP_INTERSECTION as PMPI_GROUP_INTERSECTION#elif defined(F77_NAME_LOWER_2USCORE)#pragma _CRI duplicate mpi_group_intersection__ as pmpi_group_intersection__#elif !defined(F77_NAME_LOWER_USCORE)#pragma _CRI duplicate mpi_group_intersection as pmpi_group_intersection#else#pragma _CRI duplicate mpi_group_intersection_ as pmpi_group_intersection_#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_group_intersection_ PMPI_GROUP_INTERSECTION#elif defined(F77_NAME_LOWER_2USCORE)#define mpi_group_intersection_ pmpi_group_intersection__#elif !defined(F77_NAME_LOWER_USCORE)#define mpi_group_intersection_ pmpi_group_intersection#else#define mpi_group_intersection_ pmpi_group_intersection_#endif#else#ifdef F77_NAME_UPPER#define mpi_group_intersection_ MPI_GROUP_INTERSECTION#elif defined(F77_NAME_LOWER_2USCORE)#define mpi_group_intersection_ mpi_group_intersection__#elif !defined(F77_NAME_LOWER_USCORE)#define mpi_group_intersection_ mpi_group_intersection#endif#endif/* Prototype to suppress warnings about missing prototypes */FORTRAN_API void FORT_CALL mpi_group_intersection_ ( MPI_Fint *, MPI_Fint *, MPI_Fint *, MPI_Fint * );FORTRAN_API void FORT_CALL mpi_group_intersection_ ( MPI_Fint *group1, MPI_Fint *group2, MPI_Fint *group_out, MPI_Fint *__ierr ){ MPI_Group l_group_out; *__ierr = MPI_Group_intersection(MPI_Group_f2c(*group1), MPI_Group_f2c(*group2), &l_group_out ); if (*__ierr == MPI_SUCCESS) *group_out = MPI_Group_c2f(l_group_out);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -