~maddevelopers/mg5amcnlo/WWW_tg

« back to all changes in this revision

Viewing changes to users/mardelcourt/PROC_427003/PROC_427003/README.lhapdf

  • Committer: John Doe
  • Date: 2013-03-25 20:27:02 UTC
  • Revision ID: john.doe@gmail.com-20130325202702-5sk3t1r8h33ca4p4
first clean version

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
To use LHAPDF with MadEvent
 
2
------------------------------------
 
3
 
 
4
Please follow the steps below to run MadEvent with LHAPDF support:
 
5
 
 
6
1) Download and compile LHAPDF
 
7
 
 
8
2) Link (or copy) the following files from the LHAPDF directory to the lib/ directory:
 
9
- libLHAPDF.a
 
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 
 
13
  grid pack)
 
14
Note that you need to copy the files in order to create a gridpack from this directory.
 
15
 
 
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
 
19
 
 
20
4) Run bin/cleanall (to remove any previously compiled files)
 
21
 
 
22
5) Run bin/generate_events (or run.sh/...) as usual
 
23
 
 
24
Notes for Mac OS X:
 
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.