Rheolef  7.2
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
23 #include "rheolef/compiler.h"
24 
25 #ifdef _RHEOLEF_HAVE_MPI
26 // -----------------------------------------------------------------------
27 # pragma GCC diagnostic push
28 # pragma GCC diagnostic ignored "-Weffc++" // MPI C++ leads to warns
29 # pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
30 # pragma GCC diagnostic ignored "-Wparentheses"
31 # include <mpi.h>
32 # ifdef _RHEOLEF_HAVE_BOOST_MPI_HPP
33 # include <boost/mpi.hpp>
34  namespace rheolef {
35  namespace mpi = boost::mpi;
36  } // namespace rheolef
37 # else
38 # error "boost.mpi library expected"
39 # endif // _RHEOLEF_HAVE_BOOST_MPI_HPP
40 # pragma GCC diagnostic pop
41 // -----------------------------------------------------------------------
42 #endif // _RHEOLEF_HAVE_MPI
43 #endif // _RHEOLEF_COMPILER_MPI_H
This file is part of Rheolef.