diff --git a/configs/sites/tier1/ursa/mirrors.yaml b/configs/sites/tier1/ursa/mirrors.yaml index 0891ae450..929956568 100644 --- a/configs/sites/tier1/ursa/mirrors.yaml +++ b/configs/sites/tier1/ursa/mirrors.yaml @@ -1,4 +1,3 @@ mirrors: - spack-public: - binary: false - url: https://mirror.spack.io + local-source: file:///scratch4/NCEPDEV/nems/Dom.Heinzeller/spack-stack-automation/source-cache + local-binary: file:///scratch4/NCEPDEV/nems/Dom.Heinzeller/spack-stack-automation/build-cache diff --git a/util/nrl/batch_install.sh b/util/nrl/batch_install.sh index 3e7c1ac64..79dcc4347 100755 --- a/util/nrl/batch_install.sh +++ b/util/nrl/batch_install.sh @@ -160,6 +160,14 @@ case ${SPACK_STACK_BATCH_HOST} in SPACK_STACK_BOOTSTRAP_MIRROR="/home/dom/prod/spack-bootstrap-mirror" SPACK_STACK_CARGO_MIRROR="/home/dom/prod/spack-cargo-mirror" ;; + ufe) + SPACK_STACK_BATCH_HOST=ursa + SPACK_STACK_BATCH_COMPILERS=("oneapi@=2024.2.1" "gcc@=12.4.0") + SPACK_STACK_BATCH_TEMPLATES=("unified-dev") + SPACK_STACK_MODULE_CHOICE="tcl" + SPACK_STACK_BOOTSTRAP_MIRROR="/scratch4/NCEPDEV/nems/Dom.Heinzeller/spack-stack-automation/bootstrap-mirror" + SPACK_STACK_CARGO_MIRROR="/scratch4/NCEPDEV/nems/Dom.Heinzeller/spack-stack-automation/cargo-mirror" + ;; *) echo "ERROR, host ${SPACK_STACK_BATCH_HOST} not configured" exit 1 @@ -236,6 +244,8 @@ function fix_permissions() { ;; bounty) ;; + ursa) + ;; *) echo "ERROR, xargs-chmod command not configured for ${host}" exit 1 @@ -434,6 +444,9 @@ for compiler in "${SPACK_STACK_BATCH_COMPILERS[@]}"; do bounty) ulimit -s unlimited ;; + ursa) + module purge + ;; *) echo "ERROR, host ${host} not configured for resetting environment" exit 1 @@ -593,6 +606,8 @@ for compiler in "${SPACK_STACK_BATCH_COMPILERS[@]}"; do ;; bounty) ;; + ursa) + ;; *) echo "ERROR, post-install scripts not configured for ${host}" exit 1