How to run MG and ME using a bash script
Greetings, I'd like to be able to do batch runs of MadGraph and MadEvent. I'd like to be able to use the bash command line to run a script which will generate a process and then run Pythia and PGS on the resulting sample.
I have copied the template directory an modified:
param_card.dat,
proc_card.dat,
pythia_card.dat, and
pgs_card.dat.
However, when I run ./generate_events, I still have to manually interact with the MG interface to specify which programs I want to run. This prevents me from scripting my parameter space scan.
Is there a way to run Pythia and PGS on the parton-level data without me having to actually work inside the MG interface to tell it to run Pythia and PGS?
Update: is it correct that MadGraph will default, for example, to running Pythia/PGS so long as the pythia_card.dat and pgs_card.dat exist in the /cards directory? If so, is there a way to get rid of the 60 second timer? (I know I can edit the 60s timer in the MG settings---but I wanted something that would only affect this batch run.)
Thanks,
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Flip for more information if necessary.