Skip to Content.
Sympa Menu

charm - [charm] Delete a group

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

[charm] Delete a group


Chronological Thread 
  • From: Jozsef Bakosi <jbakosi AT gmail.com>
  • To: "charm AT cs.uiuc.edu" <charm AT cs.uiuc.edu>
  • Subject: [charm] Delete a group
  • Date: Fri, 27 Jan 2017 15:10:50 -0700

Hi folks,

Here is a potentially easy question that I nevertheless fail to answer based on the online documentation.

If I no longer need a chare group, how do I delete all of its elements? (The goal is to call its destructors, thus freeing up memory.)

I see that CkDestroy() can be used to individually delete an element of a chare array and I presume the same might exist for groups so I can loop over them, but is there a simpler (and potentially more efficient) call to get rid of an entire group?

Thanks,
Jozsef



Archive powered by MHonArc 2.6.19.

Top of Page