Debian Codegraph @

my_docs/18/sc18/booth/talk.tex

raw
1 \documentclass{beamer}
2
3 % You can also use a 16:9 aspect ratio:
4 %\documentclass[aspectratio=169]{beamer}
5 \usetheme{TACC16}
6
7 % It's possible to move the footer to the right:
8 %\usetheme[rightfooter]{TACC16}
9
10 \begin{document}
11 \title[Lmod]{SC18: 8th Annual Lmod Booth Talk}
12 \author{Robert McLay}
13 \date{November 13, 2018}
14
15 % page 1
16 \frame{\titlepage}
17
18 \section{Introduction}
19
20 \begin{frame}{Introduction}
21 \begin{itemize}
22 \item Welcome to the 8th annual TACC Booth Talk
23 \item What is Lmod?
24 \item Why you might to use it
25 \item What is new?
26 \end{itemize}
27 \end{frame}
28
29 \begin{frame}{Lmod's Big Ideas}
30 \begin{itemize}
31 \item A modern replacement for a tried and true concept.
32 \item The guiding principal: ``Make life easier w/o getting in
33 the way.''
34 \end{itemize}
35 \end{frame}
36
37 \begin{frame}{Why You Might Want To Use Lmod}
38 \begin{itemize}
39 \item Same \texttt{module} command as in Tmod
40 \item Active Development; Frequent Releases; Bug fixes.
41 \item Vibrant Community
42 \item It is used all over the world.
43 \item Enjoy many capabilities w/o changing a single module file
44 \item Debian and Fedora packages available
45 \item Many more advantages when you're ready
46 \item It is what we use every day (Even on our Cray!)
47 \end{itemize}
48 \end{frame}
49
50 \begin{frame}{Features}
51 \begin{itemize}
52 \item Reads for TCL and Lua modulefiles
53 \item One name rule.
54 \item Support Software Hierarchy (but not required!)
55 \item Spider Cache: fast \texttt{\color{blue} \$ module avail}
56 \item Properties (gpu, mic)
57 \item Semantic Versioning: 5.6 is older than 5.10
58 \item family(``compiler'') family(``mpi'') support
59 \item Optional Tracking: What modules are loaded?
60 \item Many other features: ml, collections, hooks, ...
61 \end{itemize}
62 \end{frame}
63
64 \begin{frame}{History of Support for Module Names}
65 \begin{itemize}
66 \item Originally only \emph{name/version}: gcc/4.8.1
67 \item Lmod 5+ \emph{cat/name/version}: compiler/gcc/4.8.1
68 \item Lmod 7+ \emph{name/version/version}: intel/impi/64/18.0.1
69 \end{itemize}
70 \end{frame}
71
72 \begin{frame}{New with Lmod 7: NVV}
73 \begin{itemize}
74 \item Support for \emph{name/v1/v2}: fftw/64/3.3.4
75 \item MODULERC Support:
76 \begin{itemize}
77 \item Set Defaults under Site and/or User
78 \item Hide any installed module
79 \end{itemize}
80 \item Major refactoring of Lmod
81 \begin{itemize}
82 \item support NVV
83 \item Code Cleanup
84 \item Better Spider Cache handling
85 \end{itemize}
86 \end{itemize}
87 \end{frame}
88
89 \begin{frame}{Setting Defaults}
90 \begin{itemize}
91 \item System MODULERC file: \texttt{/path/to/lmod/etc/rc}
92 \item \texttt{\$MODULERC} points to a file.
93 \item User \texttt{\textasciitilde/.modulerc}
94 \item Can set defaults User, System, Files
95 \item Examples: account for web services
96 \item .modulerc.lua and modulerc.lua support.
97 \end{itemize}
98 \end{frame}
99
100 \begin{frame}{Hiding Modules}
101 \begin{itemize}
102 \item System MODULERC file: \texttt{/path/to/lmod/etc/rc}
103 \item User \texttt{\textasciitilde/.modulerc}
104 \item \texttt{\color{blue}hide-version foo/1.2.3}
105 \item Hidden from avail, spider and keyword
106 \item Hidden modules can be loaded
107 \item Sites: deprecation, experimental
108 \item show hidden: \texttt{module --show-hidden avail}
109 \end{itemize}
110 \end{frame}
111
112
113 \begin{frame}{New Features}
114 \begin{itemize}
115 \item New module function: \texttt{depends\_on()}
116 \item Reference counting on PATH like variables
117 \item French, German, Spanish translations for Lmod messages.
118 \item Admin list (AKA Nag List) supports Lua Regex for matching
119 \item .modulerc.lua and modulerc.lua support.
120 \end{itemize}
121 \end{frame}
122
123 \begin{frame}{\texttt{depends\_on()}}
124 \begin{itemize}
125 \item Modules X and Y depends on Module A
126 \item ml purge; ml X; ml unload X; $\Rightarrow$ unload A
127 \item ml purge; ml X Y; ml unload X; $\Rightarrow$ keep A
128 \item ml purge; ml X Y; ml unload X Y ; $\Rightarrow$ unload A
129 \item ml purge; ml A X Y; ml unload X Y ; $\Rightarrow$ keep A
130 \end{itemize}
131 \end{frame}
132
133 \begin{frame}{Reference Counting for PATH like variables}
134 \begin{itemize}
135 \item AKA: the /usr/local/bin problem
136 \item Old:
137 \begin{itemize}
138 \item Default path has /usr/local/bin
139 \item Module A also has /usr/local/bin
140 \item Unloading module A removes /usr/local/bin from path
141 \end{itemize}
142 \item New: With Ref. Count the problem is fixed.
143 \end{itemize}
144 \end{frame}
145
146 \begin{frame}{MODULEPATH ref counting}
147 \begin{itemize}
148 \item A user has requested the MODULEPATH have ref-counting
149 \item \texttt{ml unuse /path/to/modules} would always remove
150 directory from MODULEPATH
151 \end{itemize}
152 \end{frame}
153
154 \begin{frame}[fragile]
155 \frametitle{Lmod Doc usage}
156 \center{\includegraphics[width=.9\textwidth]{Lmod_docs_usage}}
157 \end{frame}
158
159
160 \begin{frame}{Other Talks of Interest at SC 18}
161 \begin{itemize}
162 \item BoF: Getting Software Installed Wed: 12:15 @ D175
163 \item Vanderbilt U. \# 3727: Wed 11am, Thu. 2pm
164 \item CEA \#2004 Wed 10-12 ``Module Rendez-vous''
165 \item XALT @ NVIDIA \#2417 Wed 3:30
166 \end{itemize}
167 \end{frame}
168
169 \begin{frame}{Conclusions: Lmod 7+}
170 \begin{itemize}
171 \item Latest version: https://github.com:TACC/Lmod.git
172 \item Stable version: http://lmod.sf.net
173 \item Documentation: http://lmod.readthedocs.org
174 \item This Talk: lmod.sf.net Presentations/SC18\_TACC\_Booth\_Lmod\_talk.pdf
175 \end{itemize}
176 \end{frame}
177
178 \end{document}