open CmiInitCPUTopology() to bigsim.
authorGengbin Zheng <gzheng@justice.(none)>
Wed, 2 Dec 2009 22:03:27 +0000 (16:03 -0600)
committerGengbin Zheng <gzheng@justice.(none)>
Wed, 2 Dec 2009 22:03:27 +0000 (16:03 -0600)
src/ck-core/init.C

index c55d3624d76100a5c35bab18f98a2962bb3aa0a5..65f0095cc95348b96b524f57dd9acd7568080842 100644 (file)
@@ -986,13 +986,13 @@ void _initCharm(int unused_argc, char **argv)
                }*/
        }       
        
-#if ! CMK_BLUEGENE_CHARM
         if (faultFunc == NULL) {         // this is not restart
-            // blocking calls
+            // these two are blocking calls for non-bigsim
+#if ! CMK_BLUEGENE_CHARM
           CmiInitCPUAffinity(argv);
+#endif
           CmiInitCPUTopology(argv);
         }
-#endif
 
        if (faultFunc) {
                if (CkMyPe()==0) _allStats = new Stats*[CkNumPes()];