Boost logo

Boost Users :

Subject: Re: [Boost-users] boost MPI user-defined datatype.
From: Jack Bryan (dtustudy68_at_[hidden])
Date: 2010-06-24 11:11:54


thanks !!! It works !
Jack

> Date: Wed, 23 Jun 2010 11:38:19 +0200
> From: riccardo.murri_at_[hidden]
> To: boost-users_at_[hidden]
> Subject: Re: [Boost-users] boost MPI user-defined datatype.
>
> Hello Jack,
>
> On Wed, Jun 23, 2010 at 2:08 AM, Jack Bryan <dtustudy68_at_[hidden]> wrote:
> > Where can I find some boost.MPI example program about how to transfer
> > user-defined datatype from
> > one process to another process ?
> >
>
> Boost.MPI uses Boost.Serialization to transfer C++ class instances;
> it handles the lower-level details of user-defined MPI datatypes for
> you. So, you should just provide serialization support for all your
> objects, and then you can just send/recv them directly.
>
> I attach a very simple example, using a class to send the usual "hello
> from rank XX" message.
>
> Cheers,
> Riccardo
                                               
_________________________________________________________________
The New Busy is not the old busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_3



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