forked from AliceO2Group/AliceO2
-
Notifications
You must be signed in to change notification settings - Fork 0
Installation notes
Matthias Richter edited this page Sep 3, 2015
·
24 revisions
Installation procedure for a minimal set of FairSoft packages, FairRoot and DDS together with an AliRoot installation including Root, Geant3, AliRoot core , and AliPhysics.
- FairRoot installation fails if the FairSoft packages have been installed in 'reco only' mode, fix is provided in https://github.com/matthiasrichter/FairRoot, and a corresponding pull request has been opened https://github.com/FairRootGroup/FairRoot/pull/191
- FaiRoot needs to find Geant3, additional flag has been added to cmake find, same pull request, flag can be used
-DGEANT3_PATH=<path> - AliceO2 cmake does not find boost unless
-DBOOST_ROOT=$SIMPATHhas been added - AliceO2 cmake fails in module Generators because
PYTHIA8_INCLUDE_DIRis required
- root has been omitted from the FairSoft installation by commenting the corresponding lines in
configure.sh - aliroot is compiled with specific options in order to use the GPU tracker
-DHLT_CUDA=ON -DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda-5.5 - using repo
https://github.com/matthiasrichter/AliceO2.git - using Alice Software setup
alice-env.shfrom D. Berzano
source ~/src/AliceSoftware/alice-env.sh -m aliroot=master
Using config file /home/richterm/src/AliceSoftware/alice-env.conf
ALICE software directory is /home/richterm/src/AliceSoftware
AliEn /home/richterm/src/AliceSoftware/alien/api
ROOT /home/richterm/src/AliceSoftware/root/v5-34-32/inst
Geant3 /home/richterm/src/AliceSoftware/geant3/v2-0/inst
AliRoot Core /home/richterm/src/AliceSoftware/aliroot/master/inst
AliPhysics /home/richterm/src/AliceSoftware/aliphysics/master/inst
git clone https://github.com/matthiasrichter/FairRoot.git
cd FairRoot
mkdir build_for_alfa
cd build_for_alfa/
export SIMPATH=/home/richter/src/AliceO2/externals/2015-09-01
cmake -DCMAKE_INSTALL_PREFIX=$SIMPATH -DGEANT3_PATH=$GEANT3DIR ..
make -j $MJ install
git clone https://github.com/FairRootGroup/DDS.git
cd DDS
mkdir build_for_alfa
cd build_for_alfa/
BOOST_ROOT=$SIMPATH cmake -DCMAKE_INSTALL_PREFIX=$SIMPATH -C ../BuildSetup.cmake ..
make -j $MJ install
source $SIMPATH/DDS_env.sh
cmake -DCMAKE_INSTALL_PREFIX=/home/richterm/src/AliceO2/debug_2015-09-01 -DCMAKE_BUILD_TYPE=Debug -DUSE_DIFFERENT_COMPILER=TRUE -DGEANT3_PATH=$GEANT3DIR -DBOOST_ROOT=$SIMPATH ..