1 #ifndef PyMPI_CONFIG_MPICH2_H 2 #define PyMPI_CONFIG_MPICH2_H 3 4 #if MPI_VERSION==2 && MPI_SUBVERSION<2 5 #define PyMPI_MISSING_MPI_AINT 1 6 #define PyMPI_MISSING_MPI_OFFSET 1 7 #define PyMPI_MISSING_MPI_C_BOOL 1 8 #define PyMPI_MISSING_MPI_INT8_T 1 9 #define PyMPI_MISSING_MPI_INT16_T 1 10 #define PyMPI_MISSING_MPI_INT32_T 1 11 #define PyMPI_MISSING_MPI_INT64_T 1 12 #define PyMPI_MISSING_MPI_UINT8_T 1 13 #define PyMPI_MISSING_MPI_UINT16_T 1 14 #define PyMPI_MISSING_MPI_UINT32_T 1 15 #define PyMPI_MISSING_MPI_UINT64_T 1 16 #define PyMPI_MISSING_MPI_C_COMPLEX 1 17 #define PyMPI_MISSING_MPI_C_FLOAT_COMPLEX 1 18 #define PyMPI_MISSING_MPI_C_DOUBLE_COMPLEX 1 19 #define PyMPI_MISSING_MPI_C_LONG_DOUBLE_COMPLEX 1 20 #endif 21 22 #define PyMPI_MISSING_MPI_LOGICAL1 1 23 #define PyMPI_MISSING_MPI_LOGICAL2 1 24 #define PyMPI_MISSING_MPI_LOGICAL4 1 25 #define PyMPI_MISSING_MPI_LOGICAL8 1 26 27 #define PyMPI_MISSING_MPI_REAL2 1 28 #define PyMPI_MISSING_MPI_COMPLEX4 1 29 30 #if MPI_VERSION==2 && MPI_SUBVERSION<2 31 #define PyMPI_MISSING_MPI_Op_commutative 1 32 #define PyMPI_MISSING_MPI_Reduce_local 1 33 #define PyMPI_MISSING_MPI_Reduce_scatter_block 1 34 #endif 35 36 #if MPI_VERSION==2 && MPI_SUBVERSION<2 37 #define PyMPI_MISSING_MPI_DIST_GRAPH 1 38 #define PyMPI_MISSING_MPI_UNWEIGHTED 1 39 #define PyMPI_MISSING_MPI_Dist_graph_create_adjacent 1 40 #define PyMPI_MISSING_MPI_Dist_graph_create 1 41 #define PyMPI_MISSING_MPI_Dist_graph_neighbors_count 1 42 #define PyMPI_MISSING_MPI_Dist_graph_neighbors 1 43 #endif 44 45 #if MPI_VERSION==2 && MPI_SUBVERSION<2 46 #define PyMPI_MISSING_MPI_Comm_errhandler_function 1 47 #define PyMPI_MISSING_MPI_Win_errhandler_function 1 48 #define PyMPI_MISSING_MPI_File_errhandler_function 1 49 #endif 50 51 #if defined(MPI_UNWEIGHTED) && (MPICH2_NUMVERSION < 10300000) 52 #undef MPI_UNWEIGHTED 53 #define MPI_UNWEIGHTED ((int *)0) 54 #endif 55 56 #if !defined(MPICH2_NUMVERSION) || (MPICH2_NUMVERSION < 10100000) 57 #define PyMPI_MISSING_MPI_Type_create_f90_integer 1 58 #define PyMPI_MISSING_MPI_Type_create_f90_real 1 59 #define PyMPI_MISSING_MPI_Type_create_f90_complex 1 60 #endif /* MPICH2 < 1.1.0 */ 61 62 #ifndef ROMIO_VERSION 63 #include "mpich2io.h" 64 #endif /* !ROMIO_VERSION */ 65 66 #endif /* !PyMPI_CONFIG_MPICH2_H */ 67