You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<h1id="managing-easybuild-installed-software-on-lumi">Managing EasyBuild-installed software on LUMI<aclass="headerlink" href="#managing-easybuild-installed-software-on-lumi" title="Permanent link">¶</a></h1>
4741
4759
<h2id="repositories-and-their-function">Repositories and their function<aclass="headerlink" href="#repositories-and-their-function" title="Permanent link">¶</a></h2>
4742
-
<p>TODO</p>
4760
+
<p>There are three LUST-maintained repositories with EasyConfig files:</p>
<h2id="creating-and-installing-a-new-release-of-the-lumi-software-stack">Creating and installing a new release of the LUMI software stack<aclass="headerlink" href="#creating-and-installing-a-new-release-of-the-lumi-software-stack" title="Permanent link">¶</a></h2>
uses the full range of tricks. Check the <ahref="https://github.com/Lumi-supercomputer/LUMI-EasyBuild-contrib/tree/main/easybuild/easyconfigs/q/QuantumESPRESSO">files in the GitHub</a>:
4894
+
the pictures are in the 'files' subdirectory</p>
4895
+
</li>
4896
+
<li>
4897
+
<p><ahref="https://lumi-supercomputer.github.io/LUMI-EasyBuild-docs/e/ELPA/">ELPA</a> used to be in the
4898
+
central stack but was moved out because we needed multiple configurations in a single
4899
+
toolchain and also had too many issues to get it to work correctly. </p>
<p>The repository contains a <code>docs</code> subdirectory with markdown-based documentation. </p>
4852
4913
<p>The <code>docs/config</code> subdirectory contains the <code>mkdocs.yml</code> file for the documentation,
@@ -4860,6 +4921,41 @@ <h3 id="documenting-the-actual-installation-process-on-lumi-uan06">Documenting t
4860
4921
<ahref="https://wiki.eduuni.fi/spaces/CSCLUST/pages/266410121/Change+log+for+the+software+stack+in+appl+lumi">"Change log for the software stack in /appl/lumi" page in the LUST eduuni wiki</a>.</p>
4861
4922
<p>This is done <em>before</em> actually doing the installation and has been tested as much as possible on a copy of the software stack
4862
4923
(currently a personal copy, could be a LUST one in 462000008).</p>
4924
+
<h2id="managing-versions-of-dependencies">Managing versions of dependencies<aclass="headerlink" href="#managing-versions-of-dependencies" title="Permanent link">¶</a></h2>
4925
+
<p>When building a new software stack, we often want to change the version of packages to a newer version.
4926
+
This implies that all EasyConfigs where the package appears as a dependency, should also change.
4927
+
The <code>dependencies</code> parameter is way too complex to tackle with <code>try-amend</code> so we needed another
4928
+
approach.</p>
4929
+
<p>On LUMI, we declare the version of packages as much as possible through variables, e.g.,
4930
+
<code>local_zlib_version</code>. We maintain files with all version variables in
alias locals2403="$installroot/LUMI-SoftwareStack/tools/upgrade-locals.lua $installroot/LUMI-SoftwareStack/easybuild/easyconfigs/versions-24.03.txt"
4955
+
alias contrib2403="$installroot/LUMI-SoftwareStack/tools/upgrade-locals.lua $installroot/LUMI-EasyBuild-contrib/easybuild/easyconfigs/versions-contrib-24.03.txt"
4956
+
</code></pre></div>
4957
+
<p>(with <code>installroot</code> an environment variable pointing to the local installation he uses; you could use <code>/appl/lumi</code> for that but would
4958
+
probably like to refer to your own copy of <code>LUMI-EasyBuild-contrib</code>).</p>
4863
4959
<p><em><ahref="../4_02_tips_and_tricks/">[Next: EasyBuild tips & tricks]</a></em></p>
4864
4960
4865
4961
@@ -4881,7 +4977,7 @@ <h3 id="documenting-the-actual-installation-process-on-lumi-uan06">Documenting t
0 commit comments