reverted my previous change since Sameer added the missing macro defintion back.
authorGengbin Zheng <gzheng@illinois.edu>
Sun, 17 Oct 2004 23:04:06 +0000 (23:04 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Sun, 17 Oct 2004 23:04:06 +0000 (23:04 +0000)
src/conv-com/graphrouter.C

index f754968fc2e2f87c8af351becfc3c465c9c243b5..c0977eb1ba069d520b6a787b005a29c4b0f9aa7b 100644 (file)
@@ -79,13 +79,11 @@ void GraphRouter::sendMessages(comID id, int cur_stage){
                                        pesToSend, &len);
         
 #if CMK_PERSISTENT_COMM
-/*
         if(len < PERSISTENT_BUFSIZE)
             if(currentIteration % 2)
                 CmiUsePersistentHandle(&handlerArrayOdd[cur_stage], 1);
             else
                 CmiUsePersistentHandle(&handlerArrayEven[cur_stage], 1);
-*/
 #endif          
         
        if (newmsg) {
@@ -101,10 +99,8 @@ void GraphRouter::sendMessages(comID id, int cur_stage){
        }
         
 #if CMK_PERSISTENT_COMM
-/*
         if(len < PERSISTENT_BUFSIZE)
             CmiUsePersistentHandle(NULL, 0);
-*/
 #endif          
     }
 }
@@ -230,7 +226,6 @@ void GraphRouter :: SetMap(int *pes)
     gpes=pes;
 
 #if CMK_PERSISTENT_COMM
-/*
     numNeighbors=0;
     neighborPeList = new int[NumPes];
 
@@ -252,6 +247,5 @@ void GraphRouter :: SetMap(int *pes)
         handlerArrayEven[pcount] = CmiCreatePersistent(dest, 
                                                        PERSISTENT_BUFSIZE);
     }
-*/
 #endif
 }