Skip to content
Snippets Groups Projects
Commit b89d2730 authored by Nicolas Richart's avatar Nicolas Richart
Browse files

Adding modules configuration

parent 09a0fd8a
No related branches found
No related tags found
No related merge requests found
...@@ -49,6 +49,15 @@ cat <<EOF >> ${SPACK_SYSTEM_CONFIG_PATH}/config.yaml ...@@ -49,6 +49,15 @@ cat <<EOF >> ${SPACK_SYSTEM_CONFIG_PATH}/config.yaml
- \$tempdir/\$user/spack-stage - \$tempdir/\$user/spack-stage
EOF EOF
cat <<EOF >> ${SPACK_SYSTEM_CONFIG_PATH}/modules_stack.yaml
modules
default:
roots:
lmod: ${STACK_LOCATION}/spack/share/spack/lmod/${environment}
tcl: ${STACK_LOCATION}/spack/share/spack/modules/${environment}
EOF
echo "Setting up extra repos" echo "Setting up extra repos"
EXTERNAL_REPOS=$(jq -r '.spack.repos | keys[]' ${STACK_CONFIG}) EXTERNAL_REPOS=$(jq -r '.spack.repos | keys[]' ${STACK_CONFIG})
......
...@@ -3,6 +3,8 @@ spack: ...@@ -3,6 +3,8 @@ spack:
- compiler_definitions.yaml - compiler_definitions.yaml
- packages_stack.yaml - packages_stack.yaml
- packages_env.yaml - packages_env.yaml
- modules_stack.yaml
definitions: definitions:
# ------------------------------------------------------------------------- # -------------------------------------------------------------------------
# PE definition # PE definition
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment