If you're still interested, the isVisible() hook has been merged. An
example on how to use it can be found at
https://github.com/TACC/Lmod/pull/276/files

You can dynamically hide a module based on any criteria of your desire,
time, toolchain version, ...

Ward

On 07-04-17 14:32, Alan O'Cais wrote:
> Funnily enough, there's a PR for Lmod that suits exactly your use case:
> https://github.com/TACC/Lmod/pull/248
> <https://github.com/TACC/Lmod/pull/248>
> 
> On 7 Apr 2017 3:05 pm, "Andreas Hilboll" <[email protected]
> <mailto:[email protected]>> wrote:
> 
>     Hi all,
> 
>     when I started using EasyBuild, I didn't know about the option to hide
>     modules.  Slowly, the list of installed modules becomes too long for
>     `module avail` to be useful for the user.  So I would like to hide
>     modules.  The question is, how should I do this?
> 
>     1. Re-generate all modules (can I use EasyBuild to regenerate modules,
>        hiding them if I want to, without recompiling the code?)
> 
>     2. Manually hide modules (probably a bad idea)
> 
>     3. ???
> 
>     It would be nice to have a best-practices document somewhere, but I
>     couldn't find any. [*]
> 
>     Also, from what I understand, using minimal toolchains is generally a
>     good idea to keep the number of modules low -- correct?
> 
>     I'd appreciate any guidance on how I can clean up my installation.
> 
>     Cheers,
>       Andreas.
> 
>     PS: I'm using lmod
> 
>     [*] I'd be happy to write a blog post from a non-expert's perspective
>     (I'm no sysadmin, and our cluster is rather smallish, almost no
>     technical staff to maintain the software).
> 
> 
> 
> ------------------------------------------------------------------------------------------------
> ------------------------------------------------------------------------------------------------
> Forschungszentrum Juelich GmbH
> 52425 Juelich
> Sitz der Gesellschaft: Juelich
> Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
> Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
> Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender),
> Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
> Prof. Dr. Sebastian M. Schmidt
> ------------------------------------------------------------------------------------------------
> ------------------------------------------------------------------------------------------------
> 

Reply via email to