123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174 |
- #ifndef BOOST_MPI_CONFIG_HPP
- #define BOOST_MPI_CONFIG_HPP
- #define MPICH_IGNORE_CXX_SEEK 1
- #define OMPI_SKIP_MPICXX
- #include <mpi.h>
- #include <boost/config.hpp>
- #define BOOST_MPI_HOMOGENEOUS
- #if defined MPI_VERSION
- # define BOOST_MPI_VERSION MPI_VERSION
- #else
- # define BOOST_MPI_VERSION 2
- #endif
- #if defined MPI_SUBVERSION
- # define BOOST_MPI_SUBVERSION MPI_SUBVERSION
- #else
- # define BOOST_MPI_SUBVERSION 2
- #endif
- #if BOOST_MPI_VERSION >= 2
- # define BOOST_MPI_HAS_MEMORY_ALLOCATION
- # define BOOST_MPI_HAS_NOARG_INITIALIZATION
- #else
- #endif
- #if defined(MPIAPI)
- # define BOOST_MPI_CALLING_CONVENTION MPIAPI
- #else
- # define BOOST_MPI_CALLING_CONVENTION
- #endif
- #define BOOST_MPI_BCAST_BOTTOM_WORKS_FINE
- #if defined(LAM_MPI)
- # define BOOST_MPI_HAS_MEMORY_ALLOCATION
- # define BOOST_MPI_HAS_NOARG_INITIALIZATION
- # undef BOOST_MPI_BCAST_BOTTOM_WORKS_FINE
- #endif
- #if defined(MPICH_NAME)
- #endif
- #if defined(OPEN_MPI)
- #endif
- #if BOOST_MPI_VERSION >= 3
- # if defined(I_MPI_NUMVERSION)
- # if I_MPI_NUMVERSION > 20190004000
- # define BOOST_MPI_USE_IMPROBE 1
- # endif
- # else
- # define BOOST_MPI_USE_IMPROBE 1
- # endif
- #endif
- #if (defined(BOOST_MPI_DYN_LINK) || defined(BOOST_ALL_DYN_LINK)) && !defined(BOOST_MPI_STATIC_LINK)
- # if defined(BOOST_MPI_SOURCE)
- # define BOOST_MPI_DECL BOOST_SYMBOL_EXPORT
- # define BOOST_MPI_BUILD_DLL
- # else
- # define BOOST_MPI_DECL BOOST_SYMBOL_IMPORT
- # endif
- #endif
- #ifndef BOOST_MPI_DECL
- # define BOOST_MPI_DECL
- #endif
- #if !defined(BOOST_MPI_NO_LIB) && !defined(BOOST_MPI_SOURCE) && !defined(BOOST_ALL_NO_LIB) && defined(__cplusplus)
- # define BOOST_LIB_NAME boost_mpi
- # if defined(BOOST_MPI_DYN_LINK) || defined(BOOST_ALL_DYN_LINK)
- # define BOOST_DYN_LINK
- # endif
- # ifdef BOOST_MPI_DIAG
- # define BOOST_LIB_DIAGNOSTIC
- # endif
- # include <boost/config/auto_link.hpp>
- #endif
- #endif // BOOST_MPI_CONFIG_HPP
|