|
Boost Users : |
Subject: Re: [Boost-users] [Boost.MPI] question about serializing custom object
From: Robert Ramey (ramey_at_[hidden])
Date: 2010-08-26 14:56:11
Cristobal Navarro wrote:
> the other question is
> on the tutorials i only found examples of serializing objects to
> archive and saving to file, but i didnt find any example where they
> serialize it to a binary form and send them through mpi, is there any
> example of this type on the documentation?
no
Feel free to contribute one.
If I had nothing else to do, I would
a) make a stream_buf which uses MPI
b) use binary_iarchive and binary_oarchive with this new stream_buf
c) open one program with binary_oarchive and the other with binary_iarchive
d) do ar << on one end and ar >> at the other
e) stand back and let'er rip.
Robert Ramey
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