charm AT lists.siebelschool.illinois.edu
Subject: Charm++ parallel programming system
List archive
- 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:http://charm.cs.illinois.edu/manuals/html/charm++/2.html#SECTION01191000000000000000
And you might find this section of the manual on defining new static mappings with CkArrayMaps useful:
http://charm.cs.illinois.edu/manuals/html/charm++/13.html#SECTION02422000000000000000
-SamOn 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 PostboxHi!
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.org, http://charm.cs.uiuc.edu/people/nikhil
Doctoral Candidate @ CS, UIUC
- [charm] Distribution of chares on PEs, Alexander Frolov, 02/25/2016
- <Possible follow-up(s)>
- Re: [charm] Distribution of chares on PEs, Nikhil Jain, 02/25/2016
- Re: [charm] Distribution of chares on PEs, Sam White, 02/25/2016
- Re: [charm] Distribution of chares on PEs, Alexander Frolov, 02/27/2016
- Re: [charm] Distribution of chares on PEs, Robert Steinke, 02/27/2016
- Re: [charm] Distribution of chares on PEs, Alexander Frolov, 02/27/2016
Archive powered by MHonArc 2.6.16.