When using auto_modules in form.yml it correctly finds modules but it does not correctly populate the value that needs to be fed to module load. It also does not list the full module name.
For instance I have a module zellij/0.45.1-2026 that first requires the module custom/2026a to be loaded. Here is what it looks like in module spider
$ module spider zellij/0.45.1-2026a
--------------------------------------------------------------------------------------------
zellij: zellij/0.45.1-2026a
--------------------------------------------------------------------------------------------
You will need to load all module(s) on any one of the lines below before the "zellij/0.45.1-2026a" module is available to load.
custom/2026a
Help:
For help contact your site administrators.
So a correct load command would be:
module load custom/2026a zellij/0.45.1-2026a
using auto_modules_zellij in form.yml correctly finds the module but truncates the label as show here:
However when used in a templates/*.sh.erb script you get a value such as:
module -q load <%= context.auto_modules_zellij %>
module -q load zellij/0.45.1
This will not correctly load as the module dependencies are missing.
So I have 3 questions:
- Is it possible to fix the lack of module dependencies?
- Is it possible to show the full version of the module?
- Is it possible to use the full name/version of the module in the value? You can see from my module load example above that the
-2026agot stripped from the value as well.
