Skip to Content.
Sympa Menu

charm - Re: [charm] Dynamically obtaining the number of array elements from its proxy

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] Dynamically obtaining the number of array elements from its proxy


Chronological Thread 
  • From: Phil Miller <mille121 AT illinois.edu>
  • To: "Mikida, Eric P" <mikida2 AT illinois.edu>
  • Cc: Alexander Frolov <alexndr.frolov AT gmail.com>, "charm AT cs.illinois.edu" <charm AT cs.illinois.edu>
  • Subject: Re: [charm] Dynamically obtaining the number of array elements from its proxy
  • Date: Wed, 21 Dec 2016 17:04:36 -0600

On Wed, Dec 21, 2016 at 4:46 PM, Mikida, Eric P <mikida2 AT illinois.edu> wrote:
Unfortunately, the proxy does not carry any size information about its associated chare array.

To elaborate on this, from the system's perspective, the number of elements in a chare array is a distributed, dynamic property. Sequential code running on any one processor literally cannot provide a correct value.

For arrays that are static because the application knows so, the application can just as easily preserve and communicate that information by its own means.



Archive powered by MHonArc 2.6.19.

Top of Page