[mpi] non-char strings

The last two checkouts I installed both failed passing strings through boost::mpi communication methods when the element type was not char. So maybe someone besides me will have use for the attached patch which makes it work again. I assume this way of passing strings isn't here to stay anyway since boost::serialization also handles strings. Best regards, Isidor

Did that ([1]). Thanks. Best regards, Isidor [1] https://svn.boost.org/trac/boost/ticket/3394

On 2 Sep 2009, at 14:40, Isidor Zeuner wrote:
Unfortunately Boost.Serialization treats strings as "fundamental types", meaning every archive needs to implement serialization of strings. Your patch needs to replace MPI_CHAR by the appropriate MPI type. I'll apply the correct patch. Matthias

On 2 Sep 2009, at 14:40, Isidor Zeuner wrote:
Unfortunately Boost.Serialization treats strings as "fundamental types", meaning every archive needs to implement serialization of strings. Your patch needs to replace MPI_CHAR by the appropriate MPI type. I'll apply the correct patch. Matthias
participants (3)
-
Isidor Zeuner
-
Jeremiah Willcock
-
Matthias Troyer