minor
authorGengbin Zheng <gzheng@illinois.edu>
Tue, 27 Mar 2012 04:44:32 +0000 (23:44 -0500)
committerGengbin Zheng <gzheng@illinois.edu>
Tue, 27 Mar 2012 04:44:32 +0000 (23:44 -0500)
src/arch/gemini_gni/machine.c
src/arch/util/machine-common-core.c

index 5daff7774ac1478031849567d330c559831a32ae..ca3ec5e3f6db212f3ca31654be37fc4bb59605de 100644 (file)
@@ -3848,13 +3848,13 @@ void LrtsInit(int *argc, char ***argv, int *numNodes, int *myNodeID)
 //    ntk_return_t sts = NTK_System_GetSmpdCount(&_smpd_count);
 
 #if  REMOTE_EVENT
+    SHIFT = 1;
+    while (1<<SHIFT < mysize) SHIFT++;
+    CmiAssert(SHIFT < 31);
     IndexPool_init(&ackPool);
 #if CMK_PERSISTENT_COMM
     IndexPool_init(&persistPool);
 #endif
-    SHIFT = 1;
-    while (1<<SHIFT < mysize) SHIFT++;
-    CmiAssert(SHIFT < 31);
 #endif
 
 #if CMK_WITH_STATS
index 5a27bc7da3ae123ac9808eb86f221cd0d3f0b0b1..c72038ac3a505344a6d35bb8f487214d7df9d5f4 100644 (file)
@@ -544,7 +544,7 @@ void CmiFreeSendFn(int destPE, int size, char *msg) {
         if (CmiMyNode()==destNode) {
             CmiPushPE(destRank, msg);
 #if CMK_PERSISTENT_COMM
-        if (CpvAccess(phs)) CpvAccess(curphs)++;
+            if (CpvAccess(phs)) CpvAccess(curphs)++;
 #endif
             return;
         }