modulecmd: module avail reveals modules which are actually shadowed by an overlay
Listing the available gcc modules on Merlin7 shows:
gsell@login001:~ $ module avail gcc
-------------------------------- Programming --------------------------------
gcc/8.5.0 gcc/12.3.0 gcc/12.4.0 gcc/13.3.0 gcc/14.2.0
--------------------- /opt/cray/pe/lmod/modulefiles/core ---------------------
gcc-native/12.3
If you run the command for a specific version you get:
gsell@login001:~ $ module avail gcc/7.1.0
-------------------------------- Programming --------------------------------
gcc/7.1.0
This is a version shadowed by the overlay PSI! Even worse it is possible to load this module.
Another bug:
gsell@login001:~ $ module avail gcc/7
-------------------------------- Programming --------------------------------
gcc/8.5.0 gcc/12.3.0 gcc/12.4.0 gcc/13.3.0 gcc/14.2.0
This command should only show modules matching gcc/7
(in this case nothing)!