add flag for FT in BGQ timer
authorNikhil Jain <nikhil@illinois.edu>
Mon, 22 Oct 2012 19:16:03 +0000 (19:16 +0000)
committerNikhil Jain <nikhil@illinois.edu>
Mon, 22 Oct 2012 19:16:03 +0000 (19:16 +0000)
src/conv-core/convcore.c

index 3eec22ca9b14cef341fb1f918a8a768fa7e43c13..bf19d79f739acaf2b0e17c9b88040fd6fe31751b 100644 (file)
@@ -1248,10 +1248,11 @@ void CmiTimerInit(char **argv)
   /*fprintf(stderr, "Blue Gene/Q running at clock speed of %d Mhz\n", clockMhz);*/
 
   /* try to synchronize calling barrier */
+#if !CMK_MEM_CHECKPOINT && !_FAULT_MLOG_ && !_FAULT_CAUSAL_
+ CmiBarrier();
   CmiBarrier();
   CmiBarrier();
-  CmiBarrier();
-
+#endif
   CpvAccess(inittime) = GetTimeBase (); 
 }