Making some commlib stuff permanent.
authorTerry L. Wilmarth <wilmarth@uiuc.edu>
Tue, 13 Apr 2004 21:59:05 +0000 (21:59 +0000)
committerTerry L. Wilmarth <wilmarth@uiuc.edu>
Tue, 13 Apr 2004 21:59:05 +0000 (21:59 +0000)
src/libs/ck-libs/pose/pose.C
src/libs/ck-libs/pose/pose.h

index 0a57fdc2efccdf6dcfd926b53b1a4338656e6388..af6500032cf9c86cd29822ba774f1ee9b2cb2002 100644 (file)
@@ -23,7 +23,7 @@ void POSE_init()
   strategy->enableShortArrayMessagePacking();
   //Register the strategy
   cinst.setStrategy(strategy);
-  comm_debug=1;
+  //comm_debug=1;
   CkPrintf("Simulation run with StreamingStrategy(%d,%d) for communication optimization...\n", COMM_TIMEOUT, COMM_MAXMSG);
 #endif
   // Create an EventMsgPool with global handle for message recycling 
index 9e7e1e6e6d54e846802ccab44382cac891f4083c..a32a489093f7136be024a1017ec9b6c1195a8c5f 100644 (file)
@@ -5,16 +5,16 @@
 #ifndef POSE_H
 #define POSE_H
 /// Uncomment to gather and print POSE statistics set
-#define POSE_STATS_ON 1
+//#define POSE_STATS_ON 1
 /// Uncomment to make use of the Streaming Communication Library optimizations
-//#define POSE_COMM_ON 1
+#define POSE_COMM_ON 1
 /// Uncomment to turn on POSE load balancer
 //#define LB_ON 1
 #ifdef POSE_COMM_ON
 #include <StreamingStrategy.h>
 #include <DummyStrategy.h>
-#define COMM_TIMEOUT 100
-#define COMM_MAXMSG 100
+#define COMM_TIMEOUT 5
+#define COMM_MAXMSG 5
 #endif 
 #include "pose.decl.h"