1 // Copyright (C) 2018 Alain Miniussi <alain.miniussi -at- oca.eu>. 2 3 // Use, modification and distribution is subject to the Boost Software 4 // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 5 // http://www.boost.org/LICENSE_1_0.txt) 6 7 /** @file error_string.hpp 8 * 9 * Error code to string convertion. 10 */ 11 #ifndef BOOST_MPI_ERROR_STRING_HPP 12 #define BOOST_MPI_ERROR_STRING_HPP 13 14 #include <boost/mpi/config.hpp> 15 #include <string> 16 17 namespace boost { namespace mpi { 18 19 /** 20 * @brief Convert a MPI error code to an error string. 21 */ 22 std::string error_string(int err_code); 23 24 } } // end namespace boost::mpi 25 26 #endif // BOOST_MPI_ERROR_STRING_HPP 27