id summary reporter owner description type status milestone component version severity resolution keywords cc 5065 Valgrind complaint when using Boost MPI dongryel@… Douglas Gregor "I am using the latest Boost library (version 1.45.0) on Ubuntu. I have built Boost from the source using the bjam. boost::mpi::all_reduce uses boost::mpi::broadcast which seems to generate annoying invalid write errors under valgrind. The problem points to the line 47 in boost/mpi/detail/packed_oprimitive.hpp in const std::size_t &size() const function. I changed the function to: const std::size_t& size() const { const_cast(size_) = buffer_.size(); return size_; } and the valgrind complaint seems to be gone. Const_cast seems less than ideal, but it fixes the problem." Patches new To Be Determined mpi Boost 1.45.0 Cosmetic Boost MPI