Disabling benchmark for now. Will fix it when I get a chance.
authorSameer Kumar <skumar2@uiuc.edu>
Sat, 19 Mar 2005 20:00:56 +0000 (20:00 +0000)
committerSameer Kumar <skumar2@uiuc.edu>
Sat, 19 Mar 2005 20:00:56 +0000 (20:00 +0000)
tests/charm++/commtest/comlib/Makefile
tests/charm++/commtest/comlib/benchsectionmulti.C

index 38740ebaec32c52554fb7218c40ef9377505328b..ddf75013cd5104fa41abf4057342ecb12efb05e3 100644 (file)
@@ -48,7 +48,7 @@ test: all
        ./charmrun hello +p4 10 4
        ./charmrun hello +p4 10 5
        ./charmrun hello +p2 1
-       ./charmrun bench +p2 100 1 +balancer RefineLB
+#      ./charmrun bench +p2 100 1 +balancer RefineLB
        ./charmrun bench +p2 100 2 +balancer RefineLB
        ./charmrun bench +p2 100 4 +balancer RefineLB
        ./charmrun bench +p4 100 2 +balancer RefineLB
index 022554c5e4767d655e841ec7d9640f3ce71b05e4..a7a3de92c99f3ca7bce327de9f905aa374cd3c99 100644 (file)
@@ -204,7 +204,9 @@ public:
        int size = MESSAGESIZE;
        
 #ifdef USELIB
-        sproxy.receiveMessage(new(&size, 0) BenchMessage);
+        BenchMessage *bmsg = new(&size, 0) BenchMessage;
+        bmsg->src = thisIndex;
+        sproxy.receiveMessage(bmsg);
 #else
        arr[count].receiveMessage(new (&size, 0) BenchMessage);
 #endif
@@ -216,6 +218,8 @@ public:
         
         //CkPrintf("[%d][%d] In Receive Message \n", CkMyPe(), thisIndex);
         
+        CkAssert (bmsg->src >= 0 && bmsg->src < nElements);
+
         if(!firstEntryFlag) {
             startTime = CkWallTimer();
             firstEntryFlag = 1;