| Next revision | Previous revision |
| habrok:software_environment:eessi [2025/08/28 15:41] – created pedro | habrok:software_environment:eessi [2026/10/12 13:30] (current) – pedro |
|---|
| <code bash> | <code bash> |
| module load EESSI/2023.06 | module load EESSI/2023.06 |
| | or |
| | module load EESSI/2025.06 |
| | or |
| | module load EESSI/2026.06 |
| </code> | </code> |
| |
| After this set-up, the usual ''module'' commands will be aware of the EESSI stack, for example: | EESSI has different releases, and each release comes with its own set of software. The [[https://www.eessi.io/docs/available_software/|Available Software page]] of the EESSI documentation has an overview of the different applications included in every EESSI release. |
| | |
| | After this setup, the usual ''module'' commands will be aware of the EESSI stack, for example: |
| <code bash> | <code bash> |
| module avail OpenFOAM/12-foss-2023a | module avail OpenFOAM/12-foss-2023a |
| |
| Note that EESSI's software stack cannot be used simultaneously with Hábrók's locally installed software stack (that is, the one you can access directly upon login, without loading ''EESSI/2023.06''). When you load EESSI, the Hábrók software stack will be automatically disabled. You can restore it by loading the Hábrók stack again, with ''module load 2023.01''. This is to ensure that potentially incompatible software is not loaded at the same time. | Note that EESSI's software stack cannot be used simultaneously with Hábrók's locally installed software stack (that is, the one you can access directly upon login, without loading ''EESSI/2023.06''). When you load EESSI, the Hábrók software stack will be automatically disabled. You can restore it by loading the Hábrók stack again, with ''module load 2023.01''. This is to ensure that potentially incompatible software is not loaded at the same time. |
| | |
| | ====== Self-compiled applications ====== |
| | |
| | Before compiling your own binaries with compilers from the EESSI stack, you would first need to decide which [[https://docs.easybuild.io/terminology/#toolchains|toolchain]] you want to use. A toolchain is EasyBuild terminology and basically consists of the compilers and important (mathematical and communication) libraries that many applications often need. The main toolchain in EESSI is the [[https://docs.easybuild.io/common-toolchains/#common_toolchains_foss|foss toolchain]], but different versions of this toolchain are available (see https://www.eessi.io/docs/available_software/detail/foss/) and each version comes with its own versions of these compilers and libraries. Depending on other modules that you would want to use or specific requirement of your code, you may want to pick a specific toolchain version, but otherwise you could simply try the latest one. |
| | |
| | Once you have determined which toolchain you want to use, load the corresponding ''buildenv'' module for this toolchain. This is a helper module that ensures that self-compiled binaries will be able to find all their dependencies at runtime. For instance, for ''foss/2025b'' you would load ''buildenv/default-foss-2025b''. You can then compile your application. Compiling without this ''buildenv'' module would lead to runtime errors like: |
| | <code> |
| | error while loading shared libraries: libsomelibrary.so: cannot open shared object file: No such file or directory |
| | </code> |
| | |
| |
| ====== EESSI in other contexts ====== | ====== EESSI in other contexts ====== |