TACC / Lmod

Lmod: An Environment Module System based on Lua, Reads TCL Modules, Supports a Software Hierarchy
http://lmod.readthedocs.org
Other
475 stars 122 forks source link

module hierarchy displayed all at once #628

Closed simonLeary42 closed 1 year ago

simonLeary42 commented 1 year ago

This is the output of my module avail:

image

The openmpi module is configured to prepend the openmpi-3rgk3nu directory to MODULEPATH, and I want that directory to be hidden up until it's loaded. I could have sworn that I was getting this behavior months ago but now it's different.

Is this an issue with module naming scheme? I think I want Lmod to only pay attention to modules of the form name/version.

rtmclay commented 1 year ago

What is your current $MODULEPATH? My guess is that you have something like /opt/modulefiles/ with directories openjdk and openmpi below /opt/modulefiles. That won't work. Please read https://lmod.readthedocs.io/en/latest/080_hierarchy.html about how to set up the software hierarchy. Please note that in my examples I set MODULEPATH to be /opt/apps/modulefiles/Core for modules like ocaml and /opt/app/modulefiles/MPI/.. for software built with a version of some MPI library.

simonLeary42 commented 1 year ago

Thanks