Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Equivalent of module-hide --hidden-loaded? #690

Open
haampie opened this issue Feb 19, 2024 · 0 comments
Open

Equivalent of module-hide --hidden-loaded? #690

haampie opened this issue Feb 19, 2024 · 0 comments

Comments

@haampie
Copy link

haampie commented Feb 19, 2024

Does Lmod have an equivalent of https://modules.readthedocs.io/en/latest/modulefile.html#mfcmd-module-hide?

We're generating reasonably large dependency graphs where say 30 modules are hidden, and only 2 are exposed to the user (under module avail).

Modules are hidden using an rc file:

hide_version("zlib-ng/2.1.4-xyz")

in case of Lmod, and

module-hide --soft --hidden-loaded zlib-ng/2.1.4-gcc-13.2.0-xyz

in case of "Environment Modules".

Currently after module load pkg:

  • Lmod: module list shows only 32 modules, many of which don't mean much to the user
  • Environment Modules: module list shows only 2 modules that are meaningful to the user

Does this functionality exist in Lmod too?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant