1 # ifndef _RHEO_ENVIRONMENT_H
2 # define _RHEO_ENVIRONMENT_H
79 #include "rheolef/communicator.h"
81 #pragma GCC diagnostic push
82 #pragma GCC diagnostic ignored "-Weffc++"
83 #pragma GCC diagnostic ignored "-Wparentheses"
84 #pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
85 #include <boost/optional.hpp>
86 #pragma GCC diagnostic pop
94 #ifdef _RHEOLEF_HAVE_MPI
107 #ifndef _RHEOLEF_HAVE_MPI
127 static void abort(
int errcode);
131 static boost::optional<int>
io_rank();
134 bool _rheolef_has_init;
136 static const int _num_reserved_tags = 1;
see the environment page for the full documentation
static std::string processor_name()
static bool initialized()
static boost::optional< int > io_rank()
environment(int &argc, char **&argv, const environment_option_type &opt=environment_option_type())
static boost::optional< int > host_rank()
static void abort(int errcode)
static int collectives_tag()
This file is part of Rheolef.
static const int no_thread
environment_option_type()
static const int default_thread