Installation on Windows
- Install Windows Subsystem for linux: https://docs.microsoft.com/en-us/windows/wsl/install-win10 (the example below is for ubuntu installation)
- go to www.launchpad.net/mg5amcnlo
- copy the link of the latest tarball
- put in your ubuntu terminal: "wget LINK_TO_THE_TARBALL" (change LINK_TO_THE_TARBALL by the link that you get at point 3)
- unpack the code via the command: tar -xzpvf MG5_aMC_vXXXXX.tar.gz
- update your package manager: sudo apt-get update
- install basic ubuntu package: sudo apt-get install make gfortran gcc g++
- 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..."
- type ./bin/mg5_aMC
- 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
- You typically only have to download the code and untar it (tar -xzpvf TARBALL)
- You can run the executable within the tarball ./bin/mg5_aMC (and then type tutorial to learn the code)
Installation on Mac
- Install gfortran (NOT GCC) from http://hpc.sourceforge.net/
- Install xcode developpers tool run : xcode-select --install
- get the tarball from www.launchpad.net/mg5amcnoand unpack it (tar -xzpvf PATH)
- You can run the executable within the tarball ./bin/mg5_aMC (and then type tutorial to learn the code)
Last modified
4 years ago
Last modified on Oct 16, 2020, 8:14:15 AM
Note:
See TracWiki
for help on using the wiki.