
On Mon, Feb 20, 2012 at 12:07 PM, MM
-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users- bounces@lists.boost.org] On Behalf Of Jari Sent: 19 February 2012 23:39 To: boost-users@lists.boost.org Subject: Re: [Boost-users] mpi/serialization: broadcasting derived classhrough base pointer 1.47
On Thu, Jan 26, 2012 at 7:24 PM, Matthias Troyer
wrote: On 24 Jan 2012, at 19:28, MM wrote:
-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users- bounces@lists.boost.org] On Behalf Of Robert Ramey Sent: 24 January 2012 17:53 To: boost-users@lists.boost.org 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
instantiation of a class template?
I think what's left is to find where the class name is written for
packed archive, which is what I'm looking for.
I found the cuplrit and will submit a patch when I find time -
with a the mpi o probably tomorrow night or over the weekend.
Matthias
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org 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@lists.boost.org 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