Skip to content

Sample generation using MadGraph

Tote Hughes edited this page Jun 20, 2017 · 11 revisions

Setting up MadGraph

  1. Download the latest version of MadGraph.
  2. Extract the files with something like tar -xvzf MG5_aMC_v2.x.y.tar.gz.
  3. Test that the code works by entering the main MadGraph directory and running bin/mg5_aMC.
    • This command leaves you on a MadGraph commandline. If you're a noob, you can run tutorial on this commandline to learn about MadGraph. If you just want to go back to the shell, you can type quit.
  4. Download the RPVMSSM_UFO model, and put it into the models directory.

HEXCMS setup

If you're planning on running MadGraph using Condor at HEXCMS, make sure the following values are set in input/mg5_configuration.txt:

run_mode = 1
cluster_queue = none
And, or course, don't forget to give yourself access to the condor commands with
source /condor/HTCondor/current/condor.sh
(If you haven't already, add the above line to your .bashrc.)

Clone this wiki locally