[Carpet] more than one component per CPU

Erik Schnetter schnetter at cct.lsu.edu
Thu Aug 31 21:55:50 CEST 2006


On Aug 31, 2006, at 10:08:43, Bela Szilagyi wrote:

> Is there a way to make Carpet distribute more than one components  
> per CPU?
>
> Or is trial and error (for a given grid, changing the nr of  
> processes) the
> only available method?

The easiest way is to use a grid with 2 components on 1 processor.

> I am working on code that is meant to deal with the case where the  
> nr of
> components is different from one CPU to the next, and it would be  
> helpful for
> testing.

The number of components is currently always the same on all  
processors.  This is a property of the load distribution algorithm,  
not of how Carpet is parallelised, and I don't want to guarantee that  
for the future.

If you want to experiment with this, e.g. to look at performance  
characteristics, then it would be rather easy to introduce a new  
parameter to CarpetRegrid which lets you specify how the grids should  
be distributed onto processors.

-erik

-- 
Erik Schnetter <schnetter at cct.lsu.edu>

My email is as private as my paper mail.  I therefore support encrypting
and signing email messages.  Get my PGP key from www.keyserver.net.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : /archives/developers/attachments/20060831/e84a0d88/attachment.pgp 


More information about the developers mailing list