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
119 static bool initialized();
120 static bool finalized();
121 static void abort(
int errcode);
122 static int max_tag();
123 static int collectives_tag();
124 static boost::optional<int> host_rank();
125 static boost::optional<int> io_rank();
126 static std::string processor_name();
128 bool _rheolef_has_init;
130 static const int _num_reserved_tags = 1;
see the environment page for the full documentation
environment(int &argc, char **&argv, const environment_option_type &opt=environment_option_type())
This file is part of Rheolef.
static const int no_thread
environment_option_type()
static const int default_thread