in FT when using GROUP_LEVEL_REDUCTION, don't flush nodeproxy since it does not exist
authorGengbin Zheng <gzheng@illinois.edu>
Wed, 26 Oct 2011 21:19:56 +0000 (16:19 -0500)
committerGengbin Zheng <gzheng@illinois.edu>
Wed, 26 Oct 2011 21:19:56 +0000 (16:19 -0500)
src/ck-core/ckreduction.C

index 3c34ac1de5f24c255c1ade36ec9fd775af5db932..d0d420492fd534f581aa4e58cc1c8c67e8d10d3c 100644 (file)
@@ -240,7 +240,9 @@ void CkReductionMgr::flushStates()
 
   adjVec.length()=0;
 
+#if ! GROUP_LEVEL_REDUCTION
   nodeProxy[CkMyNode()].ckLocalBranch()->flushStates();
+#endif
 }
 
 //////////// Reduction Manager Client API /////////////
@@ -1019,7 +1021,7 @@ void CkReductionMgr::pup(PUP::er &p)
 #ifdef BINOMIAL_TREE
     init_BinomialTree();
 #else
-   init_BinaryTree();
+    init_BinaryTree();
 #endif
 #endif
   }