LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Bogdan Costescu (bogdan.costescu_at_[hidden])
Date: 2003-05-21 11:56:59


On Wed, 21 May 2003, Brian W. Barrett wrote:

> In most cases, the best you can do is to copy out the bits of information
> you want into another structure and send that through MPI, unpacking it
> and recreating the object on the receiving side.

(in most cases) ... but there are cases where the extra copying takes too
much time, so sending the whole structure and picking the important bits
on the receiving side might be more efficient. You can even send pointers,
*if* you make sure that you don't use them on the receving side :-)

-- 
Bogdan Costescu
IWR - Interdisziplinaeres Zentrum fuer Wissenschaftliches Rechnen
Universitaet Heidelberg, INF 368, D-69120 Heidelberg, GERMANY
Telephone: +49 6221 54 8869, Telefax: +49 6221 54 8868
E-mail: Bogdan.Costescu_at_[hidden]