wiki:Installation

Version 1 (modified by Olivier Mattelaer, 4 years ago) ( diff )

--

Installation on Windows

  1. Install Windows Subsystem for linux: https://docs.microsoft.com/en-us/windows/wsl/install-win10 (the example below is for ubuntu installation)
  2. go to www.launchpad.net/mg5amcno
  3. copy the link of the latest tarball
  4. put in your ubuntu terminal: "wget LINK_TO_THE_TARBALL" (change LINK_TO_THE_TARRBALL by the link that you get at point 3)
  5. unpack the code via the command: tar -xzpvf MG5_aMC_vXXXXX.tar.gz
  6. update your package manager: sudo apt-get update
  7. install basic ubuntu package: sudo apt-get install make gfortran gcc g++
  8. Go to directory containing madgraph is should be called MG5_aMC_v followed by the version number --you can press tab to have the auto-completion): "cd MG5_aMC_v..."
  9. type ./bin/mg5_aMC
  10. You can now type "tutorial" to learn how to use madgraph5_aMC@NLO

Note as on linux, the default text editor is "vi". To start to modify the file you have to type "i" To save and quit the editor you can type first on the escape touch and then on ":x"

Installation on Linux

  1. You typically only have to download the code and untar it (tar -xzpvf TARBALL)
  2. You can run the executable within the tarball ./bin/mg5_aMC (and then type tutorial to learn the code)

Installation on Mac

  1. Install gfortran (NOT GCC) from http://hpc.sourceforge.net/
  2. Install xcode developpers tool run : xcode-select --install
  3. get the tarball from www.launchpad.net/mg5amcnoand unpack it (tar -xzpvf PATH)
  4. You can run the executable within the tarball ./bin/mg5_aMC (and then type tutorial to learn the code)
Note: See TracWiki for help on using the wiki.