MadGraph 5 is software that simulates collisions of particles, including the kind of very high-energy proton-proton collisions at the Large Hadron Collider, proton-antiproton collisions at the Tevatron, or electron-positron collisions. It is seamlessly integrated with an event generator, and with a program called Pythia for parton showering and hadronization, and with a choice of detector simulators (PGS or Delphes). MadGraph 5 is written in Python.
Where can I download MadGraph, find documentation, register as a MadGraph user, read answers to common questions from other users, ask my own questions, and much, much more?
The MadGraph homepage is at: http://madgraph.phys.ucl.ac.be/ with a mirror here: http://madgraph.hep.uiuc.edu/index.html. Many of these features, including downloading the software, require that you register. For now you don't have to, but if you plan to do something serious with MadGraph, you should probably eventually register at one of those web sites.
Do I need to download MadGraph to run it?
If you want to run it on the NICADD cluster, no. It is already installed and ready to run. The installation comes with Pythia, PGS, and Delphes already, so you should have everything needed to compute cross-sections, simulate events, and interpret the results. Big thanks to Sergey Uzunyan for getting this set up.
What one-time things do I need to do to prepare to run MadGraph on the NICADD cluster?
ssh -X <username>@t3int0.nicadd.niu.edu
mkdir -p /xdata/$USER/madgraph
cd /xdata/$USER/madgraph
cp -rfvp /opt/nicadd/contrib/spmartin/mg5example/mg5.tgz ./
tar -xzf mg5.tgz
How would I change my configuration file?
If you want to change your choice of editor or browser for work within Madgraph, you should edit your configuration file by, for example,
How do I make Xwindows work from a Windows machine?
Tip from Michael McEvoy:
If you try "open index.html" and have get an error message like this:
"The application 'firefox' lost its connection to the display localhost:18.0; most likely the X server was shut down or you killed/distroyed the application"
Try this:
Close firefox.exe (assuming that is your configuration)
Open an X forwarding program (I use Xming (free download))
Use a program to connect to nicadd server (I use Putty (free download))
How do I run MadGraph?
ssh -X <username>@t3int0.nicadd.niu.edu
cd /xdata/$USER/madgraph
source setmg5.sh
./mg5
You should be greeted with a lot of information, and at the end a MadGraph prompt, which looks like this:
MG5_aMC>
Now what?
At the MadGraph prompt, you can run a tutorial, by typing:
There is also a useful command: