Changes between Version 1 and Version 2 of NCTSSchool2014


Ignore:
Timestamp:
Jun 17, 2014, 3:06:36 AM (10 years ago)
Author:
Olivier Mattelaer
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NCTSSchool2014

    v1 v2  
    44
    55
     6
     7 == Installation of the needed software ==
     8
     9In 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.
     10If you have any difficulties, please contact Olivier Mattelaer at the following address: olivier.mattelaer@uclouvain.be .
     11
     12 === Windows ===
     13The 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.
     14This video might help you to do so: http://video.google.com/videoplay?docid=-2369893842637434537
     15
     16 === Linux ===
     17
     181. '''Basic program'''
     19  * perl
     20  * bash
     21  * gfortran 4.x (To check the version do gfortran do: gfortran --version)
     22  Those programs are by default present in any linux distribution,
     23  but just in case you should check that they are all installed in your computer. If they are not,
     24  you can use apt-get/yum/... in order to have those.
     25
     262. '''Madgraph 5'''
     27  * '''python 2.6/2.7'''[[BR]]
     28    !MadGraph 5 requires python 2.6 or python 2.7. In order to check your version of python, you can type:
     29    python --version. Some of the repositories are still on python 2.5. So if updating python via your repository manager didn't work.
     30    you can download directly python from the following link:
     31    http://www.python.org/download/
     32    and follow instructions.
     33  * '''Madgraph5'''[[BR]]
     34    You will find madgraph5 package on the following page:  https://launchpad.net/madgraph5.
     35    For this program, you just need to untar it.
     36    To check if mg5 is correctly install you directly try to run it by doing:
     37    ./bin/mg5
     38    If you don't have a valid python version. It will fail directly.
     39  * '''Root''' [[BR]]
     40    Root is require, in order to make some of the plots in !MadEvent.
     41    Except if you are in SLC4 or SLC5 distribution, you will need to install root from scratch on your computer.
     42    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
     43    After Un-packing, follow the instruction of the file README/INSTALL.
     44    Finally you should edit the file ~/.bashrc, by adding the following line into it
     45{{{
     46    export ROOTSYS=PATH_TO_YOUR_UNPACK_DIRECTORY
     47    export PATH=$PATH:$ROOTSYS:$ROOTSYS/bin
     48}}}
     49
     50
     513. '''Pythia/pgs/MadAnalysis'''
     52   In order to install those programs, you need to launch mg5 (./bin/mg5) and then type
     53{{{
     54   install pythia-pgs
     55   install MadAnalysis
     56}}}
     57
     584. '''!FeynRules'''
     59   * '''Mathematica'''
     60     This program is NOT free, But your university as certainly a possibility to have a license for you. So please contact your IT team.
     61   * '''!FeynRules'''
     62     Please Download the Feynrule package (mathematica package): http://feynrules.irmp.ucl.ac.be/downloads/feynrules-current.tar.gz
     63
     645. '''MC@NLO'''
     65   * '''g77 '''[[BR]]
     66     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)
     67   * '''MC@NLO'''[[BR]]
     68     You can install it from the source: https://server06.fynu.ucl.ac.be/projects/madgraph/attachment/wiki/SchoolKias/MCatNLO.tgz
     69     This package is suppose to be ready to run. To check that launch in the associate directory the command
     70{{{
     71./MCatNLO.inputs
     72}}}
     73
     74
     75 === !MacOs ===
     76
     771. '''Basic program'''
     78  * perl
     79  * bash [[BR]]
     80  Those programs are by default present in any Mac distribution,
     81  but just in case you should check that they are all installed in your computer (by doing perl --version).
     82  * gmake [[BR]]
     83  By default, makefile are not recognize on mac. In order to check, you can do 'make --version'. If it says:
     84  -bash: make: command not found
     85  then you should install it. The easiest is to install the xcode.
     86     1. For !MacOs 10.5: https://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?bundleID=20414
     87     2. For !MacOs 10.6: http://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?bundleID=20792
     88     3. For !MacOs 10.7: http://itunes.apple.com/us/app/xcode/id448457090?mt=12
     89  In order to be able to download it, you will need to a apple developer account (which is free)
     90  * gfortran 4.x (To check the version do gfortran do: gfortran --version)
     91  This program is often not included in standard mac version. In order to download it, you can download it from:
     92    a.  http://prdownloads.sourceforge.net/hpc/gcc-lion.tar.gz?download for !MacOs 10.7
     93    b.  http://prdownloads.sourceforge.net/hpc/gcc-snwleo-intel-bin.tar.gz?download for !MacOs 10.6
     94    c.  http://sourceforge.net/projects/hpc/files/hpc/gcc/gcc-leopard-intel-bin.tar.gz/download for !MacOs 10.5
     95
     962. '''!MadGraph5'''
     97  * '''python'''
     98    a. 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.
     99    b. 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.
     100    c. For other version of MacOS, you will need to install python2.7 from the python web site: http://www.python.org/download/
     101  * '''Madgraph5'''[[BR]]
     102    You will find madgraph5 package on the following page:  https://launchpad.net/madgraph5.
     103    For this program, you just need to untar it.
     104    To check if mg5 is correctly install you directly try to run it by doing:
     105    ./bin/mg5
     106    If you don't have a valid python version. It will fail directly.
     107  * '''Root''' [[BR]]
     108    Root is require, in order to make some of the plots in !MadEvent.
     109    a. 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
     110       After unpacking the directory. you will need to performed the two following action in the terminal
     111{{{
     112cd
     113emacs .bash_profile
     114}}}
     115    The last command will open a terminal, add in this file the following line:
     116{{{
     117    export ROOTSYS=PATH_TO_YOUR_UNPACK_DIRECTORY
     118    export PATH=$PATH:$ROOTSYS:$ROOTSYS/bin
     119}}}
     120    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 type
     121{{{
     122    source .bash_profile
     123}}}
     124    b. 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.
     125    c. Otherwise, you will need to install from the source: ftp://root.cern.ch/root/root_v5.30.02.source.tar.gz
     126    After Un-packing, follow the instruction of the file README/INSTALL.
     127   
     128    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.
     129
     130
     131
     1323. '''Pythia/pgs/MadAnalysis'''   
     133   In order to install those programs, you need to launch mg5 (./bin/mg5) and then type
     134{{{
     135   install pythia-pgs
     136   install MadAnalysis
     137}}}
     138
     139
     1404. '''!FeynRules'''
     141   * '''Mathematica'''
     142     This program is NOT free, But your university as certainly a possibility to have a license for you. So please contact your IT team.
     143   * '''!FeynRules'''
     144     Please Download the Feynrule package (mathematica package): http://feynrules.irmp.ucl.ac.be/downloads/feynrules-current.tar.gz
     145
     1465. '''MC@NLO'''
     147   * '''g77'''[[BR]]
     148     This can be install from http://prdownloads.sourceforge.net/hpc/g77-intel-bin.tar.gz?download
     149     This is the installation information (from http://hpc.sourceforge.net/):
     150{{{
     151Download my binaries, and cd to the download folder.
     152Then gunzip g77-bin.tar.gz (if your browser didn't do so already) and
     153sudo tar -xvf g77-bin.tar -C /
     154It installs everything in /usr/local. You will need to have Apple's Developer Tools installed.
     155}}}
     156   * '''MC@NLO'''[[BR]]
     157     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
     158{{{
     159./MCatNLO.inputs
     160}}}
     161     On some Mac computer the following error might occur
     162{{{
     163ld: library not found for -lstdc++
     164collect2: ld a retourné 1 code d'état d'exécution
     165make: *** [LLNLO_EXE_THISLIB] Error 1
     166mv: rename LLNLO_EXE_THISLIB to WNLO_EXE_THISLIB: No such file or directory
     167mv: rename WNLO_EXE_THISLIB to /Users/omatt/Downloads/MCatNLO/Darwin/WNLO_EXE_THISLIB: No such file or directory
     168chmod: /Users/omatt/Downloads/MCatNLO/Darwin/WNLO_EXE_THISLIB: No such file or directory
     169/Users/omatt/Downloads/MCatNLO/MCatNLO.Script: line 545: WNLO_EXE_THISLIB: command not found
     170}}}
     171    If this happen, then you should edit the file MCatNLO.Script and replace the line 1313:
     172{{{
     173ExtraLibs=$ExtraLibs" -lstdc++"
     174}}}
     175    by
     176{{{
     177ExtraLibs=$ExtraLibs" "
     178}}}