Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: Re: [OMPI users] communicate C++ STL strucutures ??
From: Cristobal Navarro (axischire_at_[hidden])
Date: 2010-05-07 17:05:17


Thanks for the answer,

ill will look at them when i get to this point, i've heard good comments
about boost.
Cristobal

On Fri, May 7, 2010 at 4:49 PM, Fernando Lemos <fernandotcl_at_[hidden]>wrote:

> On Fri, May 7, 2010 at 5:33 PM, Cristobal Navarro <axischire_at_[hidden]>
> wrote:
> > Hello,
> >
> > my question is the following.
> >
> > is it possible to send and receive C++ objects or STL structures (for
> > example, send map<a,b> myMap) through openMPI SEND and RECEIVE functions?
> > at first glance i thought it was possible, but after reading some doc, im
> > not sure.
> > i dont have my source code at that stage for testing yet
>
> Not normally, you have to serialize it before sending and deserialize
> it after sending. You could use Boost.MPI and Boost.Serialize too,
> that would probably be the best way to go.
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>