Version 13 (modified by 10 years ago) ( diff ) | ,
---|
The Third NCTS School on FeynRules-MadGraph for LHC Physics
Lectures
- Lecture on FeynRules
- Lecture on MadGraph (LO)
- Lecture on MadGraph (Matching/Merging)
- Lecture on MadGraph (aMC@NLO)
Tutorial
- Exercise sheet for the 3rd NCTS school tutorial
- First Step with MG5
- Step by Step Tutorial (FR/MG5/MA5) and Material
- Learning MG5_aMC syntax Tutorial
Installation of the needed software
In order to be efficient during the time of the school, we would like to ask you to install all the software packages that you will need during the school in advance. If you have any difficulties, please contact Olivier Mattelaer at the following address: olivier.mattelaer@… .
Windows
The different program are foreseen to run on Linux/Mac. If you don't have Linux or Mac, the best solution is to install Linux (I would advice to install Ubuntu) in dual boot and follow the instructions for Linux. This video might help you to do so: http://video.google.com/videoplay?docid=-2369893842637434537
Linux
- Basic program
- perl
- bash
- gfortran 4.x (To check the version do gfortran do: gfortran --version) Those programs are by default present in any linux distribution, but just in case you should check that they are all installed in your computer. If they are not, you can use apt-get/yum/... in order to have those.
- Madgraph 5
- python 2.6/2.7
MadGraph 5 requires python 2.6 or python 2.7. In order to check your version of python, you can type: python --version. Some of the repositories are still on python 2.5. So if updating python via your repository manager didn't work. you can download directly python from the following link: http://www.python.org/download/ and follow instructions. - Madgraph5
You will find madgraph5 package on the following page: https://launchpad.net/madgraph5. For this program, you just need to untar it. To check if mg5 is correctly install you directly try to run it by doing: ./bin/mg5 If you don't have a valid python version. It will fail directly. - Root
Root is require, in order to make some of the plots in MadEvent. Except if you are in SLC4 or SLC5 distribution, you will need to install root from scratch on your computer. The current last verstion of Root is 5.30, which you can download from here: ftp://root.cern.ch/root/root_v5.30.02.source.tar.gz After Un-packing, follow the instruction of the file README/INSTALL. Finally you should edit the file ~/.bashrc, by adding the following line into itexport ROOTSYS=PATH_TO_YOUR_UNPACK_DIRECTORY export PATH=$PATH:$ROOTSYS:$ROOTSYS/bin
- python 2.6/2.7
- Pythia/pgs/MadAnalysis
In order to install those programs, you need to launch mg5 (./bin/mg5) and then type
install pythia-pgs install MadAnalysis
- FeynRules
- Mathematica This program is NOT free, But your university as certainly a possibility to have a license for you. So please contact your IT team.
- FeynRules Please Download the Feynrule package (mathematica package): http://feynrules.irmp.ucl.ac.be/downloads/feynrules-current.tar.gz
- MC@NLO
- g77
It might occur that you already have it on your computer. Otherwise, you can downloaded it from http://www.tucows.com/preview/8001/GCC-G77 (not all repository maintained g77 anymore) - MC@NLO
You can install it from the source: https://server06.fynu.ucl.ac.be/projects/madgraph/attachment/wiki/SchoolKias/MCatNLO.tgz This package is suppose to be ready to run. To check that launch in the associate directory the command./MCatNLO.inputs
- g77
- MadAnalysis 5
In order to install the MadAnalysis 5 package, you can download a tarball of the v1.1.11 beta2 version from the website https://launchpad.net/madanalysis5 and be subsequently unpacked by issuing in a shell
mkdir MadAnalysis5 cd MadAnalysis 5 tar -xvf ma5_xxxx.tgz
where xxxx stands for a version number. MadAnalysis 5 requires several external dependencies in order to properly run:
- Python 2.6 or a more recent version (but not the 3.X series) that can be downloaded from the website http://www.python.org/. This requirement is common with those needed by the MadGraph 5 package.
- The numpy package must be properly installed to. It can be downloaded from http://www.numpy.org/
- The GNU GCC compiler. Note that MadAnalysis 5 has been validated with the versions 4.3.X and 4.4.X. The GCC compiler can be downloaded from http://gcc.gnu.org/
- ROOT v5.27 or a more recent version that can be downloaded from http://root.cern.ch/. We remind that checking the version of ROOT installed on a system, it is sufficient to type in a shell
root-config --version
Moreover, the Python libraries generated by ROOT must be present. To install them, it is necessary to first install the Linux package python-devel on the system. Next, before generating the ROOT makefile, the ROOT configuration script has to be run as./configure --enable-python
Let us note that the Python version employed when starting MadAnalysis 5 has to be the same as the one used for the compilation of ROOT.
To benefit from all options coming with the MadAnalysis 5 program, we also recommend to install Zlib headers and libraries. The latter can be downloaded from http://zlib.net. Once properly installed, MadAnalysis 5 can be launched by issuing
./bin/ma5When started, MadAnalysis 5 first checks that all the dependencies (gcc, Python, ROOT, Zlib) are present on the system and that compatibility is ensured with the installed versions. In the case of any problem, a message is printed to the screen and the code exists in the case it cannot properly run. On the first session of MadAnalysis 5, the SampleAnalyzer core is compiled behind the scene as a static library stored in the directory tools/SampleAnalyzer/Lib. For the next sessions, the kernel is only recompiled if the configuration of the system changes (new version of the dependencies or of the main program).
MacOs
- Basic program
- perl
- bash
Those programs are by default present in any Mac distribution, but just in case you should check that they are all installed in your computer (by doing perl --version). - gmake
By default, makefile are not recognize on mac. In order to check, you can do 'make --version'. If it says: -bash: make: command not found then you should install it. The easiest is to install the xcode. In order to be able to download it, you will need to a apple developer account (which is free) - gfortran 4.x (To check the version do gfortran do: gfortran --version) This program is often not included in standard mac version. In order to download it, you can download it from:
- !MadGraph5
- python
- The default python version of MacOs 10.6 is python 2.6 and is (in 99% of the case) fully working with Madgraph5, so nothing to install for you.
- The python version of MacOs 10.7 is python 2.7. We never test this python version with MG5 but in principle it should be fine.
- For other version of MacOS, you will need to install python2.7 from the python web site: http://www.python.org/download/
- Madgraph5
You will find madgraph5 package on the following page: https://launchpad.net/madgraph5. For this program, you just need to untar it. To check if mg5 is correctly install you directly try to run it by doing: ./bin/mg5 If you don't have a valid python version. It will fail directly. - Root
Root is require, in order to make some of the plots in MadEvent.- for MacOs 10.5, you can install this version: ftp://root.cern.ch/root/root_v5.26.00.macosx105-i386-gcc-4.0.tar.gz
After unpacking the directory. you will need to performed the two following action in the terminal
cd emacs .bash_profile
The last command will open a terminal, add in this file the following line:export ROOTSYS=PATH_TO_YOUR_UNPACK_DIRECTORY export PATH=$PATH:$ROOTSYS:$ROOTSYS/bin
In order to exit the emacs editor, you need to do CTRL-X CTRL-S (this will save your modification) and after CTRL-X CTRL-C. Finally in your terminal you will need to typesource .bash_profile
- for MacOs 10.6 (and maybe 10.7), you can install this version: ftp://root.cern.ch/root/root_v5.30.02.macosx106-i386-gcc-4.2.tar.gz .Then follow the instruction for MacOs 10.5.
- Otherwise, you will need to install from the source: ftp://root.cern.ch/root/root_v5.30.02.source.tar.gz After Un-packing, follow the instruction of the file README/INSTALL.
- for MacOs 10.5, you can install this version: ftp://root.cern.ch/root/root_v5.26.00.macosx105-i386-gcc-4.0.tar.gz
After unpacking the directory. you will need to performed the two following action in the terminal
- python
If the installation is successful, you will need to have root working. In order to test it type root in the terminal. If it's not fine, please install it from Source.
- Pythia/pgs/MadAnalysis
In order to install those programs, you need to launch mg5 (./bin/mg5) and then type
install pythia-pgs install MadAnalysis
- FeynRules
- Mathematica This program is NOT free, But your university as certainly a possibility to have a license for you. So please contact your IT team.
- FeynRules Please Download the Feynrule package (mathematica package): http://feynrules.irmp.ucl.ac.be/downloads/feynrules-current.tar.gz
- MC@NLO
- g77
This can be install from http://prdownloads.sourceforge.net/hpc/g77-intel-bin.tar.gz?download This is the installation information (from http://hpc.sourceforge.net/):Download my binaries, and cd to the download folder. Then gunzip g77-bin.tar.gz (if your browser didn't do so already) and sudo tar -xvf g77-bin.tar -C / It installs everything in /usr/local. You will need to have Apple's Developer Tools installed.
- MC@NLO
You can install it from the source: https://server06.fynu.ucl.ac.be/projects/madgraph/attachment/wiki/SchoolKias/MCatNLO.tgz This package is suppose to be ready to run. To check that launch in the associate directory the command./MCatNLO.inputs
On some Mac computer the following error might occurld: library not found for -lstdc++ collect2: ld a retourné 1 code d'état d'exécution make: *** [LLNLO_EXE_THISLIB] Error 1 mv: rename LLNLO_EXE_THISLIB to WNLO_EXE_THISLIB: No such file or directory mv: rename WNLO_EXE_THISLIB to /Users/omatt/Downloads/MCatNLO/Darwin/WNLO_EXE_THISLIB: No such file or directory chmod: /Users/omatt/Downloads/MCatNLO/Darwin/WNLO_EXE_THISLIB: No such file or directory /Users/omatt/Downloads/MCatNLO/MCatNLO.Script: line 545: WNLO_EXE_THISLIB: command not found
If this happen, then you should edit the file MCatNLO.Script and replace the line 1313:ExtraLibs=$ExtraLibs" -lstdc++"
byExtraLibs=$ExtraLibs" "
- g77
- MadAnalysis 5
In order to install the MadAnalysis 5 package, you can download a tarball of the v1.1.11 beta2 version from the website https://launchpad.net/madanalysis5 and be subsequently unpacked by issuing in a shell
mkdir MadAnalysis5 cd MadAnalysis 5 tar -xvf ma5_xxxx.tgz
where xxxx stands for a version number. MadAnalysis 5 requires several external dependencies in order to properly run:
- Python 2.6 or a more recent version (but not the 3.X series) that can be downloaded from the website http://www.python.org/. This requirement is common with those needed by the MadGraph 5 package.
- The numpy package must be properly installed to. It can be downloaded from http://www.numpy.org/
- The GNU GCC compiler. Note that MadAnalysis 5 has been validated with the versions 4.3.X and 4.4.X. The GCC compiler can be downloaded from http://gcc.gnu.org/
- ROOT v5.27 or a more recent version that can be downloaded from http://root.cern.ch/. We remind that checking the version of ROOT installed on a system, it is sufficient to type in a shell
root-config --version
Moreover, the Python libraries generated by ROOT must be present. To install them, it is necessary to first install the Linux package python-devel on the system. Next, before generating the ROOT makefile, the ROOT configuration script has to be run as./configure --enable-python
Let us note that the Python version employed when starting MadAnalysis 5 has to be the same as the one used for the compilation of ROOT.
To benefit from all options coming with the MadAnalysis 5 program, we also recommend to install Zlib headers and libraries. The latter can be downloaded from http://zlib.net. Once properly installed, MadAnalysis 5 can be launched by issuing
./bin/ma5When started, MadAnalysis 5 first checks that all the dependencies (gcc, Python, ROOT, Zlib) are present on the system and that compatibility is ensured with the installed versions. In the case of any problem, a message is printed to the screen and the code exists in the case it cannot properly run. On the first session of MadAnalysis 5, the SampleAnalyzer core is compiled behind the scene as a static library stored in the directory tools/SampleAnalyzer/Lib. For the next sessions, the kernel is only recompiled if the configuration of the system changes (new version of the dependencies or of the main program).
Attachments (9)
-
feynrules_fuks.pdf
(3.8 MB
) - added by 10 years ago.
Lecture on FeynRules
-
fr_mg5amc_ma5_tutorial.pdf
(238.5 KB
) - added by 10 years ago.
NCTS TUTORIAL
- 14_06_17_MADGRAPH_partI.pdf (5.9 MB ) - added by 10 years ago.
- 14_06_17_MadGraph_partii_matching.pdf (4.6 MB ) - added by 10 years ago.
- MadGraph_part3_amcatnlo.pdf (3.7 MB ) - added by 10 years ago.
- 14_06_18_tutomg_NCTS.pdf (1.2 MB ) - added by 10 years ago.
-
ma5_fuks.pdf
(4.3 MB
) - added by 10 years ago.
Lecture on MadAnalysis 5
-
tuto_ma5.pdf
(511.1 KB
) - added by 10 years ago.
MA5 tutorial
-
BayesianDM_MadgraphSchool2014.pdf
(13.9 MB
) - added by 10 years ago.
Bayesian dark matter analysis