Removing some of the print statements from the test.
authorIsaac Dooley <idooley2@illinois.edu>
Wed, 3 Jun 2009 19:37:48 +0000 (19:37 +0000)
committerIsaac Dooley <idooley2@illinois.edu>
Wed, 3 Jun 2009 19:37:48 +0000 (19:37 +0000)
tests/charm++/commtest/eachtomany-test-2/eachtomany.C

index 84b47359e690448432ebf484004ad70eace708d4..4f7daabd4998af420f3f8c7549cc222b9cd1cbf1 100644 (file)
@@ -93,8 +93,8 @@ public:
          
          const int nTotal = nElements*nElements;
          if (nDone == nTotal){
-                 int printIteration = 1;
-                 int maxprints = 25;
+                 int printIteration = 10;
+                 int maxprints = 5;
                  while( (totalIterations / printIteration) > maxprints)
                          printIteration *= 2;
                  if(iter % printIteration == 0)
@@ -156,13 +156,17 @@ public:
          if(p.isUnpacking()){
                  localProxy = thisProxy;
                  ComlibAssociateProxy(stratEachToManyArray, localProxy);
+#if DEBUG
                  CkPrintf("pup() associating proxy with comlib strategy instance\n");
+#endif
          }
   }
   
   
   EachToManyArray(CkMigrateMessage *m) {
+#if DEBUG
          CkPrintf("Object %d has migrated to %d\n", thisIndex, CkMyPe());
+#endif
          localProxy = thisProxy;
          ComlibAssociateProxy(stratEachToManyArray, localProxy); 
   }