Version 5 (modified by 13 years ago) ( diff ) | ,
---|
KIAS School on MadGraph for LHC Physics
Installation of the different software
In order to be efficient during the time of the school, we would like to ask you to install all the different package that you will need during the school. For any trouble you can 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
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.
- 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
- MC@NLO
- MC@NLO You can install it from the source: http://www.hep.phy.cam.ac.uk/theory/webber/MCatNLO/Package4.03_dist.tar.gz
- Herwig6 You can install herwig6 from the source: http://www.hep.phy.cam.ac.uk/theory/webber/Herwig/herwig6520.f
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 xcode3. https://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?bundleID=20414 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.
- python
- 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 /usr/local/bin sudo ln -s PATH_TO_YOUR_UNPACK_DIRECOTRY/bin/root . cd emacs .bashrc
The last command will open a terminal, add in this file the following line:export ROOTSYS=PATH_TO_YOUR_UNPACK_DIRECOTRY
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 .bashrc
- 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
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
- MC@NLO
- MC@NLO You can install it from the source: http://www.hep.phy.cam.ac.uk/theory/webber/MCatNLO/Package4.03_dist.tar.gz
- Herwig6 You can install herwig6 from the source: http://www.hep.phy.cam.ac.uk/theory/webber/Herwig/herwig6520.f
Attachments (2)
-
MCatNLO.tgz
(22.9 MB
) - added by 13 years ago.
MCATNLO for school (pre-install package)
-
KIAS-MG5-lectures1-2.pdf
(4.9 MB
) - added by 13 years ago.
Johan's lecture on MadGraph