Rheolef
7.1
an efficient C++ finite element environment
compiler_mpi.h
Go to the documentation of this file.
1
# ifndef _RHEOLEF_COMPILER_MPI_H
2
# define _RHEOLEF_COMPILER_MPI_H
3
#include "rheolef/compiler.h"
24
25
#ifdef _RHEOLEF_HAVE_MPI
26
// -----------------------------------------------------------------------
27
// -----------------------------------------------------------------------
28
# pragma GCC diagnostic push
29
# pragma GCC diagnostic ignored "-Weffc++" // MPI C++ leads to warns
30
# include <mpi.h>
31
# pragma GCC diagnostic pop
32
# ifdef _RHEOLEF_HAVE_BOOST_MPI_HPP
33
# include <boost/mpi.hpp>
34
namespace
rheolef
{
35
namespace
mpi
=
boost::mpi
;
36
using
mpi::communicator;
37
}
// namespace rheolef
38
# else
39
# error "boost.mpi library expected"
40
# endif // _RHEOLEF_HAVE_BOOST_MPI_HPP
41
#endif // _RHEOLEF_HAVE_MPI
42
#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