Skip to Content.
Sympa Menu

charm - [charm] How do I know if a chare exists in a chare array?

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

[charm] How do I know if a chare exists in a chare array?


Chronological Thread 
  • From: Pascal <zetwal AT gmail.com>
  • To: charm AT cs.uiuc.edu
  • Subject: [charm] How do I know if a chare exists in a chare array?
  • Date: Wed, 18 Jun 2014 16:01:25 -0600
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm/>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>

Hello

I have a chare array like this:

array [1D] Node{
...
}

in which I put in values of type Node. Initially there is only one chare but then the chare generates other chares which in turn generate other chares (and deletes itself) which are inserted at specific locations in the array. Thus there might be gaps in the array. 

Is there a way for me to query the array like this: thisProxy[randomIndex] and it will tell me if there is an element in that location or not?

In other words, how do I know if a chare exists in a chare array?

Thanks


Cheers,
Pascal



Archive powered by MHonArc 2.6.16.

Top of Page