Skip to content

Conference Notes for 2025 08 05

Robert McLay edited this page Aug 5, 2025 · 1 revision

Lmod Zoom Meeting August 5th, 2025

  • Q/A
  • Big Cache update
    • Improvements in dependency checking
    • Not Rebuilding Cache after every dependent load
    • I voting not to having store the contents in spider cache.
    • Speed improvement have been worth this effort
  • Issue #780: Not rebuilding spider cache every time after dependent load causes a problem
    • I found the fix yesterday!!!
  • Issue #704 and PR #784: Nushell support added on main branch
    • Nushell support a better quoting string pattern: r#'string'# where the number of '#' can vary: r###'string'###. This is a safer way to quote strings.
    • When regression testing, Lmod now uses a Lua program instead of sed.
    • The output of Lmod (stderr and stdout) are converted to be path independent by replacing paths to generic names.
    • Different Shells: nu, rc, fish have different ways of reporting path like variables
    • It got to difficult to handle each with on sed script
    • The new script now takes the type of shell.
  • Issue #778: Better support for N/V/V (name/version/version)
    • This issue required a great deal of re-understanding the N/V/V code
    • Requestor had module tree like:
foo
├── .version
├── 1.0.lua
└── variant
    ├── 1.0.lua
    ├── another
    │   └── 1.0.lua
    └── b
        └── 2.0.lua
  • Plan to release the next version as Lmod 9.0!!
  • A question about using environment variables in modules came up.
      setenv("ACME_DIR", "/path/to/acme")
      setenv("ACME_BIN", pathJoin(os.getenv("ACME_DIR"),"bin"))

  • This won't work when unloading as ACME_DIR has no value for the second seetenv
  • Instead use:
      local acme_dir = "/path/to/acme"
      setenv("ACME_DIR", acme_dir)
      setenv("ACME_BIN", pathJoin(acme_dir,"bin"))
  • This question has been answered in an update to the FAQ section of lmod.readthedocs.io

Next meeting September 9th (Not Sept. 2nd)

Clone this wiki locally