support for lb
[charm.git] / src / ck-ldb / LBDatabase.h
index b2c0791b80a7104f54a16acda755c521ab2ca16b..1b7fad3318123706af1e7cfff7aa910c4927933d 100644 (file)
@@ -348,8 +348,7 @@ public:
   };
 
   inline void AtLocalBarrier(LDBarrierClient h) {
-  if(CmiMyPartition()==1)
-       CkPrintf("[%d]local barrier\n",CkMyPe());
+    CkPrintf("[%d][%d]local barrier\n",CmiMyPartition(),CkMyPe());
          LDAtLocalBarrier(myLDHandle,h);
   }
   inline void LocalBarrierOn(void) { LDLocalBarrierOn(myLDHandle); };