1 # ifndef _RHEO_ENVIRONMENT_H
2 # define _RHEO_ENVIRONMENT_H
79 #include "rheolef/distributed.h"
80 #include <boost/optional.hpp>
88 #ifdef _RHEOLEF_HAVE_MPI
101 #ifndef _RHEOLEF_HAVE_MPI
121 static void abort(
int errcode);
125 static boost::optional<int>
io_rank();
128 bool _rheolef_has_init;
130 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