6 #if defined(WIN32) || defined(_WIN32)
7 #if defined(OMPI_IMPORTS)
8 #define OMPI_DECLSPEC __declspec(dllimport)
13 #if OPAL_C_HAVE_VISIBILITY == 1
14 #define OMPI_DECLSPEC __attribute__((visibility("default")))
55 #if defined(c_plusplus) || defined(__cplusplus)
56 #define OMPI_PREDEFINED_GLOBAL(type, global) \
57 (static_cast<type>(static_cast<void *>(&(global))))
59 #define OMPI_PREDEFINED_GLOBAL(type, global) ((type)((void *)&(global)))
62 #define OMPI_PREDEFINED_GLOBAL(type, global) ((type) & (global))
65 #define MPI_MAX OMPI_PREDEFINED_GLOBAL(MPI_Op, ompi_mpi_op_max)
66 #define MPI_MIN OMPI_PREDEFINED_GLOBAL(MPI_Op, ompi_mpi_op_min)
67 #define MPI_SUM OMPI_PREDEFINED_GLOBAL(MPI_Op, ompi_mpi_op_sum)
68 #define MPI_PROD OMPI_PREDEFINED_GLOBAL(MPI_Op, ompi_mpi_op_prod)
69 #define MPI_LAND OMPI_PREDEFINED_GLOBAL(MPI_Op, ompi_mpi_op_land)
70 #define MPI_BAND OMPI_PREDEFINED_GLOBAL(MPI_Op, ompi_mpi_op_band)
71 #define MPI_LOR OMPI_PREDEFINED_GLOBAL(MPI_Op, ompi_mpi_op_lor)
72 #define MPI_BOR OMPI_PREDEFINED_GLOBAL(MPI_Op, ompi_mpi_op_bor)
73 #define MPI_LXOR OMPI_PREDEFINED_GLOBAL(MPI_Op, ompi_mpi_op_lxor)
74 #define MPI_BXOR OMPI_PREDEFINED_GLOBAL(MPI_Op, ompi_mpi_op_bxor)
75 #define MPI_MAXLOC OMPI_PREDEFINED_GLOBAL(MPI_Op, ompi_mpi_op_maxloc)
76 #define MPI_MINLOC OMPI_PREDEFINED_GLOBAL(MPI_Op, ompi_mpi_op_minloc)
77 #define MPI_REPLACE OMPI_PREDEFINED_GLOBAL(MPI_Op, ompi_mpi_op_replace)
78 #define MPI_NO_OP OMPI_PREDEFINED_GLOBAL(MPI_Op, ompi_mpi_op_no_op)
struct mca_base_pvar_handle_t * MPI_T_pvar_handle
OMPI_DECLSPEC struct ompi_predefined_op_t ompi_mpi_op_lxor
OMPI_DECLSPEC struct ompi_predefined_op_t ompi_mpi_op_prod
OMPI_DECLSPEC struct ompi_predefined_op_t ompi_mpi_op_min
struct ompi_datatype_t * MPI_Datatype
struct ompi_win_t * MPI_Win
OMPI_DECLSPEC struct ompi_predefined_op_t ompi_mpi_op_land
struct mca_base_var_enum_t * MPI_T_enum
struct ompi_group_t * MPI_Group
OMPI_DECLSPEC struct ompi_predefined_op_t ompi_mpi_op_band
struct ompi_communicator_t * MPI_Comm
OMPI_DECLSPEC struct ompi_predefined_op_t ompi_mpi_op_maxloc
struct ompi_info_t * MPI_Info
OMPI_DECLSPEC struct ompi_predefined_op_t ompi_mpi_op_replace
OMPI_DECLSPEC struct ompi_predefined_op_t ompi_mpi_op_max
OMPI_DECLSPEC struct ompi_predefined_op_t ompi_mpi_op_no_op
OMPI_DECLSPEC struct ompi_predefined_op_t ompi_mpi_op_bor
struct mca_base_pvar_session_t * MPI_T_pvar_session
struct ompi_mpit_cvar_handle_t * MPI_T_cvar_handle
OMPI_DECLSPEC struct ompi_predefined_op_t ompi_mpi_op_lor
OMPI_DECLSPEC struct ompi_predefined_op_t ompi_mpi_op_sum
OMPI_DECLSPEC struct ompi_predefined_op_t ompi_mpi_op_minloc
OMPI_DECLSPEC struct ompi_predefined_op_t ompi_mpi_op_null
struct ompi_errhandler_t * MPI_Errhandler
struct ompi_op_t * MPI_Op
struct ompi_file_t * MPI_File
struct ompi_message_t * MPI_Message
OMPI_DECLSPEC struct ompi_predefined_op_t ompi_mpi_op_bxor