Advanced topics (installations)
Installing Rivet locally
If beyond CVMFS deployment (lxplus, Grid nodes), you wish to have your own environment lcoally, note that Rivet can be installed using aliBuild (analogous to AliPhysics). It can be done :
- in your local computer natively (beware the difficulties associated with software dependencies...)
- under alidock (a priori, smoother, but note the potential LaTeX dependencies of Rivet (See alidock/issue-145 to have custom docker image).
Assuming you have followed the instructions to install AliPhysics in a repository ~/alice, you can run:
cd ~/alice aliBuild build Rivet
This will build and install Rivet as well as its dependencies (2019/10/18):
- YODA, histogramming
- HepMC, output format for generators, input for Rivet analysis
Subsequently, you can setup the environment to use Rivet by:
alienv enter Rivet/latest-ali-master
Then, you can use Rivet in the same way as explained above for the installation from cvmfs.
Installing MC generators locally
Note however that the above instructions just provide you with Rivet and Yoda basically but do not include the various generators themselves...
Under CVMFS, you will typically find generators that are centrally installed :
- CRMC (= EPOS-LHC, 2012),
- EPOS-3.111 (2015),
and several utilities coming along (Sacrifice for Pythia, ThePEG for Herwig, Agile for fortran MC, LHAPDF sets, ...).
The version of the generators as well as their dependencies naturally evolve with time and should normally be managed accordingly in ALICE.
Such MC generators available in ALICE are encompassed into the bundle AliGenerators. One can find its constituents under https://alimonitor.cern.ch/packages, take for instance AliGenerators::v20190924-1.
Such a bundle can also be built locally with aliBuild and is managed via the recipe
alidist/defaults-pwgmmtest.sh. Such a meta-recipe relies on the recipes of the individual generators
cd ~/alice aliBuild build AliGenerators --debug --defaults generators -j 6