don't print pid for mpi version. still print for net, which make it easy to pick...
authorGengbin Zheng <gzheng@illinois.edu>
Mon, 31 Oct 2011 00:50:01 +0000 (19:50 -0500)
committerGengbin Zheng <gzheng@illinois.edu>
Mon, 31 Oct 2011 00:50:01 +0000 (19:50 -0500)
src/ck-core/ckmemcheckpoint.C

index 597c3bfe12ebe93d47dbd521318e128aa4c6bfd4..cdbbf39a78225f131ea39c5ba710f8a09dc5da1a 100644 (file)
@@ -1358,7 +1358,6 @@ void CkRegisterRestartHandler( )
   pingHandlerIdx = CkRegisterHandler((CmiHandler)pingHandler);
   pingCheckHandlerIdx = CkRegisterHandler((CmiHandler)pingCheckHandler);
   buddyDieHandlerIdx = CkRegisterHandler((CmiHandler)buddyDieHandler);
-
 #endif
 
   CpvInitialize(CkProcCheckPTMessage *, procChkptBuf);
@@ -1366,9 +1365,9 @@ void CkRegisterRestartHandler( )
 
   notify_crash_fn = notify_crash;
 
-#if 1
-  // for debugging
-  //CkPrintf("[%d] PID %d \n", CkMyPe(), getpid());
+#if ! CMK_CONVERSE_MPI
+  // print pid to kill
+  CkPrintf("[%d] PID %d \n", CkMyPe(), getpid());
 //  sleep(4);
 #endif
 #endif