FT: print out which spare processor is used to replace the failed PE.
authorGengbin Zheng <gzheng@illinois.edu>
Sun, 30 Oct 2011 02:24:53 +0000 (21:24 -0500)
committerGengbin Zheng <gzheng@illinois.edu>
Sun, 30 Oct 2011 02:24:53 +0000 (21:24 -0500)
src/arch/mpi/machine.c

index d5fef7b361e2eaa7f6e91ba8cd49bedae39a0321..1f67fcbc4dd9cc1495f63f28febf54f638d97133 100644 (file)
@@ -1112,6 +1112,7 @@ static void MachineInitForMPI(int *argc, char ***argv, int *numNodes, int *myNod
       MPI_Recv(vals,2,MPI_INT,MPI_ANY_SOURCE,FAIL_TAG, MPI_COMM_WORLD,&sts);
       int newpe = vals[0];
       CpvAccess(_curRestartPhase) = vals[1];
+      CmiPrintf("Charm++> Spare MPI rank %d is activated for PE %d.\n", *myNodeID, newpe);
 
       if (newpe == -1) {
           MPI_Barrier(MPI_COMM_WORLD);