I think that EB dependencies showing up in .../modules/all are confusing to end users. We should avoid exposing dependency modules such as Bison, GCCcore, M4, zlib, etc.etc. to end users.

Lmod and Tmod apparently allow you to hide modules in a modulerc file. For Lmod 7.0 the syntax is "hide-module foo/3.2.1".

However, I can't get this to work. If I create a file .../modules/all/.modulerc with the line "hide-module zlib/1.2.8", the zlib still shows up with "module avail". I haven't been able to find any documentation of the function of MODULERCFILE or .modulerc in Lmod or Tmod. We're using Lmod 6.5.1 on CentOS 7.2.

Question: Has anyone succeeded in hiding modules with Lmod in this way?

Thanks,
Ole

Reply via email to