Debian Codegraph @

my_docs/18/sc18/booth/booth_talk.tex

raw
1 \documentclass{beamer}
2
3 \usetheme[headernav]{TACC} %%Drop the 'headernav' if you don't like
4 %%the stuff at the top of your slide
5
6 \usepackage{amsmath,amssymb,amsthm}
7 \usepackage{alltt}
8 \usepackage{graphicx}
9
10 \title{SC17: 7th Annual Lmod Booth Talk}
11
12
13 \author{Robert McLay}
14 \institute{The Texas Advanced Computing Center}
15
16 \date{November 15, 2017} %% Use this if you want to fix the date in
17 %% stone rather than use \today
18
19 \newcommand{\bfnabla}{\mbox{\boldmath$\nabla$}}
20 \newcommand{\laplacian}[1]{\bfnabla^2 #1}
21 \newcommand{\grad}[1]{\bfnabla #1}
22 \newcommand{\tgrad}[1]{\bfnabla^T #1}
23 \newcommand{\dvg}[1]{\bfnabla \cdot #1}
24 \newcommand{\curl}[1]{\bfnabla \times #1}
25 \newcommand{\lap}[1]{\bfnabla^2 #1}
26
27 \begin{document}
28
29 \begin{frame}
30 \titlepage
31 \end{frame}
32
33 \section{Introduction}
34
35 \begin{frame}{Introduction}
36 \begin{itemize}
37 \item Welcome to the 7th annual TACC Booth Talk
38 \item What is Lmod?
39 \item Why you might to use it
40 \item What is new?
41 \end{itemize}
42 \end{frame}
43
44 \begin{frame}{Lmod's Big Ideas}
45 \begin{itemize}
46 \item A modern replacement for a tried and true concept.
47 \item The guiding principal: ``Make life easier w/o getting in
48 the way.''
49 \end{itemize}
50 \end{frame}
51
52 \begin{frame}{Why You Might Want To Use Lmod}
53 \begin{itemize}
54 \item Same \texttt{module} command as in Tmod
55 \item Active Development; Frequent Releases; Bug fixes.
56 \item Vibrant Community
57 \item It is used from Norway to Isreal to New Zealand from Stanford to MIT to NASA
58 \item Enjoy many capabilities w/o changing a single module file
59 \item Debian and Fedora packages available
60 \item Many more advantages when you're ready
61 \item It is what we use every day!
62 \end{itemize}
63 \end{frame}
64
65 \begin{frame}{Features}
66 \begin{itemize}
67 \item Reads for TCL and Lua modulefiles
68 \item One name rule.
69 \item Support Software Hierarchy
70 \item Spider Cache: fast \texttt{\color{blue} \$ module avail}
71 \item Properties (gpu, mic)
72 \item Semantic Versioning: 5.6 is older than 5.10
73 \item family(``compiler'') family(``mpi'') support
74 \item Optional Tracking: What modules are used?
75 \item Many other features: ml, collections, hooks, ...
76 \end{itemize}
77 \end{frame}
78
79 \begin{frame}{History of Support for Module Names}
80 \begin{itemize}
81 \item Originally only \emph{name/version}: gcc/4.8.1
82 \item Lmod 5+ \emph{cat/name/version}: compiler/gcc/4.8.1
83 \item Lmod 7+ \emph{name/version/version}: intel/impi/64/18.0.1
84 \end{itemize}
85 \end{frame}
86
87 \begin{frame}{New with Lmod 7: NVV}
88 \begin{itemize}
89 \item Support for \emph{name/v1/v2}: fftw/64/3.3.4
90 \item MODULERC Support:
91 \begin{itemize}
92 \item Set Defaults under Site and/or User
93 \item Hide any installed module
94 \end{itemize}
95 \item Major refactoring of Lmod
96 \begin{itemize}
97 \item support NVV
98 \item Code Cleanup
99 \item Better Spider Cache handling
100 \end{itemize}
101 \end{itemize}
102 \end{frame}
103
104 \begin{frame}{Setting Defaults}
105 \begin{itemize}
106 \item System MODULERC file: \texttt{/path/to/lmod/etc/rc}
107 \item \texttt{\$MODULERC} points to a file.
108 \item User \texttt{\textasciitilde/.modulerc}
109 \item Can set defaults User, System, Files
110 \item Examples: account for web services
111 \end{itemize}
112 \end{frame}
113
114 \begin{frame}{Hiding Modules}
115 \begin{itemize}
116 \item System MODULERC file: \texttt{/path/to/lmod/etc/rc}
117 \item User \texttt{\textasciitilde/.modulerc}
118 \item \texttt{\color{blue}hide-version foo/1.2.3}
119 \item Hidden from avail, spider and keyword
120 \item Hidden modules can be loaded
121 \item Sites: deprecation, experimental
122 \item show hidden: \texttt{module --show-hidden avail}
123 \end{itemize}
124 \end{frame}
125
126
127 \begin{frame}{New Features since SC 16}
128 \begin{itemize}
129 \item New module function: \texttt{depends\_on()}
130 \item Reference counting on PATH like variables
131 \item French, German, Spanish translations for Lmod messages.
132 \item Admin list (AKA Nag List) supports Lua Regex for matching
133 \item Improved Settarg (more on this later?)
134 \end{itemize}
135 \end{frame}
136
137 \begin{frame}{\texttt{depends\_on()}}
138 \begin{itemize}
139 \item Modules X and Y depends on Module A
140 \item ml purge; ml X; ml unload X; $\Rightarrow$ unload A
141 \item ml purge; ml X Y; ml unload X; $\Rightarrow$ keep A
142 \item ml purge; ml X Y; ml unload X Y ; $\Rightarrow$ unload A
143 \item ml purge; ml A X Y; ml unload X Y ; $\Rightarrow$ keep A
144 \end{itemize}
145 \end{frame}
146
147 \begin{frame}{Reference Counting for PATH like variables}
148 \begin{itemize}
149 \item AKA: the /usr/local/bin problem
150 \item Old:
151 \begin{itemize}
152 \item Default path has /usr/local/bin
153 \item Module A also has /usr/local/bin
154 \item Unloading module A removes /usr/local/bin from path
155 \end{itemize}
156 \item New: With Ref. Count the problem is fixed.
157 \end{itemize}
158 \end{frame}
159
160
161 \begin{frame}{Future Work (I): Module Export}
162 \begin{itemize}
163 \item Module Collections are for individuals.
164 \item They are not meant to be shared between users
165 \item To share I plan to add ``module export''
166 \end{itemize}
167 \end{frame}
168
169
170 \begin{frame}[fragile]
171 \frametitle{Module Export}
172 {\tiny
173 \begin{semiverbatim}
174 \$ module export <collection> 2> export.txt
175 \$ cat export.txt
176
177 module purge
178 clearMT
179 export MODULEPATH=/path1:/path2
180
181 module collection_load X Y Z
182 module --ref_count 2 depend_on A
183 \end{semiverbatim}
184 }
185 \end{frame}
186
187 \begin{frame}{Future Work (II): MODULEPATH ref counting}
188 \begin{itemize}
189 \item A user has requested the MODULEPATH have ref-counting
190 \item \texttt{ml unuse /path/to/modules} would always remove
191 directory from MODULEPATH
192 \end{itemize}
193 \end{frame}
194
195 \begin{frame}[fragile]
196 \frametitle{Lmod Doc usage}
197 \center{\includegraphics[width=.9\textwidth]{Lmod_docs_usage}}
198 \end{frame}
199
200
201 \begin{frame}{Conclusions: Lmod 7+}
202 \begin{itemize}
203 \item Latest version: https://github.com:TACC/Lmod.git
204 \item Stable version: http://lmod.sf.net
205 \item Documentation: http://lmod.readthedocs.org
206 \end{itemize}
207 \end{frame}
208
209
210 \end{document}