run several madgraph event generator at the same time

Asked by Yong Du on 2019-05-18

Hi MadGraph builders,

Say I'm running Madgraph to generate 10M events for the p p > h h > b b~ b b~ process. This will take some time in general. Now if I open a new terminal and run MadGraph to generate 10M events for another process say p p > w+ w- > j j l- vl~ at the same time, would it affect my result for the previous process? If yes, how and why?

I could in principle try and compare to see if there are any difference, but I'm just curious about the reason for the difference if there are any.

Thank you very much in advance!
Yong

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-05-18
Last query:
2019-05-18
Last reply:
2019-05-18

No problem in this case.
(as long as you put them in different directory obviously)

Cheers,

Olivier

Yong Du (fallive) said : #2

Hi Olivier,

Thank you for your quick reply. In my case, I have two processes like

~/MG5_aMC_v2.3.3/process1
~/MG5_aMC_v2.3.3/process2

process1 and process2 are inside the same MadGraph folder but different subdirectories.

I'm running process1 by ./bin/generate_events in one terminal, then I open a new terminal and run process2 by ./bin/generate_events. This is actually what you meant, so I'm glad to know that they won't affect each other.

Then could I ask in what situation one can NOT run multile processes at the same time?

Hi,

Running twice simultaneously in process1 will lead to issue.
This is in principle not possible since we have code in place to detect that another run is in progress
and we will stop the second attempt. But such type of security are not 100% save obviously.

Cheers,

Olivier

> On 18 May 2019, at 23:42, Yong Du <email address hidden> wrote:
>
> Question #680921 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/680921
>
> Status: Answered => Open
>
> Yong Du is still having a problem:
> Hi Olivier,
>
> Thank you for your quick reply. In my case, I have two processes like
>
> ~/MG5_aMC_v2.3.3/process1
> ~/MG5_aMC_v2.3.3/process2
>
> process1 and process2 are inside the same MadGraph folder but different
> subdirectories.
>
> I'm running process1 by ./bin/generate_events in one terminal, then I
> open a new terminal and run process2 by ./bin/generate_events. This is
> actually what you meant, so I'm glad to know that they won't affect each
> other.
>
> Then could I ask in what situation one can NOT run multile processes at
> the same time?
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Yong Du (fallive) said : #4

Ah! I see! Great, thank you so much!!!

Best,
Yong

Yong Du (fallive) said : #5

Thanks Olivier Mattelaer, that solved my question.