EasyBuild: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 81: Line 81:


<!--T:27-->
<!--T:27-->
which means that it contains GCC version 9.3.0, OpenMPI 4.0.3, CUDA 11.4, and FlexiBLAS 3.0.4. The <tt>builddependencies</tt> part means that the <tt>gofbc</tt> toolchain is a superset of the <tt>gompic</tt> and the <tt>gccflexiblascuda</tt> toolchains. When a toolchain is a superset of other toolchains, it allows software packages built with the former to have dependencies on software packages built with the latter, i.e. software packages built with <tt>gofbc</tt> can depend on software packages built with <tt>gompic</tt>, but not the other way around.  
which means that it contains GCC version 9.3.0, OpenMPI 4.0.3, CUDA 11.4, and FlexiBLAS 3.0.4. The <code>builddependencies</code> part means that the <code>gofbc</code> toolchain is a superset of the <code>gompic</code> and the <code>gccflexiblascuda</code> toolchains. When a toolchain is a superset of other toolchains, it allows software packages built with the former to have dependencies on software packages built with the latter, i.e. software packages built with <code>gofbc</code> can depend on software packages built with <code>gompic</code>, but not the other way around.  
}}
}}


== Installing a software with EasyBuild == <!--T:28-->
== Installing a software with EasyBuild == <!--T:28-->
Once you have found a recipe matching your needs, copy its recipe from the <tt>/cvmfs/soft.computecanada.ca/easybuild/ebfiles_repo/$EBVERSIONGENTOO</tt> folder, and modify it as needed. Then, run  
Once you have found a recipe matching your needs, copy its recipe from the <code>/cvmfs/soft.computecanada.ca/easybuild/ebfiles_repo/$EBVERSIONGENTOO</code> folder, and modify it as needed. Then, run  
{{Command|eb <recipe.eb>}}
{{Command|eb <recipe.eb>}}
to install it. This will install the software inside of your home directory, in <tt>$HOME/.local/easybuild</tt>. After the installation is completed, exit your session and reconnect to the cluster, and it should be available to load as a module.
to install it. This will install the software inside of your home directory, in <code>$HOME/.local/easybuild</code>. After the installation is completed, exit your session and reconnect to the cluster, and it should be available to load as a module.


=== Reinstalling an existing version === <!--T:29-->
=== Reinstalling an existing version === <!--T:29-->
Line 99: Line 99:
Then, to get these modules available in your sessions, run
Then, to get these modules available in your sessions, run
{{Command|export RSNT_LOCAL_MODULEPATHS{{=}}/path/to/your/project/easybuild/modules}}
{{Command|export RSNT_LOCAL_MODULEPATHS{{=}}/path/to/your/project/easybuild/modules}}
If you want to have this available by default in your sessions, you can add this command to your <tt>.bashrc</tt> file in your home.
If you want to have this available by default in your sessions, you can add this command to your <code>.bashrc</code> file in your home.


= Additional resources = <!--T:13-->
= Additional resources = <!--T:13-->
rsnt_translations
56,430

edits