Subject: [Boost-bugs] [Boost C++ Libraries] #10669: Assertion failed in broadcast with BOOST_MPI_HOMOGENEOUS defined
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-10-16 16:34:54
#10669: Assertion failed in broadcast with BOOST_MPI_HOMOGENEOUS defined
------------------------------+---------------------
Reporter: sam.bateman@⦠| Owner: troyer
Type: Bugs | Status: new
Milestone: To Be Determined | Component: mpi
Version: Boost 1.56.0 | Severity: Problem
Keywords: |
------------------------------+---------------------
When running a program that does a very simple broadcast of a map<int,
int> from the root proc (0) to another proc (1), I get this error:
{{{
Assertion failed: (position+l<=static_cast<int>(buffer_.size())), function
load_impl, file
/Users/sbateman/tmp/boost_mpi_test/boost_1_56_0/boost/mpi/detail/binary_buffer_iprimitive.hpp,
line 110.
}}}
This only happens when I compile Boost with BOOST_MPI_HOMOGENEOUS defined
(i.e., uncommented) in boost/mpi/config.hpp. If I leave that line
commented out, the program completes successfully.
I've attached a source file (test.cpp) that reproduces this error. I
tested this on a Mac system with OS X 10.9.5 and compiler version:
{{{
Apple LLVM version 6.0 (clang-600.0.51) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin13.4.0
}}}
and also on a Linux system with compiler version:
{{{
gcc version 4.8.2 20131016 (Cray Inc.) (GCC)
Target: x86_64-suse-linux
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/10669> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:17 UTC