|
Boost Users : |
Subject: Re: [Boost-users] [MPI / Serialization] unable to register user-defined class for serialization through base class pointer
From: Matthias Troyer (troyer_at_[hidden])
Date: 2009-05-30 01:02:52
On 27 May 2009, at 03:04, Ariel Ouziel wrote:
> Hello,
>
> Note also that if I use dtask pointer instead of task with send and
> recv, the program runs fine.
>
> Additionaly, if I use primitive type like "int" instead of
> std::string in my derived class, the compilation goes fine with the
> export statement.
>
> It seems to me that at some point the compiler tries to get the MPI
> datatype of std::string even if it shouldn't since it's not a
> primitive type.
>
> What am I missing here ?
This is strange. Have you tried sending just a std::string or a dtask
object?
Matthias
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net