Set HLRS spack root and install tree
This commit is contained in:
parent
19dc637618
commit
cbfddbe6c4
1 changed files with 16 additions and 0 deletions
16
02_hlrs_spack_root.env
Normal file
16
02_hlrs_spack_root.env
Normal file
|
@ -0,0 +1,16 @@
|
|||
# this file is meant to be source'd
|
||||
#
|
||||
|
||||
# need HLRS_SOFTWARE_STACK_RELEASE_ROOT
|
||||
if [ -z "${HLRS_SOFTWARE_STACK_RELEASE_ROOT}" ]; then
|
||||
echo "ERROR: need environment variable HLRS_SOFTWARE_STACK_RELEASE_ROOT"
|
||||
else
|
||||
|
||||
HLRS_SOFTWARE_STACK_SPACK_ROOT=${HLRS_SOFTWARE_STACK_RELEASE_ROOT}/spack
|
||||
# the following must be a directory containing a subdir named .spack-db/
|
||||
HLRS_SOFTWARE_STACK_SPACK_INSTALL_TREE=${HLRS_SOFTWARE_STACK_RELEASE_ROOT}/optional/spack
|
||||
|
||||
export HLRS_SOFTWARE_STACK_SPACK_ROOT HLRS_SOFTWARE_STACK_SPACK_INSTALL_TREE
|
||||
|
||||
fi
|
||||
|
Loading…
Reference in a new issue