Boost logo

Boost Users :

Subject: Re: [Boost-users] mpi/serialization: broadcasting derived classhrough base pointer 1.47
From: Jari (jaristr_at_[hidden])
Date: 2012-02-21 19:48:10


On Mon, Feb 20, 2012 at 12:07 PM, MM <finjulhich_at_[hidden]> wrote:
>> -----Original Message-----
>> From: boost-users-bounces_at_[hidden] [mailto:boost-users-
>> bounces_at_[hidden]] On Behalf Of Jari
>> Sent: 19 February 2012 23:39
>> To: boost-users_at_[hidden]
>> Subject: Re: [Boost-users] mpi/serialization: broadcasting derived
>> classhrough base pointer 1.47
>>
>> On Thu, Jan 26, 2012 at 7:24 PM, Matthias Troyer <troyer_at_[hidden]>
>> wrote:
>> >
>> > On 24 Jan 2012, at 19:28, MM wrote:
>> >
>> >>> -----Original Message-----
>> >>> From: boost-users-bounces_at_[hidden] [mailto:boost-users-
>> >>> bounces_at_[hidden]] On Behalf Of Robert Ramey
>> >>> Sent: 24 January 2012 17:53
>> >>> To: boost-users_at_[hidden]
>> >>> Subject: Re: [Boost-users] mpi/serialization: broadcasting derived
>> >>> classhrough base pointer 1.47
>> >>>
>> >>> MM wrote:
>> >>> typedef templateclass<arg> myclass;
>> >>>>
>> >>>> On the sending side, I have BOOST_CLASS_EXPORT_KEY(
>> >>>> namespace::namespace::myclass )
>> >>>>
>> >>>> I don't know why it is not sent down the pipe.
>> >>>
>> >>> Note that you'll have to have BOOST_CLASS_EXPORT... on BOTH sides.
>> >>>
>> >>> This is usually assured by having the save and load symetrical.
>> >>>
>> >>> Robert Ramey
>> >>
>> >> Thanks, I do.
>> >>
>> >> So there's nothing particular about using BOOST_CLASS_EXPORT_KEY
>> with a
>> >> instantiation of a class template?
>> >>
>> >> I think what's left is to find where the class name is written for
>> the mpi o
>> >> packed archive, which is what I'm looking for.
>> >
>> > I found the cuplrit and will submit a patch when I find time -
>> probably tomorrow night or over the weekend.
>> > Matthias
>> >
>> > _______________________________________________
>> > Boost-users mailing list
>> > Boost-users_at_[hidden]
>> > http://lists.boost.org/mailman/listinfo.cgi/boost-users
>>
>> has this been fixed yet?
>
>
> Matthias asked me to test the mpi archives.
> I need to get time to look at the issue again.
> Do you observe the same problem?
>
> Regards
>
> MM
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users

yes class name not found.

but i think I got it working but include correct headers before
BOOST_CLASS_EXPORT macro.

the macro didnt register the class until this.

but i dont know what headers it requires i just included lot of the
serialization headers


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