Boost logo

Boost Users :

Subject: Re: [Boost-users] mpi/serialization: broadcasting derived class hrough base pointer 1.47
From: MM (finjulhich_at_[hidden])
Date: 2012-01-23 12:38:18


Matthias Troyer,

I send the broadcast with

send.cpp
boost::mpi::broadcast( , const derived*&, )

receive.cpp
boost::mpi::broadcast( , base*&, )

both .cpp files contain BOOST_CLASS_EXPORT_KEY macro for the derived types.

send succeeds while receive throws unregistered exception however.

Robert Ramey,
while debugging, could you point out where I should see the class name being
sent down the archive?
and where it is read from the archive?

Thanks,

MM


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