compiler_mpi.h
Go to the documentation of this file.
# ifndef _RHEOLEF_COMPILER_MPI_H
# define _RHEOLEF_COMPILER_MPI_H
#include "rheolef/compiler.h"
#ifdef _RHEOLEF_HAVE_MPI
// -----------------------------------------------------------------------
// -----------------------------------------------------------------------
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Weffc++" // MPI C++ leads to warns
# include <mpi.h>
# pragma GCC diagnostic pop
# ifdef _RHEOLEF_HAVE_BOOST_MPI_HPP
# include <boost/mpi.hpp>
namespace rheolef {
namespace mpi = boost::mpi;
using mpi::communicator;
} // namespace rheolef
# else
# error "boost.mpi library expected"
# endif // _RHEOLEF_HAVE_BOOST_MPI_HPP
#endif // _RHEOLEF_HAVE_MPI
#endif // _RHEOLEF_COMPILER_MPI_H
boost::mpi
Definition: mpi_pair_datatype.h:47
rheolef
This file is part of Rheolef.
Definition: compiler_eigen.h:37