Skip to Content.
Sympa Menu

charm - [charm] Detect restart from app

charm AT lists.siebelschool.illinois.edu

Subject: Charm++ parallel programming system

List archive

[charm] Detect restart from app


Chronological Thread 
  • From: Jozsef Bakosi <jbakosi AT lanl.gov>
  • To: charm AT cs.illinois.edu
  • Subject: [charm] Detect restart from app
  • Date: Thu, 19 Mar 2020 09:58:57 -0600
  • Authentication-results: illinois.edu; spf=fail smtp.mailfrom=jbakosi AT lanl.gov; dkim=pass header.d=lanl.gov header.s=lanl; dmarc=pass header.from=lanl.gov

Hi folks,

Is there a way to detect from a Charm++ app that it just came back from
a restart and not just finished a checkpoint?

According to the manual:

cb will be invoked after the checkpoint is done, as well as when the
restart is complete:

CkCallback cb(CkIndex_Hello::SayHi(), helloProxy);
CkStartCheckpoint("log", cb);

When cb is called, I'd like to zero some counters if and only if it just
came back from a restart.

Thanks,
Jozsef



Archive powered by MHonArc 2.6.19.

Top of Page