summaryrefslogtreecommitdiff
path: root/boost/mpi/environment.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/mpi/environment.hpp')
-rw-r--r--boost/mpi/environment.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/boost/mpi/environment.hpp b/boost/mpi/environment.hpp
index 92af129f38..cb90b6d046 100644
--- a/boost/mpi/environment.hpp
+++ b/boost/mpi/environment.hpp
@@ -265,6 +265,12 @@ public:
*/
static bool is_main_thread();
+ /** @brief MPI version.
+ *
+ * Returns a pair with the version and sub-version number.
+ */
+ static std::pair<int, int> version();
+
private:
/// Whether this environment object called MPI_Init
bool i_initialized;