1
To use LHAPDF with MadEvent
2
------------------------------------
4
Please follow the steps below to run MadEvent with LHAPDF support:
6
1) Download and compile LHAPDF
8
2) Link (or copy) the following files from the LHAPDF directory to the lib/ directory:
10
- create a directory PDFsets (or copy the LHAPDF directory share/lhapdf to "PDFsets")
11
with the PDF sets that you want to use.
12
- libLHAPDF.so and libLHAPDF.so.0 (only if you are running dynamic compilation for a
14
Note that you need to copy the files in order to create a gridpack from this directory.
16
3) Set the pdlabel and define the LHA pdf number you want to use in your run_card.dat
17
'lhapdf' = pdlabel ! PDF set
18
10042 = lhaid ! PDF number used ONLY for LHAPDF
20
4) Run bin/cleanall (to remove any previously compiled files)
22
5) Run bin/generate_events (or run.sh/...) as usual
25
If LHAPDF doesn't work on Mac, please try downloading gcc-4.6 from
26
http://hpc.sourceforge.net/
27
and make sure /usr/local/bin comes before other directories in your PATH.
28
You might also need to compile LHAPDF with the option --enable-low-memory,
29
and perhaps remove the flag -lstd++ in the file Source/make_opts.