Skip to content

Conference notes for 2024 09 10

Robert McLay edited this page Sep 15, 2024 · 2 revisions

Lmod Zoom Mtg: 2024-09-10

Addendees

  • Robert McLay (TACC)
  • Shelly Johnson (U. Vermont)
  • Bennet Fauber (U. Vermont)

Agenda

  • Q/A
  • A demo of new support hidden and forbidden modules
    • Branch IS690-hide now support hide{} and forbid{} functions
    • hide{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={} }
    • forbid{name="",before="",after="",message="", nearlymessage="",user/notuser={}, group/notgroup={}}
    • TCL .modulerc files support Tmod commands: module-hide, module-forbid
    • Releasing this branch now.
    • Becomes the main branch at SC.
  • A discussion of source_sh and sh_to_modulefile internal changes
    • Changed the way that prepend/append calculated
    • Old way would sometime use setenv() instead of prepend/append
    • Could lose $PATH when unloading.
    • New way checks for any old paths: No old paths -> setenv()
    • Otherwise any new paths are either prepend or append
  • zsh startup issues resolved. Now in Lmod 8.7.49
__build_FPATH_for_zsh_ksh()
{
  (compinit -C 2> /dev/null)
  if [ "$?" != 0 ]; 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
}
  • Fixed a bug in installation docs:
    • Had as an example /path/to/modulefiles/\*
    • This is a formatting bug in rst. Most times need: * but not in indented sections
  • User wanted a local install of TCL. Lmod's configure now supports TCL_PKG_CONFIG_DIR to help pkg-config find local TCL includes and libs
  • python3 support mysqlclient seems to be gone
    • Looking to see if Mysql connector will work.
  • Discussion of other Lmod issues over the past month
Clone this wiki locally