the bynodes array has to be populated always
authorAbhinav Bhatele <bhatele@illinois.edu>
Fri, 10 Jul 2009 20:59:40 +0000 (20:59 +0000)
committerAbhinav Bhatele <bhatele@illinois.edu>
Fri, 10 Jul 2009 20:59:40 +0000 (20:59 +0000)
src/conv-core/cputopology.C

index fb1df2053ed28e96076a34fc0d06369c35b038f1..fbb9c8c92c8e736164b26a039e0d32d08e16289a 100644 (file)
@@ -327,7 +327,7 @@ extern "C" void CmiInitCPUTopology(char **argv)
       nid = tmgr.coordinatesToRank(x, y, z, 0);
       cpuTopo.nodeIDs[i] = nid;
     }
-    // cpuTopo.sort();
+    cpuTopo.sort();
   }
   CmiNodeAllBarrier();
   return;
@@ -353,6 +353,7 @@ extern "C" void CmiInitCPUTopology(char **argv)
       else
        cpuTopo.nodeIDs[i] = nid;
     }
+    cpuTopo.sort();
   }
   CmiNodeAllBarrier();
   return;