I'm not sure why the following test-class produces this error: "MPI_Recv: MPI_ERR_TRUNCATE: message truncated"<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 <boost/mpi.hpp><br>#include <boost/serialization/string.hpp><br>#include <boost/serialization/vector.hpp><br>#include <boost/serialization/map.hpp><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<int, std::vector<std::string> > test;<br> ����� test[1].push_back("FOO");<br>����� test[50].push_back("BAR");<br>����� world.send(1, 1, boost::mpi::skeleton(test));<br>����� world.send(1, 1, boost::mpi::get_content(test));<br>����� std::cout << "sent" << std::endl;<br> � }<br>� else{<br>����� std::map<int, std::vector<std::string> > test;<br>����� world.recv(0,1,boost::mpi::skeleton(test));<br>����� world.recv(0,1,boost::mpi::get_content(test));<br>� }<br>}<br><br>