-
Notifications
You must be signed in to change notification settings - Fork 136
Conference notes for 2024 10 01
Robert McLay edited this page Oct 30, 2024
·
4 revisions
- Robert McLay (TACC)
- Matthew Cawood (TACC)
- Kenneth Hoste (HPC-UGent)
- Kurt Lust (UAntwerp, LUMI User Support Team)
- Lev Gorenstein (Globus, UChicago)
- Q/A
- A demo of new support hidden and forbidden modules
- implementation of concepts already supported in Tmod
- request from Spack developer, see also issue #690
- Branch
IS690-hidenow supporthide{}andforbid{}functionshide{name="sn or fullName",kind="hidden or soft or hard",before="yyyy-mm-dd",after="yyyy-mm-dd",hidden_loaded=true,user={},group={},notuser={}, notgroup={} }-
ml -A avwhere-Ais short for--show-hiddenoption (or--alloption, like Tmod supports) -
H/1.0"soft hidden" module(s)will be loaded automatically onmodule load Hif it's the highest version (and no other default is set);- implementation of a concept that exists in Tmod (but use case is unclear)
- forbidden module supports providing a custom message when it's being loaded
-
cluster/.defaultClusterforbidden module can be used to force people to use a particularclustermodule, and not domodule load cluster;
-
- a module can be "nearly forbidden", starting from a specific date is starts producing a warning that it will be forbidden soon (via
before/afteroptions toforbidden); - module can be hidden except for
staffgroup vianotgroup={staff}(list of group names can be provided);
-
- Changed to match Tmod:
--hidden-loaded: Lmodhidden_loaded=true - "hidden loaded" means that loaded modules marked that way will not be shown in output of
module list- but Lmod will warn you that some loaded modules are not shown, and mention the option you can use to show them
- Zsh startup issues resolved yet again. Will be in Lmod 8.8.
- I hope that this finally resolves setting FPATH for bash, zsh, ksh
unset __zsh_fpath if [ -n "${ZSH_VERSION+x}" ] && ! (autoload -U compinit && compinit -C 2> /dev/null) ; then __zsh_fpath=$(unset FPATH; zsh -f -c 'echo $FPATH') fi export FPATH=$(@PKGV@/libexec/addto --append FPATH ${__zsh_fpath:-$FPATH} @PKGV@/init/ksh_funcs) unset __zsh_fpath
- I hope that this finally resolves setting FPATH for bash, zsh, ksh
- Question: Support for "
module --dumpname" in addition to "module --dumpversion"?-
module --dumpversionreports Lmod version -
module --dumpnamewould report you're runningLmod - modeled after
-dumpversioncommand supported by compiler, likegcc -dumpversion - Robert asked Xavier if he want to support something like this in Tmod
-
- Question: Support for non-reversible
setenv(),prepend_path?- Maybe
always_setenv(),always_prepend_path()?-
always_setenvwould also actually set an environment variable when module is being unloaded - subcommands like
help,showdon't change your environment - or maybe
setenv{'FOO', 'BAR', on_unload=true}?
-
- Robert asked Xavier if he want to support something like this in Tmod
- Maybe
- support for Tcl 9.0?
- may matter to Lmod, since it links to Tcl library
- Tue 5 Nov 2024 at 15:30 UTC