BOOST_MPI_VERSION — Major version of the underlying MPI implementation supproted standard.
// In header: <boost/mpi/config.hpp> BOOST_MPI_VERSION
If, for some reason, MPI_VERSION is not supported, you should probably set that according to your MPI documentation