-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALLATION
157 lines (106 loc) · 5.09 KB
/
INSTALLATION
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
------------------------------------------------
XFITTER --- PDF fit program from HERA.
------------------------------------------------
For the description and usage of the package please refer to the README file.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Installation and Usage Instructions
0) Pre-requirements.
====================
-- QCDNUM version at least qcdnum-17-01/13, can be found at
http://www.nikhef.nl/~h24/qcdnum/QcdnumDownload.html
-- Link to recent Root libraries (e.g. version 5.34). This is optional, but recommended to enable drawing tools, APPLgrid.
-- xFitter has been tested on various 64bit platforms:
SL6,CenOS7, Ubuntu 14.04,16.04 MacOXS
-- Optional: APPLgrid, LHAPDF, APFEL, MELA
1) INSTALLATION (basic installation)
====================================
a) Run:
./configure (--prefix=/your/installation/path/)
make
make install
b) make sure that "/your/installation/path/bin" is in your PATH.
--> you should get "xfitter" executable file installed.
c) Run a check from the source folder:
xfitter
d) Storing of the outputs: output/ (default, name can be changed in the steering.txt)
- minuit.out.txt (minuit output)
- Results.txt (chiquare and the systematic shifts)
- lhapdf.block.txt (ready to use LHAPDF5.X style grids, run tools/tolhapdf.cmd)
- xfitter_pdf (directory with the ready to use LHAPDF6.X style grids)
- fittedresults.txt (theory predictions for each fitted data point)
- pulls.first/last.txt (pulls at the start and end of the fit)
- pdfs_q2val_0i.txt (user defined PDF sets at predefined Q2 values, as set in the steering.txt)
e) To get more data files, one can use xfitter-getdata.sh script
type: ./xfitter-getdata.sh -h for help. Alternatively, data files can be downloaded from the hepforge page:
http://xfitter.hepforge.org/data.html
1B) INSTALLATION (with APPLgrid)
=================================
a) Install APPLgrid version 1.4.56 or later. Description can be found at
http://projects.hepforge.org/applgrid/
b) Run:
./configure --enable-applgrid (--prefix=/your/installation/path/)
make
make install
c) make sure that "/your/installation/path/bin" is in your PATH.
--> you should get "xfitter" executable file installed.
d) Run a check from the source folder:
xfitter
1C) INSTALLATION (with Hathor)
=================================
a) Download Hathor version 1.5 from http://www.physik.hu-berlin.de/pep/tools/hathor.html
and install it according to the instructions given there
(requires LHAPDF library)
NOTE: Hathor versions above 1.5 are not supported to work with xFitter
b) Define a variable HATHOR_ROOT such that $HATHOR_ROOT points to the
directory of your Hathor installation
c) Install the xFitter as described above but configuring it
with the option "--enable-hathor" before building it
./configure --enable-hathor (--prefix=/your/installation/path/)
make
make install
1D) INSTALLATION with LHAPDF (v5 or 6)
============================================
a) include lhapdf-config in your PATH variable
(e.g. export PATH=/your/path/to/lhapdf/bin)
b) include libLHAPDF.so library in your LD_LIBRARY_PATH variable
(e.g. export LD_LIBRARY_PATH=/your/path/to/lhapdf/lib)
c) enable the lhapdf in the configure: ./configure --enable-lhapdf
The lhapdf will be used if you change PDFStyle = 'LHAPDF' in the steering card.
./configure --enable-lhapdf (--prefix=/your/installation/path/)
make
make install
1E) INSTALLATION with NNPDF reweighting tool
============================================
- needs linking to LHAPDF
README located in ./NNPDF directory
./configure --enable-lhapdf --enable-nnpdf (--prefix=/your/installation/path/)
make
make install
NOTE: reweighting currently is working with LHAPDF6.1.1 or higher versions only
1F) Modules such as
- DIPOLE
- DiffDIS (Diffractive DIS)
- DY (LO)
- ttbar with DiffTop
- heavy flavour schemes RT, ACOT, ABM
can be ran with simple INSTALLATION procedure as described above.
Their activation is possible through the input steerings in the
steering.txt (use appropriate cards stored in input_steering/!)
1F) INSTALLATION for TMD(updf)
============================================
- needs linking to CASCADE & PYTHIA
- needs linking to LHAPDF
a) set environment variables:
for example (with SYSNAME=x86_64-slc6-gcc46-opt or similar):
export PYTHIA_ROOT=/afs/cern.ch/sw/lcg/external/MCGenerators/pythia6/428.2/$SYSNAME
export CASCADE_ROOT=/afs/cern.ch/sw/lcg/external/MCGenerators/cascade/2.2.04/$SYSNAME
export LD_LIBRARY_PATH=$PYTHIA_ROOT/lib/:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=$CASCADE_ROOT/lib/:$LD_LIBRARY_PATH
b) Run:
./configure --enable-updf --enable-lhapdf --enable-checkBounds (--prefix=/your/installation/path/)
make
make install
--> you should get "xfitter" executable file installed
c) Run a check
xfitter
============================================