another fix for uth-linux.
authorGengbin Zheng <gzheng@illinois.edu>
Sat, 20 Dec 2003 04:42:53 +0000 (04:42 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Sat, 20 Dec 2003 04:42:53 +0000 (04:42 +0000)
src/ck-core/ckmemcheckpoint.C

index 32e39c098f35c59f3feec84771942725facea188..15959c73b39c2d77fd6edc9d9564cd9879b67269 100644 (file)
@@ -328,6 +328,7 @@ void CkMemCheckPT::resetLB(int diepe)
 // called on all processors
 void CkMemCheckPT::restart(int diePe)
 {
+#if CMK_MEM_CHECKPOINT
   failed(diePe);       // add into the list of failed pes
   thisFailedPe = diePe;
 
@@ -344,6 +345,7 @@ void CkMemCheckPT::restart(int diePe)
 
   thisProxy[0].quiescence(CkCallback(CkIndex_CkMemCheckPT::removeArrayElements(), thisProxy));
   // afterwards, the QD detection should work again
+#endif
 }
 
 void CkMemCheckPT::removeArrayElements()