You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* follows the spec for [spack module configuration](https://spack.readthedocs.io/en/latest/module_file_support.html)
10
+
* follows the spec for [spack module configuration](https://spack.readthedocs.io/en/latest/module_file_support.html#the-modules-yaml-config-file-and-module-sets) with small exceptions (see [Modules](#modules) for more details).
@@ -445,7 +445,14 @@ The presence of a `modules.yaml` file in the recipe is a necessary and sufficien
445
445
!!! warning
446
446
`config:modules`field has been deprecated. It can still be specified, but it has to be consistent with the presence of `modules.yaml` file.
447
447
448
-
Modules are generated for the installed compilers and packages by spack. Rules for module generation in `modules.yaml` file should be provided as per the [spack documentation](https://spack.readthedocs.io/en/latest/module_file_support.html).
448
+
Modules are generated for the installed compilers and packages by spack.
449
+
450
+
!!! info "Rules for module generation in `modules.yaml`"
451
+
Stackinator relies on Spack's module generation capabilities, that's the reason why the `modules.yaml` file has to follow [Spack's specification](https://spack.readthedocs.io/en/latest/module_file_support.html#the-modules-yaml-config-file-and-module-sets).
452
+
But, **there are some differences**:
453
+
454
+
- `modules:default:arch_folder`defaults to `false`. If set to `true` an error is raised, as Stackinator does not support this feature;
455
+
- `modules:default:roots:tcl`must not be specified, as Stackinator automatically configures the module root to be inside the uenv mount point.
0 commit comments