Skip to Content.
Sympa Menu

charm - Re: [charm] Distribution of chares on PEs

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] Distribution of chares on PEs


Chronological Thread 
  • From: Alexander Frolov <alexndr.frolov AT gmail.com>
  • To: Sam White <white67 AT illinois.edu>
  • Cc: Nikhil Jain <nikhil.jain AT acm.org>, "charm AT cs.illinois.edu" <charm AT cs.illinois.edu>
  • Subject: Re: [charm] Distribution of chares on PEs
  • Date: Sat, 27 Feb 2016 23:54:15 +0300

Thank you very much for help! :-)

On Fri, Feb 26, 2016 at 3:24 AM, Sam White <white67 AT illinois.edu> wrote:
You can always add a print statement to your chare array element constructor with a call to CkMyPe() to find out what PE it is created on. CkMyPe() and related functions are covered in the manual here:


On Thu, Feb 25, 2016 at 5:45 PM, Nikhil Jain <nikhil.jain AT acm.org> wrote:
Hi Alex,

Assuming the array was created statically in one go, the default distribution for dense arrays is based on a blocked mapping, i.e. chare with index i goes to PE number (i / (total_chares/numPes)). If this is not your case, please tell us what it is.

--Nikhil

February 25, 2016 at 14:01 via Postbox
Hi!

Sorry for asking probably very simple question. But anyway.. 

I would like to use number of PEs not equal to power of 2. How is array (array[1D]) distributed among PEs?

Thank you!

Best, 
   Alex   

--
Nikhil Jain, nikhil.jain AT acm.orghttp://charm.cs.uiuc.edu/people/nikhil
Doctoral Candidate @ CS, UIUC





Archive powered by MHonArc 2.6.16.

Top of Page