I&#39;m not sure why the following test-class produces this error: &quot;MPI_Recv: MPI_ERR_TRUNCATE: message truncated&quot;<br><br>If the std::map has only a single element (ie I remove one of the test[].push_back() lines) the error does not occur. Can someone verify that this is indeed a bug and not just novice misuse of the library?<br>

<br>Thanks,<br>Tim<br><br>#include &lt;boost/mpi.hpp&gt;<br>#include &lt;boost/serialization/string.hpp&gt;<br>#include &lt;boost/serialization/vector.hpp&gt;<br>#include &lt;boost/serialization/map.hpp&gt;<br><br>int<br>

main( int argc, char * argv [] )<br>{<br>� boost::mpi::environment env(argc, argv);<br>� boost::mpi::communicator world;<br><br>� if(world.rank()==0){<br>����� std::map&lt;int, std::vector&lt;std::string&gt; &gt; test;<br>

����� test[1].push_back(&quot;FOO&quot;);<br>����� test[50].push_back(&quot;BAR&quot;);<br>����� world.send(1, 1, boost::mpi::skeleton(test));<br>����� world.send(1, 1, boost::mpi::get_content(test));<br>����� std::cout &lt;&lt; &quot;sent&quot; &lt;&lt; std::endl;<br>

� }<br>� else{<br>����� std::map&lt;int, std::vector&lt;std::string&gt; &gt; test;<br>����� world.recv(0,1,boost::mpi::skeleton(test));<br>����� world.recv(0,1,boost::mpi::get_content(test));<br>� }<br>}<br><br>