Boost logo

Boost :

Subject: Re: [boost] Boost mpi, serialization and shared_ptr
From: Robert Ramey (ramey_at_[hidden])
Date: 2012-06-01 22:30:17


Max Moorkamp wrote:
> Hi,
>
> I have started to parallelize one of my applications using MPI and I
> am running into trouble with serializing classes that contain
> shared_ptr member to be send through MPI. Below is a minimal case
> that demonstrates my problem.

before we get too carried away, please double check the documentation.

the macro BOOST_SERIALIZATION_EXPORT has
been upgraded to the more precise versions

BOOST_SERIALIZATION_EXPORT_IMPLEMENT
and
BOOST_SERIALIZATION_EXPORT_KEY

Make these tweaks and see if this helps.

Robert Ramey


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk