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
* `description`: _optional_ a string that describes the environment (default empty).
39
39
* `version`: _default = 1_ the version of the uenv recipe (see below)
40
40
@@ -440,11 +440,12 @@ The `append_path` field is the same as `prepend_path`, except it appends instead
440
440
441
441
## Modules
442
442
443
-
Modules are generated for the installed compilers and packages by spack. The default module generation rules set by the version of spack specified in `config.yaml` will be used if no `modules.yaml` file is provided.
443
+
The presence of a `modules.yaml` file in the recipe is a necessary and sufficient condition to enable module generation.
444
444
445
-
To set rules for module generation, provide a `modules.yaml` file as per the [spack documentation](https://spack.readthedocs.io/en/latest/module_file_support.html).
445
+
!!! warning
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.
446
447
447
-
To disable module generation, set the field `config:modules:False` in `config.yaml`.
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).
0 commit comments