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
<p>The <code>get_module_path</code> function provided by the EasyBuild framework in the
5011
5029
<code>easybuild.framework.easyconfig.easyconfig</code> module returns the (full)
@@ -5029,8 +5047,8 @@ <h3 id="python-module-name-and-location">Python module name and location<a class
5029
5047
configuration option. As long as both the filename of the Python module and the name of the Python class
5030
5048
are correct, EasyBuild will use these easyblocks when needed.</p>
5031
5049
<p>On LUMI, the EasyBuild configuration modules take care of setting this parameter (using the corresponding environment
5032
-
variable), pointing to custom easyblocks in the LUMI software stack itself and a repo (with a fixed name) that users
5033
-
can create themselves. At this moment it does not yet include possible other easyblock repositories in other repositories.</p>
5050
+
variable), pointing to custom easyblocks in the LUMI software stack itself, the repo for contributed easyconfigs,
5051
+
and a repo (with a fixed name) that users can create themselves. </p>
5034
5052
<h2id="structure-of-an-easyblock">Structure of an easyblock<aclass="headerlink" href="#structure-of-an-easyblock" title="Permanent link">¶</a></h2>
5035
5053
<p>The example below shows the overall structure of an easyblock:</p>
and <ahref="https://github.com/ComputeCanada/easybuild-computecanada-config/blob/main/2023/cc_hooks.py">2023/cc_hooks.py</a>
4749
+
files</li>
4748
4750
<li><ahref="https://github.com/EESSI/software-layer/blob/main/eb_hooks.py">The hooks file from the EESSI software stack</a>.
4749
-
<ahref="https://www.eessi-hpc.org/">EESSI</a> is an effort to build a software stack distributed via
4750
-
<ahref="https://cernvm.cern.ch/fs/">CernVM-FS</a> using EasyBuild to build all software.</li>
4751
+
<ahref="https://www.eessi.io/">EESSI</a> is an effort to build a software stack distributed via
4752
+
<ahref="https://cernvm.cern.ch/fs/">CernVM-FS</a> using EasyBuild to build all software.</li>
4751
4753
</ul>
4754
+
<p>On LUMI we also use hooks, but the definition file is rather small. e/g/.
4755
+
<ahref="https://github.com/Lumi-supercomputer/LUMI-SoftwareStack/blob/main/easybuild/hooks/LUMI_site_hooks-22.08.py">the LUMI hooks file in use since LUMI/22.08</a>.</p>
4752
4756
<h2id="implementing-and-using-hooks">Implementing and using hooks<aclass="headerlink" href="#implementing-and-using-hooks" title="Permanent link">¶</a></h2>
4753
4757
<p>Using hooks is done by implementing functions with specific names in a Python module,
4754
4758
and configuring EasyBuild to use them by specifying the path to the file that contains them
0 commit comments