optimize chkp after ldb
[charm.git] / src / ck-core / ckcheckpoint.C
index 89402fd4aff9c64316b8e8074efcbf879c4f0d97..e3b513b96cdfb1ce847f63bb582b36c098e86f54 100644 (file)
@@ -542,7 +542,7 @@ void CkPupArrayElementsData(PUP::er &p, int notifyListeners)
        }
 }
 
-#if (defined(_FAULT_MLOG_) || defined(_FAULT_CAUSAL_))
+#if (defined(_FAULT_MLOG_) || defined(_FAULT_CAUSAL_)) ||CMK_MEM_CHECKPOINT
 int  CkCountArrayElements(){
     int numGroups = CkpvAccess(_groupIDTable)->size();
     int i;