diff --git a/modulefiles/ufs_hera.gnu.lua b/modulefiles/ufs_hera.gnu.lua index 4e53200209..fad7416c1d 100644 --- a/modulefiles/ufs_hera.gnu.lua +++ b/modulefiles/ufs_hera.gnu.lua @@ -2,9 +2,9 @@ help([[ loads UFS Model prerequisites for Hera/GNU ]]) -prepend_path("MODULEPATH", "/scratch2/NCEPDEV/stmp1/role.epic/installs/gnu/modulefiles") -prepend_path("MODULEPATH", "/scratch2/NCEPDEV/stmp1/role.epic/installs/openmpi/modulefiles") -prepend_path("MODULEPATH", "/scratch2/NCEPDEV/stmp1/role.epic/spack-stack/spack-stack-1.6.0_gnu13/envs/fms-2024.01/install/modulefiles/Core") +prepend_path("MODULEPATH", "/contrib/spack-stack/installs/gnu/modulefiles") +prepend_path("MODULEPATH", "/contrib/spack-stack/installs/openmpi/modulefiles") +prepend_path("MODULEPATH", "/contrib/spack-stack/spack-stack-1.6.0/envs/gnu-fms-2024.01/install/modulefiles/Core") stack_gnu_ver=os.getenv("stack_gnu_ver") or "13.3.0" load(pathJoin("stack-gcc", stack_gnu_ver)) diff --git a/modulefiles/ufs_hera.intel.lua b/modulefiles/ufs_hera.intel.lua index feaa88e560..392c16c9c3 100644 --- a/modulefiles/ufs_hera.intel.lua +++ b/modulefiles/ufs_hera.intel.lua @@ -2,7 +2,7 @@ help([[ loads UFS Model prerequisites for Hera/Intel ]]) -prepend_path("MODULEPATH", "/scratch1/NCEPDEV/nems/role.epic/spack-stack/spack-stack-1.6.0/envs/fms-2024.01/install/modulefiles/Core") +prepend_path("MODULEPATH", "/contrib/spack-stack/spack-stack-1.6.0/envs/fms-2024.01/install/modulefiles/Core") stack_intel_ver=os.getenv("stack_intel_ver") or "2021.5.0" load(pathJoin("stack-intel", stack_intel_ver)) diff --git a/modulefiles/ufs_hera.intelllvm.lua b/modulefiles/ufs_hera.intelllvm.lua index 7dfdd61ace..565d65e79f 100644 --- a/modulefiles/ufs_hera.intelllvm.lua +++ b/modulefiles/ufs_hera.intelllvm.lua @@ -2,7 +2,7 @@ help([[ loads UFS Model prerequisites for Hera/IntelLLVM ]]) -prepend_path("MODULEPATH", "/scratch1/NCEPDEV/nems/role.epic/spack-stack/spack-stack-1.6.0/envs/fms-2024.01/install/modulefiles/Core") +prepend_path("MODULEPATH", "/contrib/spack-stack/spack-stack-1.6.0/envs/fms-2024.01/install/modulefiles/Core") stack_intel_ver=os.getenv("stack_intel_ver") or "2021.5.0" load(pathJoin("stack-intel", stack_intel_ver)) diff --git a/tests/rt.sh b/tests/rt.sh index c4744f6ec2..06abdae76a 100755 --- a/tests/rt.sh +++ b/tests/rt.sh @@ -786,7 +786,7 @@ case ${MACHINE_ID} in COMPILE_QUEUE="batch" PARTITION= - dprefix="/scratch1/NCEPDEV" + dprefix=${dprefix:-"/scratch1/NCEPDEV"} DISKNM="/scratch2/NAGAPE/epic/UFS-WM_RT" STMP="${dprefix}/stmp4" PTMP="${dprefix}/stmp2" @@ -812,7 +812,7 @@ case ${MACHINE_ID} in QUEUE="batch" COMPILE_QUEUE="batch" PARTITION="orion" - dprefix="/work/noaa/stmp/${USER}" + dprefix=${dprefix:-"/work/noaa/stmp/${USER}"} DISKNM="/work/noaa/epic/UFS-WM_RT" STMP="${dprefix}/stmp" PTMP="${dprefix}/stmp" @@ -840,7 +840,7 @@ case ${MACHINE_ID} in QUEUE="batch" COMPILE_QUEUE="batch" PARTITION="hercules" - dprefix="/work2/noaa/stmp/${USER}" + dprefix=${dprefix:-"/work2/noaa/stmp/${USER}"} DISKNM="/work/noaa/epic/hercules/UFS-WM_RT" STMP="${dprefix}/stmp" PTMP="${dprefix}/stmp" @@ -903,7 +903,7 @@ case ${MACHINE_ID} in COMPILE_QUEUE="s4" PARTITION="s4" - dprefix="/data/prod" + dprefix=${dprefix:-"/data/prod"} DISKNM="${dprefix}/emc.nemspara/RT" STMP="/scratch/short/users" PTMP="/scratch/users" @@ -934,7 +934,7 @@ case ${MACHINE_ID} in QUEUE="main" COMPILE_QUEUE="main" PARTITION= - dprefix="/glade/derecho/scratch" + dprefix=${dprefix:-"/glade/derecho/scratch"} DISKNM="/glade/derecho/scratch/epicufsrt/ufs-weather-model/RT/" STMP="${dprefix}" PTMP="${dprefix}" @@ -960,7 +960,7 @@ case ${MACHINE_ID} in QUEUE="batch" COMPILE_QUEUE="batch" PARTITION= - dprefix="/lustre/" + dprefix=${dprefix:-"/lustre/"} DISKNM="/contrib/ufs-weather-model/RT" STMP="${dprefix}/stmp4" PTMP="${dprefix}/stmp2"