Protecting function with #if (and removing debug print)
authorFilippo Gioachin <gioachin@uiuc.edu>
Sat, 3 Apr 2010 18:53:03 +0000 (13:53 -0500)
committerFilippo Gioachin <gioachin@uiuc.edu>
Sat, 3 Apr 2010 18:53:03 +0000 (13:53 -0500)
src/conv-ccs/middle-ccs.C

index 823bc05bb26b2b91c746970cc2dfb7ac8f5d27e0..262aef92bc63b228601fe7436a450df824ca22b0 100644 (file)
@@ -95,9 +95,10 @@ int CpdIsFrozen(void) {
 
 }
 
+#if CMK_BLUEGENE_CHARM
 #include "blue_impl.h"
 void BgProcessMessageFreezeMode(threadInfo *t, char *msg) {
-  CmiPrintf("BgProcessMessageFreezeMode\n");
+//  CmiPrintf("BgProcessMessageFreezeMode\n");
 #if CMK_CCS_AVAILABLE
   void *debugQ=CpvAccess(debugQueue);
   CmiAssert(msg!=NULL);
@@ -114,3 +115,4 @@ void BgProcessMessageFreezeMode(threadInfo *t, char *msg) {
   BgProcessMessageDefault(t, msg);
 #endif
 }
+#endif