guard ft code by ft macro
authorGengbin Zheng <gzheng@illinois.edu>
Tue, 1 Nov 2011 14:30:30 +0000 (09:30 -0500)
committerGengbin Zheng <gzheng@illinois.edu>
Tue, 1 Nov 2011 14:30:30 +0000 (09:30 -0500)
src/ck-core/ckmemcheckpoint.C

index cdbbf39a78225f131ea39c5ba710f8a09dc5da1a..613e3131e643bddd14e72718d5ae8e1850b0e411 100644 (file)
@@ -1280,6 +1280,7 @@ void pingCheckHandler();
 
 void buddyDieHandler(char *msg)
 {
+#if CMK_MEM_CHECKPOINT
    // notify
    int diepe = *(int *)(msg+CmiMsgHeaderSizeBytes);
    notify_crash(diepe);
@@ -1291,6 +1292,7 @@ void buddyDieHandler(char *msg)
      mpi_restart_crashed(diepe, newrank);
      CcdCallOnCondition(CcdPERIODIC_5s,(CcdVoidFn)pingCheckHandler,NULL);
    }
+#endif
 }
 
 void pingHandler(void *msg)