inject soft and hard failures according to exponential and weibull distribution
[charm.git] / src / arch / mpi / machine.c
index a2f0f1ab83dfb15bfb57bb8d3b3db93c45d8c850..8fdae56915609dffd5e06fcf4710c7ef2643d7e4 100644 (file)
@@ -2001,14 +2001,13 @@ int isRankDie(int rank){
 void CkDieNow()
 {
 #ifdef CMK_MEM_CHECKPOINT || (defined(_FAULT_MLOG_) || defined(_FAULT_CAUSAL_)
-    CmiPrintf("[%d] die now.\n", CmiMyPe());
+    CmiPrintf("[%d][%d] die now.\n",CmiMyPartition(), CmiMyPe());
     fflush(stdout);
       /* release old messages */
     while (!CmiAllAsyncMsgsSent()) {
         PumpMsgs();
         CmiReleaseSentMessages();
     }
-    CmiPrintf("[%d] die now before barrier\n", CmiMyPe());
     MPI_Barrier(charmComm);
     MPI_Finalize();
     exit(0);