Pārlūkot izejas kodu

Inherit PRAC NUMA env vars, if set

Ian Goldberg 6 mēneši atpakaļ
vecāks
revīzija
751fd5958f
1 mainītis faili ar 6 papildinājumiem un 6 dzēšanām
  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