Module resolve

Source
Expand description

Resolution of defaults and overrides into launch lines and environments.

Structs§

Scope
Everything a phase needs to know about where it runs.

Enums§

Role
A phase role: which launch arguments a command takes from [phase_defaults] or the target’s phases.

Constants§

MODULE_SCRIPT
Fixed script of the module wrapper; module names arrive through the environment, never through interpolation. The site’s init is sourced without -e or -u, as a login shell sources it: EESSI’s Lmod init reads variables it never sets. module and the command run under -e. The names are split with pathname expansion off, so that module load gets each one as written, and back on for module load itself.
MODULE_SHELLS
Shells that modules.shell may name, by name or by path. The wrapper needs a POSIX shell, which splits an unquoted expansion at white space and takes set -f: zsh does neither, and csh, tcsh and fish cannot parse it.

Functions§

explain
Resolved view of one or all targets after defaults and overrides. site_file is the EB_PIPELINE_SITE of the environment it shows.
licence_group
Group that applies to a package, if any. A version that does not parse gets the group (fail closed).
role_args
Launch arguments of a role: the target override, else the default.