LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Subir Singh Lamba (subirs_at_[hidden])
Date: 2005-11-08 12:26:22


Hi,

I would like to seek suggestion as to how to broadcast a strcucture to other
processor's. let me write in detail. I am generating some 10,000 3d figures
(called zones) using only five processor (it could vary). I make each
processor calculate the geometry parameter for a 2000 3d figures. That is :-
process with rank=0 calculates geometry parameters for zones from 1 to 2000.
process with rank=1 calculates geometry parameters for zones from 2001 to
4000 .. etc

All the parameters are stored in structure which is common to each processor
but one processor stores on information for 2000 zones rest it NULL in its
memory. But I want each processor to have information about all the 10,000
zones. So my question is How to write the data into the memory of other
processor. For e.g. information about first 2000 zones into memory of
processor with rank=1,2,3,4.

thanks,

Subir