2016-03-24 17:04:02 +08:00
|
|
|
# -------------------------------------------------------------------------
|
2016-07-20 08:10:17 +08:00
|
|
|
# This is the default configuration for Spack's module file generation.
|
2016-03-24 17:04:02 +08:00
|
|
|
#
|
2016-07-20 08:10:17 +08:00
|
|
|
# Settings here are versioned with Spack and are intended to provide
|
|
|
|
# sensible defaults out of the box. Spack maintainers should edit this
|
|
|
|
# file to keep it current.
|
|
|
|
#
|
|
|
|
# Users can override these settings by editing the following files.
|
|
|
|
#
|
|
|
|
# Per-spack-instance settings (overrides defaults):
|
|
|
|
# $SPACK_ROOT/etc/spack/modules.yaml
|
|
|
|
#
|
|
|
|
# Per-user settings (overrides default and site settings):
|
|
|
|
# ~/.spack/modules.yaml
|
2016-03-24 17:04:02 +08:00
|
|
|
# -------------------------------------------------------------------------
|
|
|
|
modules:
|
2022-08-24 03:54:12 +08:00
|
|
|
# This maps paths in the package install prefix to environment variables
|
|
|
|
# they should be added to. For example, <prefix>/bin should be in PATH.
|
2016-05-12 00:05:24 +08:00
|
|
|
prefix_inspections:
|
2022-08-24 03:54:12 +08:00
|
|
|
./bin:
|
2016-05-12 00:05:24 +08:00
|
|
|
- PATH
|
2022-08-24 03:54:12 +08:00
|
|
|
./man:
|
2016-05-12 00:05:24 +08:00
|
|
|
- MANPATH
|
2022-08-24 03:54:12 +08:00
|
|
|
./share/man:
|
2016-07-12 02:35:22 +08:00
|
|
|
- MANPATH
|
2022-08-24 03:54:12 +08:00
|
|
|
./share/aclocal:
|
2016-12-08 05:53:57 +08:00
|
|
|
- ACLOCAL_PATH
|
2022-08-24 03:54:12 +08:00
|
|
|
./lib/pkgconfig:
|
2016-06-20 23:10:13 +08:00
|
|
|
- PKG_CONFIG_PATH
|
2022-08-24 03:54:12 +08:00
|
|
|
./lib64/pkgconfig:
|
2016-06-20 23:10:13 +08:00
|
|
|
- PKG_CONFIG_PATH
|
2022-08-24 03:54:12 +08:00
|
|
|
./share/pkgconfig:
|
2019-10-06 10:03:35 +08:00
|
|
|
- PKG_CONFIG_PATH
|
2022-08-24 03:54:12 +08:00
|
|
|
./:
|
2016-05-12 00:05:24 +08:00
|
|
|
- CMAKE_PREFIX_PATH
|
2017-09-20 03:34:20 +08:00
|
|
|
|
2021-05-29 05:12:05 +08:00
|
|
|
# These are configurations for the module set named "default"
|
|
|
|
default:
|
|
|
|
# Where to install modules
|
2022-04-09 03:00:35 +08:00
|
|
|
roots:
|
|
|
|
tcl: $spack/share/spack/modules
|
|
|
|
lmod: $spack/share/spack/lmod
|
2023-05-02 16:28:27 +08:00
|
|
|
# What type of modules to use ("tcl" and/or "lmod")
|
|
|
|
enable: []
|
2021-05-29 05:12:05 +08:00
|
|
|
|
2022-01-19 01:06:41 +08:00
|
|
|
tcl:
|
|
|
|
all:
|
2023-03-23 14:49:17 +08:00
|
|
|
autoload: direct
|
2022-01-19 01:06:41 +08:00
|
|
|
|
2021-05-29 05:12:05 +08:00
|
|
|
# Default configurations if lmod is enabled
|
|
|
|
lmod:
|
2022-01-19 01:06:41 +08:00
|
|
|
all:
|
|
|
|
autoload: direct
|
2021-05-29 05:12:05 +08:00
|
|
|
hierarchy:
|
|
|
|
- mpi
|