diff --git a/include/boost/mpi/collectives/all_gather.hpp b/include/boost/mpi/collectives/all_gather.hpp index da665e9..da73186 100644 --- a/include/boost/mpi/collectives/all_gather.hpp +++ b/include/boost/mpi/collectives/all_gather.hpp @@ -40,10 +40,7 @@ namespace detail { all_gather_impl(const communicator& comm, const T* in_values, int n, T* out_values, mpl::false_) { - std::cerr << comm.rank() << ": gathering " << n << " values to root 0..." << std::endl; - std::cerr << in_values << ", " << out_values << std::endl; gather(comm, in_values, n, out_values, 0); - std::cerr << comm.rank() << ": broadcasting from root 0..." << std::endl; broadcast(comm, out_values, comm.size() * n, 0); } } // end namespace detail diff --git a/include/boost/mpi/detail/binary_buffer_iprimitive.hpp b/include/boost/mpi/detail/binary_buffer_iprimitive.hpp index 6b3a04b..ccfae15 100644 --- a/include/boost/mpi/detail/binary_buffer_iprimitive.hpp +++ b/include/boost/mpi/detail/binary_buffer_iprimitive.hpp @@ -105,8 +105,6 @@ private: void load_impl(void * p, int l) { - if (position+l > static_cast(buffer_.size())) - std::cerr << position << " " << l << " " << buffer_.size() << "\n"; assert(position+l<=static_cast(buffer_.size())); std::memcpy(p,&buffer_[position],l); position += l;