2
0
mirror of https://github.com/boostorg/mpi.git synced 2026-02-25 16:32:22 +00:00
Files
mpi/test/debugger.hpp
Alain Miniussi c527609cf6 adapted save_override for archive::class_id_optional_type to an API chenage in serialize so that it can be recognized.
added to UNIX only debug helper (not atually compiled by default) so that we can attach gdb to speciic MPI process.
2015-04-15 18:13:58 +02:00

19 lines
554 B
C++

// Copyright AlainMiniussi 20014 - 20015.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include <vector>
#include "boost/mpi/communicator.hpp">
/*
#include "boost/mpi/debugger.hpp"
std::vector<int> processes;
for (int i=1; i < argc; ++i) {
processes.push_back(atoi(argv[i]));
}
wait_for_debugger(processes, comm);
*/
void wait_for_debugger(std::vector<int> const& processes, boost::mpi::communicator comm);