fix hugepage default bug
authorYanhua Sun <sun51@hopper04.(none)>
Thu, 24 Oct 2013 21:39:30 +0000 (14:39 -0700)
committerYanhua Sun <sun51@hopper04.(none)>
Thu, 24 Oct 2013 21:39:30 +0000 (14:39 -0700)
src/arch/gni/conv-mach-hugepages.h [new file with mode: 0644]
src/arch/gni/conv-mach-hugepages.sh [moved from src/arch/gni/conv-mach.sh with 100% similarity]
src/arch/gni/conv-mach-regularpage.sh [new file with mode: 0644]
src/scripts/conv-config.sh

diff --git a/src/arch/gni/conv-mach-hugepages.h b/src/arch/gni/conv-mach-hugepages.h
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/arch/gni/conv-mach-regularpage.sh b/src/arch/gni/conv-mach-regularpage.sh
new file mode 100644 (file)
index 0000000..1beec74
--- /dev/null
@@ -0,0 +1 @@
+export REGULARPAGE=1
index 2804805ce82fd215373a298c8d1baa71bf13185f..532e2cee9d2e7e89f0370f775509cb2bfc70da48 100644 (file)
@@ -128,3 +128,9 @@ then
   . $CHARMINC/conv-mach-pxshm.sh
 fi
 
   . $CHARMINC/conv-mach-pxshm.sh
 fi
 
+if [ -n "$GNI_CRAYXE" -o -n "$GNI_CRAYXC" ] && [ -z "$REGULARPAGE" ]
+then
+    echo "########################"
+  . $CHARMINC/conv-mach-hugepages.sh
+fi
+