[MPICH] Sending, receiving and braodcasting a user defined C++ class
John Robinson
jr at vertica.com
Wed Dec 21 11:25:05 CST 2005
We solved this using the Boost library serialization package. It is a
little extra work at first but works like a champ; you wind up sending
strings which are pretty compact.
/jr
---
Yann Golanski wrote:
> I'm looking for advice here and hopefully this could be included into
> an FAQ or whatnot.
>
> The attached code move data from a class in processor 0 to all the
> other in such a way as said data ends up in the same type of class at
> the end.
>
> My questions are:
> 1- Is there a better way of doing this?
> 2- How can my code be optimised?
> 3- Any other comments?
>
> Thanks.
>
More information about the mpich-discuss
mailing list