[Beowulf] Lmod question

Peter Kjellström cap at nsc.liu.se
Sat Jun 20 01:09:49 PDT 2020


On Thu, 18 Jun 2020 16:18:53 -0700 (PDT)
David Mathog <mathog at caltech.edu> wrote:

> Calling all Lmod gurus...
> 
> I have been migrating packages from one machine to another, adding
> their Lmod lua files as I go using this script:
> 
> https://saf.bio.caltech.edu/pub/software/linux_or_unix_tools/module_generate_from_directory.sh
> 
> This is done from an account "modules" and normally as soon as that
> script has completed doing this:
> 
> module avail 2>&1 | grep newpackagename

Not an answer to your problem but a quality-of-life detail, "module
avail" accepts case insensitive substring match. That is, you can
remove "2>&1 | grep" above. :-)

/Peter


More information about the Beowulf mailing list