Boost logo

Boost Users :

Subject: Re: [Boost-users] [mpi] many undefined references to serialize<boost::mpi::detail::mpi_datatype_oarchive>
From: Riccardo Murri (riccardo.murri_at_[hidden])
Date: 2012-09-11 11:50:20


Hello,

On Tue, Sep 11, 2012 at 12:51 AM, Brian Budge <brian.budge_at_[hidden]> wrote:
> I've got a class hierarchy that can already be serialized into text or
> binary archives. I'm explicitly instantiating the template functions
> for serialize and/or load/save.
>
> I'm trying to add the capability to have boost mpi perform the
> serialization through send/recv/broadcast.

If your class has serialization support, that's enough. You should
not provide specialization for mpi::detail classes.

(Of course, YMMV - since you didn't provide any code, my comment above
could be completely off ...)

Cheers,
Riccardo


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