EasyBuild: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 8: Line 8:
<!--T:2-->
<!--T:2-->
[https://easybuild.io/ EasyBuild] is a tool for building, installing, and maintaining software on high-performance computing systems.  
[https://easybuild.io/ EasyBuild] is a tool for building, installing, and maintaining software on high-performance computing systems.  
We use it to build almost everything in Compute Canada's software repository, [[CVMFS]].
We use it to build almost everything in our software repository, [[Accessing_CVMFS|CVMFS]].


= EasyBuild and modules = <!--T:3-->
= EasyBuild and modules = <!--T:3-->
One of the key features of EasyBuild is that it automatically generates environment [[Utiliser_des_modules/en|modules]] which can be used to make a software package available in your session. In addition to defining standard Linux environment variables such as <tt>PATH</tt>, <tt>CPATH</tt> and <tt>LIBRARY_PATH</tt>, EasyBuild also defines some environment variables specific to EasyBuild, two of which may be particularly interesting to users:
* <tt>EBROOT<name></tt>: Contains the full path to the location where the software <tt><name></tt> is installed.
* <tt>EBVERSION<name></tt>: Contains the full version of the software <tt><name></tt> loaded by this module.


== EBROOT environment variables == <!--T:4-->
For example, the module <tt>python/3.10.2</tt> on Narval defines:
* <tt>EBROOTPYTHON</tt>: <tt>/cvmfs/soft.computecanada.ca/easybuild/software/2020/avx2/Core/python/3.10.2</tt>
* <tt>EBVERSIONPYTHON</tt>: <tt>3.10.2</tt>


<!--T:5-->
= Installation recipes and logs =
...MORE NEEDED...
EasyBuild keeps a copy of the recipe used to install each software package, as well as a detailed log inside of the installation directory. This is accessible in the directory <tt>$EBROOT<name>/easybuild</tt>. For example, for the <tt>python/3.10.2</tt> module, the installation directory contains, amongst other things:  
* <tt>$EBROOTPYTHON/easybuild/Python-3.10.2.eb</tt>
* <tt>$EBROOTPYTHON/easybuild/easybuild-Python-3.10.2-*.log</tt>


= Using EasyBuild in your own account = <!--T:6-->
= Using EasyBuild in your own account = <!--T:6-->
Bureaucrats, cc_docs_admin, cc_staff, rsnt_translations
2,837

edits