Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] speed up this problem by MPI
From: Eugene Loh (Eugene.Loh_at_[hidden])
Date: 2010-01-29 11:31:10

Tim wrote:

>By serialization, I mean in the context of data storage and transmission. See
>e.g. in a structure or class, if there is a pointer pointing to some memory outside the structure or class, one has to send the content of the memory besides the structure or class, right?
Okay, yes. There are also MPI_Pack/MPI_Unpack functions that take
general data types and pack them into contiguous (serialized) buffers.
But you first have to describe to MPI what those data structures look
like. And it can certainly get complicated.

I think I don't have much else to contribute here. There are lots of
options and decisions to make based on the particulars of your data
structures. The general problem can certainly be complicated, as you've
already indicated. Good luck.