📄 group_unionf.c
字号:
/* group_union.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_UNION = PMPI_GROUP_UNIONvoid MPI_GROUP_UNION ( MPI_Fint *, MPI_Fint *, MPI_Fint *, MPI_Fint * );#elif defined(F77_NAME_LOWER_2USCORE)#pragma weak mpi_group_union__ = pmpi_group_union__void mpi_group_union__ ( MPI_Fint *, MPI_Fint *, MPI_Fint *, MPI_Fint * );#elif !defined(F77_NAME_LOWER_USCORE)#pragma weak mpi_group_union = pmpi_group_unionvoid mpi_group_union ( MPI_Fint *, MPI_Fint *, MPI_Fint *, MPI_Fint * );#else#pragma weak mpi_group_union_ = pmpi_group_union_void mpi_group_union_ ( 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_UNION MPI_GROUP_UNION#elif defined(F77_NAME_LOWER_2USCORE)#pragma _HP_SECONDARY_DEF pmpi_group_union__ mpi_group_union__#elif !defined(F77_NAME_LOWER_USCORE)#pragma _HP_SECONDARY_DEF pmpi_group_union mpi_group_union#else#pragma _HP_SECONDARY_DEF pmpi_group_union_ mpi_group_union_#endif#elif defined(HAVE_PRAGMA_CRI_DUP)#if defined(F77_NAME_UPPER)#pragma _CRI duplicate MPI_GROUP_UNION as PMPI_GROUP_UNION#elif defined(F77_NAME_LOWER_2USCORE)#pragma _CRI duplicate mpi_group_union__ as pmpi_group_union__#elif !defined(F77_NAME_LOWER_USCORE)#pragma _CRI duplicate mpi_group_union as pmpi_group_union#else#pragma _CRI duplicate mpi_group_union_ as pmpi_group_union_#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_union_ PMPI_GROUP_UNION#elif defined(F77_NAME_LOWER_2USCORE)#define mpi_group_union_ pmpi_group_union__#elif !defined(F77_NAME_LOWER_USCORE)#define mpi_group_union_ pmpi_group_union#else#define mpi_group_union_ pmpi_group_union_#endif#else#ifdef F77_NAME_UPPER#define mpi_group_union_ MPI_GROUP_UNION#elif defined(F77_NAME_LOWER_2USCORE)#define mpi_group_union_ mpi_group_union__#elif !defined(F77_NAME_LOWER_USCORE)#define mpi_group_union_ mpi_group_union#endif#endif/* Prototype to suppress warnings about missing prototypes */FORTRAN_API void FORT_CALL mpi_group_union_ ( MPI_Fint *, MPI_Fint *, MPI_Fint *, MPI_Fint * );FORTRAN_API void FORT_CALL mpi_group_union_ ( MPI_Fint *group1, MPI_Fint *group2, MPI_Fint *group_out, MPI_Fint *__ierr ){ MPI_Group l_group_out; *__ierr = MPI_Group_union( 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 + -