-
Notifications
You must be signed in to change notification settings - Fork 129
Conference notes for 2021 12 07
Robert McLay edited this page Dec 10, 2021
·
1 revision
- Settarg
- Other Q & A
- Robert McLay (TACC)
- Kenneth Hoste (HPC-UGent)
- Ward Poelmans (Vrije Universiteit Brussel)
- Kurt Lust (UAntwerpen + LUMI User Support Team)
- Bill Barth (TACC)
- personally responsible for module hierarchy concept and dragging Robert to TACC!
- Amit Ruhela (TACC)
- Lev Gorenstein (Purdue University)
- Junjie Li (TACC)
- Raj Ayyampalayam (University of Georgia)
- see https://github.com/TACC/Lmod/blob/master/my_docs/21/lmod_zoom_mtg_2021_12_07/presentation.pdf
- settarg is short for "set target" (?)
- module that controls value of
$TARG
and makes related changes in environment - if
$LMOD_SETTARG_CMD
is not defined, themodule
function falls back to using:
, which is a no-op inbash
,tcsh
,zsh
- relative paths are added to
$PATH
because the shell re-evaluates those every time a command is run (rather than 'caching' paths to commands for absolute path entries in$PATH
) - example for how to use
$TARG
& co:contrib/settag/make_example
in Lmod repository -
settarg
behaviour can be customized using.settarg.lua
- see also https://lmod.readthedocs.io/en/latest/310_settarg.html
- latest Lmod 8.5.x (8.5.29) is now released as Lmod 8.6.0
- to let sites control which paths are filtered by spider (rather than hardcoded paths)
- see https://github.com/TACC/Lmod/blob/5d5bf13bfe723db9450fe01358ac9ca88f0898a2/src/StandardPackage.lua#L112
- only relevant for sites using reverse map (path of binary to module file)
- new in Lmod 8.6
- Robert tested this best he could, bug reports welcome!
- some issues were mentioned with OpenFOAM's $FOAM_BASH script
- but no actual bug report with more details was sent to Robert...
- sh_2_modulefile was also improved (but still static, can't deal with dynamic stuff like resolving $HOME)
- Tue Jan 11th 2022, 15:30 UTC
- usually first Tuesday of the month, next meeting in Jan'22 will be an exception