Boost logo

Boost Users :

Subject: Re: [Boost-users] [Boost.MPI] question about serializingcustomobject
From: Cristobal Navarro (axischire_at_[hidden])
Date: 2010-08-26 20:01:56

hello Robert,

now that serialization is working, i would like to try what you suggested on
the first messages, mixing plain MPI with serialization is not that bad,

if its possible could you guide me a little more hints on the streambuf
at the moment what i can do is save objects into binary_oarchive and read
them with a binary_iarchive.

what i dont know is where to put the binary_oarchive so it gets transfered
through MPI send as bytes. that would be the only step remaining right?
best regards

On Thu, Aug 26, 2010 at 8:05 PM, Robert Ramey <ramey_at_[hidden]> wrote:

> Dave Abrahams wrote:
> > BoostPro Computing,
> > Sent from coveted but awkward mobile device
> >
> >> If one were using heterogenious machines, I could understand the
> >> usage of MPI types. But as I understand it, the MPI serialization
> >> presumes that the machines are binary compatible.
> >
> > You're mistaken.
> >
> >> So I'm just not seeing this.
> >
> > Start reading here:
> >
> > and all will be revealed
> lol - I've read that several times. I just never found it to be very
> revealing. The word skeleton seemed pretty suggestive. It's still not
> clear
> to me how such a think can work between heterogeneous machines. For
> example, if I have an array of 2 byte integers and they each need to get
> transformed one by one into a 4 byte integer because that's closest MPI
> data
> type, I don't see how the fact that the "shape" doesn't change helps you.
> So when I read the documentation I didn't find an obvious answer to this
> question. Admitadly my attention span is pretty short when I'm looking at
> something just because I'm curious rather than really needing a solution to
> my problem. So maybe its OK if one has more time to spend on it.
> Robert Ramey
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at