Skip to content

Conference notes for 2024 08 06

Robert McLay edited this page Aug 7, 2024 · 3 revisions

Lmod Zoom Mtg: August 6th 2024

Addendees

  • Robert McLay (TACC)
  • Matthew Cawood (TACC)
  • Lev Gorenstein (Globus, UChicago)
  • Asa Rentschler (ORNL)
  • Sina Tashakkori (Appalachian State Univ.)
  • Tobi Azeez (Appalachian State Univ.)
  • Brendan Smull (Appalachian State Univ.)
  • Fernando Posada (ORNL)

Agenda

  • Q/A
  • The Lmod team has decided to call branches IS#-name
    • i.e.: IS667-terse-av-ext, IS718-FPATH not PR667, PR718
    • Calling branches PR# was confusing to users
    • Pull Requests will still be PR#
  • Issue #667: module extensions are not included in output of ml --terse avail
/opt/apps/modulefiles/Core:
snake/
snake/1.0
#    A/1.0
#    B/2.0
#    CC/3.0
snake/2.0
#    A/2.0
#    B/3.0
#    CC/3.5
  • Issue #718, #716: FPATH
    • https://github.com/TACC/Lmod/issues/718
    • Lmod now includes support for ksh scripts when run from other shells: bash, zsh, csh
    • Problem: Both Zsh and Ksh use FPATH in different ways
    • Zsh doesn't change FPATH if it has a value -> Zsh can't init correctly.
    • Lmod startup scripts work to set FPATH correct for both shells
    • #718: Site uses a zsh module so their module will have to unset FPATH in their zsh modulefile.
  • Issue #717: A module restore did not purge old env. correctly.
  • Issue #690: hiding modules from module list
    • https://github.com/TACC/Lmod/issues/690
    • I am starting to work on this.
    • I think it is a bad idea to lie to users
    • module --all list or module --show_hidden list will display hidden modules
    • When there are loaded hidden modules, there will be a message at the end of module list saying that some modules are hidden from you.
    • My proposed interface will be hide{module="name",file="path", kind="hard|soft|normal", list="hide",...}.
    • This function will be placed in modulerc.lua files
    • All old functions will be supported.
    • TCL module-hide will be mapped to hide{}
    • TCL: module-hide --hard | --soft --before --after --hidden-loaded moduleName (sn/full)
  • Issue #713: LMOD_TMOD_FIND_FIRST makes Lmod error when hidden module of the same name is in a higher path
    • https://github.com/TACC/Lmod/issues/713
    • module load B would fail if B was spread across two or more MODULEPATH directories and all B modules versions were hidden in the first directory in $MODULEPATH
    • This is now fixed.
  • Issue #714: man page generation failed when UTF-8 characters are found
  • Issue #715: MODULEPATH modifications made in the load/unload hooks are not found by module spider
    • https://github.com/TACC/Lmod/issues/715
    • I proposed using load_spider hook.
    • OP: For various reasons I am not sure of the viability of the spider hook or the inherit function for my particular situation but further discussion would probably be best suited for the monthly zoom meeting.
  • Issue #720: Expand environment variables in file pointed at by LMOD_MODULEPATH_INIT
  • We will be merging all these issue branches in to the main branch and releasing Lmod 8.7.48

Discussed during meeting:

  • Try running the following to see what Lmod is producing.
$ $LMOD_CMD shell load moduleName > exec.sh
  • the spider cache generation doesn't work with Cray Module Layout. Site plans to generate their own spiderT.lua files
  • Some issues were brought up:
    • is_loaded wasn't working as intended -> requested bug report. Consider using depends_on()
    • unsetting of alias didn't seem to work -> requested bug roport.
    • A question about how execute{} calls are output -> requested bug report.

Next meeting: Sept. 10th at 9:30 U.S. Central (14:30 UTC)

Clone this wiki locally