<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">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">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">https://easybuilders.github.io/easybuild/</a><br>
Documentation: <a href="https://easybuild.readthedocs.io/" rel="noreferrer" target="_blank">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">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">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>