how to use multirun in v2.6.5

Asked by Jack on 2019-06-19

Hi,

I'm trying to generate more than 100k events so require to use multi_run as suggested in the README, however the suggestions in the README seem to mention something that doesn't exist.

"This command can be launched via the madevent user interface
./bin/madevent using the following command:
multi_run NBRUN [RUN_NAME] [options]
For more information about this command (valid options), you can type
`help multi_run` inside the interface."

in the bin directory all that is there is
compile.py
mg5
mg5_aMC.

There is no ./bin/madevent

doing ./mg5_aMC and help multi_run also does not return anything.

Has ./bin/madevent been removed in v2.6.5? And if so how do I do multi_run?

I tried to follow the help in https://answers.launchpad.net/mg5amcnlo/+question/283732

However when I make control.txt:

import model heft
generate p p > h > a a
display diagrams
output mytestdir
launch
multi_run 2

and run this with ./../../MG5_aMC_v2_6_5/bin/mg5_aMC control.txt

I just get the error "Command "multi_run" not recognized, please try again"

Thanks for any help

Question information

Language:
English Edit question
Status:
Solved
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Solved by:
Olivier Mattelaer
Solved:
2019-06-21
Last query:
2019-06-21
Last reply:
2019-06-20

Hi,

The madevent executable is in the bin directory of the directory created.
so in your case in mytestdir/bin
It's still exists in 2.6.5

You can also use the following script:

> import model heft
> generate p p > h > a a
> display diagrams
> output mytestdir
> launch -i
> multi_run 2

The "-i" option of the lauch is the equivalent option of the ./bin/madevent
which put you in a new environment where you have all the function available to control
event generation/plot/...

Cheers,

Olivier

> On 20 Jun 2019, at 00:53, Jack <email address hidden> wrote:
>
> New question #681492 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/681492
>
> Hi,
>
> I'm trying to generate more than 100k events so require to use multi_run as suggested in the README, however the suggestions in the README seem to mention something that doesn't exist.
>
> "This command can be launched via the madevent user interface
> ./bin/madevent using the following command:
> multi_run NBRUN [RUN_NAME] [options]
> For more information about this command (valid options), you can type
> `help multi_run` inside the interface."
>
> in the bin directory all that is there is
> compile.py
> mg5
> mg5_aMC.
>
> There is no ./bin/madevent
>
> doing ./mg5_aMC and help multi_run also does not return anything.
>
> Has ./bin/madevent been removed in v2.6.5? And if so how do I do multi_run?
>
> I tried to follow the help in https://answers.launchpad.net/mg5amcnlo/+question/283732
>
> However when I make control.txt:
>
> import model heft
> generate p p > h > a a
> display diagrams
> output mytestdir
> launch
> multi_run 2
>
>
> and run this with ./../../MG5_aMC_v2_6_5/bin/mg5_aMC control.txt
>
> I just get the error "Command "multi_run" not recognized, please try again"
>
> Thanks for any help
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Jack (jackhenli) said : #2

Hi Olivier,

Thank you very much, launch -i solved the issue

Cheers,
Jack

Jack (jackhenli) said : #3

Thanks Olivier Mattelaer, that solved my question.