README.md 2.1 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
Installation Instructionsfor for CbmRoot 
*****************************************

1. Dependencies

1.1 Compiler

To be able to compile CbmRoot a compiler with full C++11 support is needed. 
GCC since version 4.8 and clang since version 3.4 are known to work without
problems. 

1.2 FairSoft

To install, compile, and run CbmRoot several external programs are required. 
This are for example Root, Geant3 or Geant4. The complete list can be found 
on the FairRoot webpage (fairroot.gsi.de). Since most of these programs can't 
be installed using the package manager of the used Linux distribution, or at 
least can't be installed in the required version, the FairRoot team provides 
a GIT repository with all needed packages and some scripts to automatically 
build and install these so called external packages.

Detailed instructions how to get and compile FairSoft (aka external packages) 
can be found at the following webpage

  https://redmine.cbm.gsi.de/projects/cbmroot/wiki/Install_External_Packages

If you are working at GSI there are always ready-to-use versions available. 
For detailed information please check the following wiki page

  https://redmine.cbm.gsi.de/projects/cbmroot/wiki/RunCbmGSI

1.3 FairRoot

CbmRoot is based on FairRoot, a package which meanwhile serves several
experiments as base for their developments. Beside FairSoft you need also
to install FairRoot to be able to compile CbmRoot 

Detailed instructions how to get and compile FairRoot can be found at the 
following webpage

  https://redmine.cbm.gsi.de/projects/cbmroot/wiki/InstallFairRoot

2. Recommended versions

GCC  : >= 4.8
  or
Clang: >= 3.4

FairSoft: may16p1

FairRoot: v-16.06b


3. Automatic installation

To make the installation more easy we provide a script which automatically
gets and installs FairSoft, FairRoot, and CbmRoot in one go. The script
always take the correct FairSoft and FairRoot versions. 
The full description of this process is at 

  https://redmine.cbm.gsi.de/projects/cbmroot/wiki/InstallCbmRootAuto

The one line command which has to be executed inside the CbmRoot source
directory is

  ./autoinstall_framework.sh 1 1 1