Skip to Content.
Sympa Menu

charm - Re: [charm] Load Balancer Destructor Not Being Called

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] Load Balancer Destructor Not Being Called


Chronological Thread 
  • From: Phil Miller <mille121 AT illinois.edu>
  • To: Chris Wailes <chris.wailes AT gmail.com>
  • Cc: charm <charm AT lists.cs.illinois.edu>
  • Subject: Re: [charm] Load Balancer Destructor Not Being Called
  • Date: Thu, 22 Jun 2017 14:23:16 -0400

On Thu, Jun 22, 2017 at 2:08 PM, Chris Wailes <chris.wailes AT gmail.com> wrote:
The destructor for my custom load balancing strategy isn't being called when Charm++ programs terminate.  Does anyone know why this might be?

Hi Chris,

At present, Charm++ does not destroy any of the objects in the system at application shutdown. There's a broad assumption that process termination will release all held resources, and so that extra code to run would just add to execution time. If there's some code you want to run before your application quits, I would recommend calling it as an explicit part of your application's control flow before it calls CkExit().

Phil



Archive powered by MHonArc 2.6.19.

Top of Page