Table of Contents
- Preface
- Installation from source
- Advanced topics and troubleshooting
- Tested systems
- Included packages
Our classic bash/cmake based setup system
has been named "Legacy". It has been moved to the
sub-directory legacy/
to distinguish it clearly
from the future Spack-based setup system
(for more information see here).
The latter will eventually replace the "Legacy" setup system
in a future release.
Installing FairSoft is based on the standard CMake workflow.
Find the list of required system packages together with instructions on how to install them in the dependencies section.
git clone -b <release> https://github.com/FairRootGroup/FairSoft
For <release>
choose
apr21
, orapr21p1
, ... - a particular releaseapr21_patches
- always points to the latest patch release for theapr21
releasemaster
- track the latest stable release (e.g. ifapr21
is the latest releasemaster
is the same asapr21_patches
)dev
- the bleeding edge development version
Discover releases here: https://github.com/FairRootGroup/FairSoft/releases
cmake -S <path-to-source> -B <path-to-build> -C <path-to-source>/FairSoftConfig.cmake
<path-to-source>
shall point to the cloned git repo from the previous step<path-to-build>
is a temporary directory of your choice where all of the package download, extraction, and building happens
Set the installation prefix and more customization options in the FairSoftConfig.cmake
file itself.
After a successful CMake configure step, you start the build/install step as follows:
cmake --build <path-to-build> [-j<ncpus>]
<path-to-build>
is the same directory as chosen in the previous configure step-j<ncpus>
parallelize the build
export SIMPATH=<path-to-install>
Simply export an environment variable SIMPATH
which points to the chosen install directory from step 2
and continue with the FairRoot installation.
Find several advanced and troubleshooting topics in the advanced section.
The following systems are tested regularly. If you feel your system is missing, please contact us.
System | Version | Compiler | CMake |
---|---|---|---|
CentOS | 7 | GCC 7.3.1 (devtoolset-7) | 3.17.3 (epel: cmake3) |
Rockylinux | 8 | GCC 8.5.0 | 3.20.2 |
Debian | 10 | GCC 8.3.0 | 3.18.3 (bootstrap-cmake.sh ) |
Debian | 11 | GCC 10.2.1 | 3.18.4 |
Fedora | 33 | GCC 10.3.1 | 3.19.7 |
Fedora | 34 | GCC 11.2.1 | 3.20.5 |
Fedora | 35 | GCC 11.2.1 | 3.22.1 |
macOS | 10.15 | AppleClang 12.0, gfortran 11.2.0 | 3.22.1 (brew) |
macOS | 11 | AppleClang 12.0, gfortran 11.2.0 | 3.22.1 (brew) |
OpenSUSE | 15.2 | GCC 7.5.0 | 3.17.0 |
Ubuntu | 20.04 | GCC 9.3.0 | 3.16.3 |