| 80 | 6. '''MadAnalysis 5''' |
| 81 | In order to install the latest stable version of the MadAnalysis 5 package, a tarball can be downloaded from the website |
| 82 | https://launchpad.net/madanalysis5 |
| 83 | and be subsequently unpacked by issuing in a shell |
| 84 | mkdir MadAnalysis5 |
| 85 | cd MadAnalysis 5 |
| 86 | /tar -xvf ma5_xxxx.tgz |
| 87 | where xxxx stands for a version number. MadAnalysis 5 requires several external dependencies in order to properly run: |
| 88 | * Python 2.6 or a more recent version (but not the 3.X series) that can be downloaded from the website |
| 89 | http://www.python.org/ |
| 90 | This requirement is common with those needed by the MadGraph 5 package. |
| 91 | * The numpy package must be properly installed to. It can be downloaded from |
| 92 | http://www.numpy.org/ |
| 93 | * 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 |
| 94 | http://gcc.gnu.org/ |
| 95 | * ROOT v5.27 or a more recent version that can be downloaded from http://root.cern.ch/ |
| 96 | We remind that checking the version of ROOT installed on a system, it is sufficient to type in a shell |
| 97 | root-config --version |
| 98 | Moreover, the Python libraries generated by ROOT must be present. To install |
| 99 | 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 |
| 100 | ./configure --enable-python |
| 101 | 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. |
| 102 | |
| 103 | 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 |
| 104 | http://zlib.net/ |
| 105 | Once properly installed, MadAnalysis 5 can be launched by issuing bin/ma5 |
| 106 | When 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). |
| 107 | |
| 213 | |
| 214 | 6. '''MadAnalysis 5''' |
| 215 | In order to install the latest stable version of the MadAnalysis 5 package, a tarball can be downloaded from the website |
| 216 | https://launchpad.net/madanalysis5 |
| 217 | and be subsequently unpacked by issuing in a shell |
| 218 | mkdir MadAnalysis5 |
| 219 | cd MadAnalysis 5 |
| 220 | /tar -xvf ma5_xxxx.tgz |
| 221 | where xxxx stands for a version number. MadAnalysis 5 requires several external dependencies in order to properly run: |
| 222 | * Python 2.6 or a more recent version (but not the 3.X series) that can be downloaded from the website |
| 223 | http://www.python.org/ |
| 224 | This requirement is common with those needed by the MadGraph 5 package. |
| 225 | * The numpy package must be properly installed to. It can be downloaded from |
| 226 | http://www.numpy.org/ |
| 227 | * 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 |
| 228 | http://gcc.gnu.org/ |
| 229 | * ROOT v5.27 or a more recent version that can be downloaded from http://root.cern.ch/ |
| 230 | We remind that checking the version of ROOT installed on a system, it is sufficient to type in a shell |
| 231 | root-config --version |
| 232 | Moreover, the Python libraries generated by ROOT must be present. To install |
| 233 | 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 |
| 234 | ./configure --enable-python |
| 235 | 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. |
| 236 | |
| 237 | 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 |
| 238 | http://zlib.net/ |
| 239 | Once properly installed, MadAnalysis 5 can be launched by issuing bin/ma5 |
| 240 | When 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). |