[Dune] Question about parallelization

Markus Blatt Markus.Blatt at iwr.uni-heidelberg.de
Thu Sep 9 14:00:20 CEST 2010


Hi

On Thu, Sep 09, 2010 at 01:52:13PM +0200, Aleksejs Fomins wrote:
> 
> Does that mean that I have to reserve memory for a huge array in all
> processes, but it will actually
> be filled only in the master process?
> 

No just on the root processes one with size N*P (N is the array size
each process sends and P is the number of processes). On the other ones
passing a null pointer or very small array should do.

May I asked how big your N is and what you trying to accomplish ?

Markus
-- 
Markus Blatt, Interdisciplinary Center for Scientific Computing,
University Heidelberg, Im Neuenheimer Feld 368, D-69120 Heidelberg

'Mathematics knows no races or geographic boundaries; for
mathematics, the cultural world is one country' - David Hilbert




More information about the Dune mailing list