fix a compilation error
authorGengbin Zheng <gzheng@illinois.edu>
Tue, 27 Mar 2012 15:17:24 +0000 (08:17 -0700)
committerGengbin Zheng <gzheng@illinois.edu>
Tue, 27 Mar 2012 15:17:24 +0000 (08:17 -0700)
src/arch/gemini_gni/machine.c

index 07a9968e669eda48fedfacef116bd019ff2e9557..d9ebaed13d970fdba9a554816123ebd9a1526784 100644 (file)
@@ -3830,13 +3830,13 @@ void LrtsInit(int *argc, char ***argv, int *numNodes, int *myNodeID)
 #endif
 
       /* stats related arguments */
+#if CMK_WITH_STATS
     CmiGetArgStringDesc(*argv,"+gni_stats_root",&counters_dirname,"counter directory name, default counters");
 
     print_stats = CmiGetArgFlag(*argv, "+print_stats");
     
     stats_off = CmiGetArgFlag(*argv, "+stats_off");
 
-#if CMK_WITH_STATS
     init_comm_stats();
 #endif