seq.hpp 613 B

12345678910111213141516171819202122
  1. // Copyright (C) 2018 Alain Miniussi <alain.miniussi -at- oca.eu>.
  2. // Use, modification and distribution is subject to the Boost Software
  3. // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  4. // http://www.boost.org/LICENSE_1_0.txt)
  5. /** @file seq.hpp
  6. *
  7. * Minimal MPI dummy declaration.
  8. * We need those when we want a sequential (eg one process) MPI version of the code.
  9. */
  10. #ifndef BOOST_MPI_SEQ_HPP
  11. #define BOOST_MPI_SEQ_HPP
  12. namespace boost { namespace mpi {
  13. int const MPI_SUCCESS = 0;
  14. int const MPI_ANY_SOURCE = -2;
  15. int const MPI_ANY_TAG = -1;
  16. } }
  17. #endif // BOOST_MPI_SEQ_HPP