Boost C++ Libraries: Ticket #3918: MPI std::string serialization https://svn.boost.org/trac10/ticket/3918 <p> I'm new in MPI and cluster computations. I have 2 machines on gentoo (amd64 and x86), both with openmpi-1.4.1 and boost-1.41.0 . 'Heterogeneous' flags is set. I'm trying to run example at <a href="http://www.boost.org/doc/libs/1_41_0/doc/html/mpi/tutorial.html#mpi.nonblocking">http://www.boost.org/doc/libs/1_41_0/doc/html/mpi/tutorial.html#mpi.nonblocking</a> and it work when i run it in two processes at one machine, but it throws an exception, if i use both (-npernode 1). I didn't fully understand what serialization does, but on separate machine it work with or without it (i'm talking about header boost/serialization/string.hpp), with using both of machines, i always have exception. </p> <p> I don't mark that message as bug, i really think i'm just doing something wrong. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3918 Trac 1.4.3 Ghost99 <ghost99@…> Thu, 11 Feb 2010 12:38:22 GMT attachment set https://svn.boost.org/trac10/ticket/3918 https://svn.boost.org/trac10/ticket/3918 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">exception.txt</span> </li> </ul> <p> Exception text </p> Ticket Matthias Troyer Wed, 03 Nov 2010 19:01:22 GMT <link>https://svn.boost.org/trac10/ticket/3918#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3918#comment:1</guid> <description> <p> Can you check whether this still exists for the current trunk? </p> </description> <category>Ticket</category> </item> <item> <author>ghost99@…</author> <pubDate>Sat, 25 Dec 2010 19:13:32 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3918#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3918#comment:2</guid> <description> <p> No, I can't. Current version of boost available in Gentoo portage is 1.42.0, and problem is still there. Serialization does not work like it should. It's impossible to send vectors of any type or strings, with or without using 'skeleton' (from x86_64 to x86). Exception is rising when 'skeleton' is broadcasting. </p> <p> On x86_64 to x86_64 broadcasting all fine. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Matthias Troyer</dc:creator> <pubDate>Sat, 25 Dec 2010 19:29:44 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3918#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3918#comment:3</guid> <description> <p> You could build it from source. </p> </description> <category>Ticket</category> </item> <item> <author>ghost99@…</author> <pubDate>Sun, 26 Dec 2010 00:05:54 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3918#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3918#comment:4</guid> <description> <p> I have installed boost-1.45.0 from overlay to both of machines. And result is same. Here is my source code, please check it for stupid errors. This code work fine in homogeneous network (all processes in one machine), but in heterogeneous network raise exception. </p> <p> Of course OpenMPI compiled with heterogeneous flag. </p> </description> <category>Ticket</category> </item> <item> <author>ghost99@…</author> <pubDate>Sun, 26 Dec 2010 00:08:03 GMT</pubDate> <title>attachment set https://svn.boost.org/trac10/ticket/3918 https://svn.boost.org/trac10/ticket/3918 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">vector.cc</span> </li> </ul> <p> Hello world code. </p> Ticket Matthias Troyer Tue, 01 Jan 2013 11:09:35 GMT owner changed https://svn.boost.org/trac10/ticket/3918#comment:5 https://svn.boost.org/trac10/ticket/3918#comment:5 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Douglas Gregor</span> to <span class="trac-author">Matthias Troyer</span> </li> </ul> Ticket