Преглед на файлове

Inherit PRAC NUMA env vars, if set

Ian Goldberg преди 7 месеца
родител
ревизия
751fd5958f
променени са 1 файла, в които са добавени 6 реда и са изтрити 6 реда
  1. 6 6
      prac/repro

+ 6 - 6
prac/repro

@@ -10,13 +10,13 @@ if [[ $BASH_SOURCE = */* ]]; then
   cd -- "${BASH_SOURCE%/*}/" || exit
 fi
 
-# If the Duoram NUMA commands are set, but Floram-specific ones are not,
-# use them for Floram
-if [ "$FLORAM_NUMA_P0" == "" -a "$DUORAM_NUMA_P0" != "" ]; then
-    export FLORAM_NUMA_P0="$DUORAM_NUMA_P0"
+# If the PRAC NUMA commands are set, but Floram-specific ones are not,
+# use them for Floram.
+if [ "$FLORAM_NUMA_P0" == "" -a "$PRAC_NUMA_P0" != "" ]; then
+    export FLORAM_NUMA_P0="$PRAC_NUMA_P0"
 fi
-if [ "$FLORAM_NUMA_P1" == "" -a "$DUORAM_NUMA_P1" != "" ]; then
-    export FLORAM_NUMA_P1="$DUORAM_NUMA_P1"
+if [ "$FLORAM_NUMA_P1" == "" -a "$PRAC_NUMA_P1" != "" ]; then
+    export FLORAM_NUMA_P1="$PRAC_NUMA_P1"
 fi
 
 # Allow running only subsets of the experiment suite.  Valid values are