Imported Upstream version 1.72.0
[platform/upstream/boost.git] / tools / boost_install / test / mpi / quick.cpp
1
2 // Copyright 2019 Peter Dimov.
3 //
4 // Distributed under the Boost Software License, Version 1.0.
5 //
6 // See accompanying file LICENSE_1_0.txt or copy at
7 // http://www.boost.org/LICENSE_1_0.txt
8
9 #include <boost/mpi/environment.hpp>
10 #include <boost/core/lightweight_test.hpp>
11
12 int main()
13 {
14     std::pair<int, int> ver = boost::mpi::environment::version();
15
16     BOOST_TEST_EQ( ver.first, MPI_VERSION );
17     BOOST_TEST_EQ( ver.second, MPI_SUBVERSION );
18
19     return boost::report_errors();
20 }