summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/spack/defaults/config.yaml3
-rw-r--r--etc/spack/defaults/modules.yaml4
2 files changed, 7 insertions, 0 deletions
diff --git a/etc/spack/defaults/config.yaml b/etc/spack/defaults/config.yaml
index f29acfe018..b6a09a7738 100644
--- a/etc/spack/defaults/config.yaml
+++ b/etc/spack/defaults/config.yaml
@@ -18,6 +18,9 @@ config:
# You can use $spack here to refer to the root of the spack instance.
install_tree: $spack/opt/spack
+ # Locations where templates should be found
+ template_dirs:
+ - $spack/templates
# Locations where different types of modules should be installed.
module_roots:
diff --git a/etc/spack/defaults/modules.yaml b/etc/spack/defaults/modules.yaml
index 25fe2088e7..8b6f1b40af 100644
--- a/etc/spack/defaults/modules.yaml
+++ b/etc/spack/defaults/modules.yaml
@@ -40,3 +40,7 @@ modules:
- PKG_CONFIG_PATH
'':
- CMAKE_PREFIX_PATH
+
+ lmod:
+ hierarchy:
+ - mpi