| 1 | == Installation on Windows == |
| 2 | |
| 3 | 1. Install Windows Subsystem for linux: https://docs.microsoft.com/en-us/windows/wsl/install-win10 (the example below is for ubuntu installation) |
| 4 | 2. go to www.launchpad.net/mg5amcno |
| 5 | 3. copy the link of the latest tarball |
| 6 | 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) |
| 7 | 5. unpack the code via the command: tar -xzpvf MG5_aMC_vXXXXX.tar.gz |
| 8 | 6. update your package manager: sudo apt-get update |
| 9 | 7. install basic ubuntu package: sudo apt-get install make gfortran gcc g++ |
| 10 | 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..." |
| 11 | 9. type ./bin/mg5_aMC |
| 12 | 10. You can now type "tutorial" to learn how to use madgraph5_aMC@NLO |
| 13 | |
| 14 | Note as on linux, the default text editor is "vi". |
| 15 | To start to modify the file you have to type "i" |
| 16 | To save and quit the editor you can type first on the escape touch and then on ":x" |
| 17 | |
| 18 | == Installation on Linux == |
| 19 | |
| 20 | 1. You typically only have to download the code and untar it (tar -xzpvf TARBALL) |
| 21 | 2. You can run the executable within the tarball ./bin/mg5_aMC (and then type tutorial to learn the code) |
| 22 | |
| 23 | == Installation on Mac == |
| 24 | |
| 25 | 1. Install gfortran (NOT GCC) from http://hpc.sourceforge.net/ |
| 26 | 2. Install xcode developpers tool run : xcode-select --install |
| 27 | 3. get the tarball from www.launchpad.net/mg5amcnoand unpack it (tar -xzpvf PATH) |
| 28 | 4. You can run the executable within the tarball ./bin/mg5_aMC (and then type tutorial to learn the code) |