<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>I never understood the benefit of lmod vs environment modules,
although I see a push to use lmod. Particularly for versioning,
but I always managed versions by using directory hierarchies. For
instance, OpenMPI:</p>
<p>mpi/openmpi/3.2.3<br>
mpi/openmpi/4.0.2</p>
<p>Then set a conflict on the top path (mpi/openmpi), which forces
only one version to be able to be loaded. I also set paths so
specific versions of libraries become available depending on what
environment you select (gcc vs intel for example).<br>
</p>
<p>Is there something besides versioning that lmod shines at? <br>
</p>
<p>Brian Andrus<br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 11/24/2019 12:48 AM, Yair Yarom
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAAHNG4aUVtR0iAYq7JdjQcPCBguJg_0H4Cf1EBQWUp_U01OCxw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr">We also use lmod here. Very useful when different
versions are needed or for any software installations outside
the distribution.</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">However, our environment is heterogenous, and the
software modules might have different versions/paths on
different nodes. This creates an issue when users run 'module
load something' on the submission node, and then run
srun/sbatch and the wrong module is loaded (or just the wrong
PATH is kept).</div>
<div dir="ltr">To solve this (in an overly complicated manner..)
we have a taskprolog plugin and a spank plugin that: a. resets
the modules at submission, and b. let the user add "--module
<something>" to the srun/sbatch so that the appropriate
module will be loaded on the nodes.<br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sat, Nov 23, 2019 at
11:55 AM William Brown <<a
href="mailto:william@signalbox.org.uk"
moz-do-not-send="true">william@signalbox.org.uk</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div dir="ltr">Agreed, I have just been setting up Lmod on a
national compute cluster where I am a non-privileged
cluster and on an internal cluster where I have full
rights. It works very well, and Lmod can read theTcl
module files also. The most recent version has some extra
features specially for Slurm. An I use EasyBuild, saves
hundreds of hours of effort. I do quite often have to
hand create simple module files for software with no
EasyConfig but I can just copy the structure from module
files created by EasyBuild so it has never been a great
problem.
<div><br>
</div>
<div>The best bit of modules is being able to offer
multiple conflicting versions of software like Java,
Perl, R etc.</div>
<div><br>
</div>
<div>William</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sat, 23 Nov 2019 at
03:57, Chris Samuel <<a
href="mailto:chris@csamuel.org" target="_blank"
moz-do-not-send="true">chris@csamuel.org</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">On 22/11/19 9:37 am,
Mariano.Maluf wrote:<br>
<br>
> The cluster is operational but I need to install
and configure <br>
> environment modules.<br>
<br>
If you use Easybuild to install your HPC software then
it can take care <br>
of the modules too for you. I'd also echo the
recommendation from <br>
others to use Lmod.<br>
<br>
Website: <a
href="https://easybuilders.github.io/easybuild/"
rel="noreferrer" target="_blank"
moz-do-not-send="true">https://easybuilders.github.io/easybuild/</a><br>
Documentation: <a
href="https://easybuild.readthedocs.io/"
rel="noreferrer" target="_blank"
moz-do-not-send="true">https://easybuild.readthedocs.io/</a><br>
<br>
All the best,<br>
Chris<br>
-- <br>
Chris Samuel : <a href="http://www.csamuel.org/"
rel="noreferrer" target="_blank"
moz-do-not-send="true">http://www.csamuel.org/</a> :
Berkeley, CA, USA<br>
<br>
</blockquote>
</div>
</blockquote>
</div>
<br clear="all">
<br>
-- <br>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">
<div>
<pre style="font-family:monospace"> <span style="color:rgb(133,12,27)">/|</span> |
<span style="color:rgb(133,12,27)">\/</span> | <span style="color:rgb(51,88,104);font-weight:bold">Yair Yarom </span><span style="color:rgb(51,88,104)">| Senior DevOps Architect</span>
<span style="color:rgb(92,181,149)">[]</span> | <span style="color:rgb(51,88,104);font-weight:bold">The Rachel and Selim Benin School</span>
<span style="color:rgb(92,181,149)">[]</span> <span style="color:rgb(133,12,27)">/\</span> | <span style="color:rgb(51,88,104);font-weight:bold">of Computer Science and Engineering</span>
<span style="color:rgb(92,181,149)">[]</span><span style="color:rgb(0,161,146)">//</span><span style="color:rgb(133,12,27)">\</span><span style="color:rgb(133,12,27)">\</span><span style="color:rgb(49,154,184)">/</span> | <span style="color:rgb(51,88,104)">The Hebrew University of Jerusalem</span>
<span style="color:rgb(92,181,149)">[</span><span style="color:rgb(1,84,76)">/</span><span style="color:rgb(0,161,146)">/</span> <span style="color:rgb(41,16,22)">\</span><span style="color:rgb(41,16,22)">\</span> | <span style="color:rgb(51,88,104)">T +972-2-5494522 | F +972-2-5494522</span>
<span style="color:rgb(1,84,76)">//</span> <span style="color:rgb(21,122,134)">\</span> | <span style="color:rgb(51,88,104)"><a href="mailto:irush@cs.huji.ac.il" target="_blank" moz-do-not-send="true">irush@cs.huji.ac.il</a></span>
<span style="color:rgb(127,130,103)">/</span><span style="color:rgb(1,84,76)">/</span> |
</pre>
</div>
</div>
</div>
</div>
</blockquote>
</body>
</html>