a fix in the previous commit
authorXiang Ni <xiangni2@illinois.edu>
Fri, 5 Apr 2013 05:50:48 +0000 (00:50 -0500)
committerXiang Ni <xiangni2@illinois.edu>
Fri, 5 Apr 2013 05:50:48 +0000 (00:50 -0500)
src/ck-core/ckmemcheckpoint.C

index 12c85402ab3d6276ecd6b48e56f61eaec88d2021..5e7774bf8deb3154701e534dd00c79619519292b 100644 (file)
@@ -1653,7 +1653,7 @@ void CkMemCheckPT::RollBack(){
         CmiPrintf("[%d][%d] Recover From soft failures in %lf, sending callback ... \n", CmiMyPartition(),CkMyPe(),CmiWallTimer()-startTime);
       }
       CKLOCMGR_LOOP(mgr->resumeFromChkp(););
         CmiPrintf("[%d][%d] Recover From soft failures in %lf, sending callback ... \n", CmiMyPartition(),CkMyPe(),CmiWallTimer()-startTime);
       }
       CKLOCMGR_LOOP(mgr->resumeFromChkp(););
-      if(CmiMyPartition()==1 && CkMyPe()==0){
+      if(killFlag==2 && CmiMyPartition()==1 && CkMyPe()==0){
         thisProxy[CkMyPe()].generateSoftFailure();
       }
     }
         thisProxy[CkMyPe()].generateSoftFailure();
       }
     }