Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions configs/sites/tier1/ursa/mirrors.yaml
Original file line number Diff line number Diff line change
@@ -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
15 changes: 15 additions & 0 deletions util/nrl/batch_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -236,6 +244,8 @@ function fix_permissions() {
;;
bounty)
;;
ursa)
;;
*)
echo "ERROR, xargs-chmod command not configured for ${host}"
exit 1
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down