Subject: [Boost-bugs] [Boost C++ Libraries] #10199: When requested mpi threading level cannot be provided, some sort of error should be reported
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-07-15 18:17:53
#10199: When requested mpi threading level cannot be provided, some sort of error
should be reported
------------------------------+----------------------
Reporter: ClaytonGDavis@⦠| Owner: troyer
Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: mpi
Version: Boost 1.55.0 | Severity: Cosmetic
Keywords: |
------------------------------+----------------------
When mpi::environment requests a threading level with one of the
constructors:
{{{
explicit environment(threading::level, bool = true);
environment(int &, char **&, threading::level, bool = true);
}}}
there is no guarantee that the requested threading level is actually
available. Boost::mpi receives the actual threading level provided, but
ignores it.
Instead, I suggest that an exception should be thrown when the provided
level of threading support is less than requested. This would, for
example, catch the common scenario where the MPI library was only compiled
for single-threaded programs.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/10199> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:16 UTC