Debian Codegraph @

my_docs/23/lmod_zoom_mtg_2023_08_01/Bigideas.org

raw
1 Possible way to organize 8/1 talk
2
3 Notes on 15 years of Lmod.
4
5 * Bill asked me to see if I could solve TACC's problem with the software hierarchy
6 ** Track $MODULPATH changes
7 ** Lmod was born
8
9 * Decided to use Lua
10 ** Which turn out to be happy accident
11 ** Lua is much easier to protect from user interfernce than Python
12 ** Originally thought that "Env Module" community would merge my prototype into the TCL/C version
13 ** Lua is fast enough
14 * Lmod success comes down to these things:
15 ** No competition (Tmod 3 (TCL/C) suppport was at end of life)
16 *** pure TCL Tmod support didn't exist until 2017
17 ** Documentation:
18 *** 2K to 3K unique users read the documentation very month
19 *** A few Users care enough to send patches to fix typos
20 *** It is good enough
21 ** Answer the mailling list/github question or comments
22 *** Answering the %^$#^$ mailing list
23 **** Learning to be polite when answering.
24 **** "You might consider ..."
25 **** "Please test ... when you get a chance"
26 **** Not getting upset when non-native english speaker write emails that sound insulting to me.
27 ** Easy transition from Tmod to Lmod
28 ** It was reliable
29 ** Many Features not provided by any other tool
30 ** Testing (There are 1400+ system tests now)
31 ** Unsolicited articles written by Jeff Layton about Lmod
32 ** Lmod is the Environment Module tool used by EB, Open HPC, Spack
33 ** The ability to debug Lmod at sites where I don't have access.
34 ** As many people have told me: "Lmod just works so I don't worry about it"
35 * These things build trust in the user community
36 * Started to be use by TACC in 2010, released to the world in 2011
37 ** There has been a steady release since then
38 * Feature added over time
39 ** Tab completion for bash and zsh
40 ** Support for N/V then C/N/V finally N/V/V (Lmod 7+)
41 ** Module Properties
42 ** Spider Cache to speed up "module avail" optianally "module load"
43 ** ml
44 ** sandbox
45 ** pushenv, sticky modules, i18n
46 ** Hooks, /etc/lmod/lmod_config.lua
47 ** Packages: Mac Brew, Fedora, Debian
48 ** Optional Tracking of module usage
49 ** Hidden Modules, depends_on
50 ** source_sh(): source a shell script inside a modulefile
51 ** LMOD_QUARANTINE_VARS
52 ** ...
53 * Lmod lesson learned
54 ** git worktrees
55 ** connection between XALT and Lmod
56 ** Learned way more than I have every wanted to know about shell startup for bash, zsh, tcsh, fish, rc etc
57 ** Want tcsh to die
58 ** Want every one to switch from bash to zsh as bash's startup procedure is !@#$%^ for interactive non-login shells
59 ** It can be difficult to figure what problem a user is reporting. It is not always a bug.
60 ** bugReport issue reporting
61 ** double quotes for shell eval, who knew!?
62 ** Do not use quotes when writing out strings for bash, zsh (except for newlines in bash and zsh env vars)
63 ** Can't test every possibility, users will **always** find a case you have missed.
64 ** Users will read the Lmod documentation (2K per month)
65 ** That other tools will use spiderT.json for their work
66 ** Provide a way for sites to modify Lmod state vars with Cosmic:assign() interface
67 ** That stuff that I think is really kewl like settarg won't always find an audience
68 ** That the moduleTable has an incredible tool for saving items into the users' env.
69 ** That not every site works the same as TACC.
70 ** That modules are the key way that Sysadmin talk with users to provide software.
71 ** Communicate change in Lmod via README.new