-
Notifications
You must be signed in to change notification settings - Fork 128
Conference notes for 2022 12 06
Robert McLay edited this page Jan 5, 2023
·
1 revision
- Q/A
- Quick overview of SC
- Xavier's idea about virtual modulepath
- How to handle blocking users from unloading dependent modules
- Presentation on how Lmod deals with tricky TCL modulefiles issues
Robert McLay (TACC)
-
Ideas on how to handle blocking users from unloading dependent modules
- Add Variable LMOD_BLOCK_UNLOADING_DEPENDENT_MODULES to Makefile.in, src/Configuration.lua aclocal.m4 etc
- In src/Hub.lua modify routine M.unload()
- Check for empty stack size
- Check for non-zero ref_count in moduleTable
-
SC:
- Talked with a bunch of people about Lmod and XALT
-
Xavier's idea about using a virtual path for supporting thing like spack load
-
Issue 613: (see https://github.com/TACC/Lmod/issues/613)
- The issue is that normal setenv() also does a setenv in the current env.
- The spider cache update does not
setenv("YALES2_HOME", pathJoin(os.getenv("VSC_SCRATCH"), "yales2")) prepend_path("MODULEPATH", pathJoin(os.getenv("YALES2_HOME"), "modules"))
- Lmod will have to change to let setenv, pushenv change the local env.
- It will also have to restore the original environment after "spider" loading each modulefile.