increasing the time after which to check for no objs
authorHarshitha <gplkrsh2@illinois.edu>
Sun, 14 Oct 2012 03:29:09 +0000 (22:29 -0500)
committerHarshitha <gplkrsh2@illinois.edu>
Sun, 14 Oct 2012 03:29:09 +0000 (22:29 -0500)
src/ck-core/cklocation.C
src/ck-ldb/MetaBalancer.C

index ded3be088a94b3f81938dcd80048f489664a5eb1..6840a967e3dd00bed8f90e702b4e6d0d48ce8fd0 100644 (file)
@@ -1249,7 +1249,7 @@ void CkMigratable::AtSync(int waitForMigration)
   if (atsync_iteration <= myRec->getMetaBalancer()->get_finished_iteration()) {
     CkPrintf("[%d:%s] Error!! Contributing to iter %d < current iter %d\n",
       CkMyPe(), idx2str(thisIndexMax), atsync_iteration,
-      myRec->getMetaBalancer()->get_iteration());
+      myRec->getMetaBalancer()->get_finished_iteration());
     CkAbort("Not contributing to the right iteration\n");
   }
 
index 993b32c30f7f2ff19be38691df4b7f1436f85d9f..75044aa9631a74abb84399d7288284fe36195363 100644 (file)
@@ -681,7 +681,7 @@ void MetaBalancer::ResetAdaptive() {
 // This is required for PEs with no objs
 void MetaBalancer::periodicCall(void *ad) {
   MetaBalancer *s = (MetaBalancer *)ad;
-  CcdCallFnAfterOnPE((CcdVoidFn)checkForNoObj, (void *)s, 1, CkMyPe());
+  CcdCallFnAfterOnPE((CcdVoidFn)checkForNoObj, (void *)s, 1000, CkMyPe());
 }
 
 void MetaBalancer::checkForNoObj(void *ad) {