KeyError : 'init' (for 0 unweighted events in gridpack creation)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MadGraph5_aMC@NLO |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hi, I got an error while doing something that is probably inappropriate anyway: I set the number of unweighted events to 0 during gridpack creation. (I am doing this because I want to time the gridpack creation when requesting very high precision - i.e. generating many events - but I am only interested in the cross section calculation, I do not need any events in the LHE file... I will probably try with only one event). Anyway, on version 2.9.2 with python 3.8, I got
Command "generate_events run_01" interrupted with error:
KeyError : 'init'
Please report this bug on https:/
More information is found in '/eos/home-
Please attach this file to your report.
I am attaching the file to this bug report.
Thanks
Andrea
Changed in mg5amcnlo: | |
status: | Fix Committed → Fix Released |
Hi,
The timing of the gridpack is completely independent of that parameter but indeed it seems that we have not protected against the user requesting 0 events.
But you can really keep the default it will not impact the computation since you will not go trough event generation anyway.
Cheers,
Olivier
> On 8 Mar 2021, at 18:07, Andrea Valassi <email address hidden> wrote: /bugs.launchpad .net/mg5amcnlo a/avalassi/ 2021/MG5aMC/ 2.9.2/_ MY_EEMUMU12/ run_01_ tag_1_debug. log'. tag_1_debug. log" /bugs.launchpad .net/bugs/ 1918169/ +attachment/ 5474559/ +files/ run_01_ tag_1_debug. log /bugs.launchpad .net/bugs/ 1918169 /bugs.launchpad .net/mg5amcnlo a/avalassi/ 2021/MG5aMC/ 2.9.2/_ MY_EEMUMU12/ run_01_ tag_1_debug. log'. /bugs.launchpad .net/mg5amcnlo/ +bug/1918169/ +subscriptions
>
> Public bug reported:
>
> Hi, I got an error while doing something that is probably inappropriate
> anyway: I set the number of unweighted events to 0 during gridpack
> creation. (I am doing this because I want to time the gridpack creation
> when requesting very high precision - i.e. generating many events - but
> I am only interested in the cross section calculation, I do not need any
> events in the LHE file... I will probably try with only one event).
> Anyway, on version 2.9.2 with python 3.8, I got
>
> Command "generate_events run_01" interrupted with error:
> KeyError : 'init'
> Please report this bug on https:/
> More information is found in '/eos/home-
> Please attach this file to your report.
>
> I am attaching the file to this bug report.
> Thanks
> Andrea
>
> ** Affects: mg5amcnlo
> Importance: Undecided
> Status: New
>
> ** Attachment added: "run_01_
> https:/
>
> --
> You received this bug notification because you are subscribed to
> MadGraph5_aMC@NLO.
> https:/
>
> Title:
> KeyError : 'init' (for 0 unweighted events in gridpack creation)
>
> Status in MadGraph5_aMC@NLO:
> New
>
> Bug description:
> Hi, I got an error while doing something that is probably
> inappropriate anyway: I set the number of unweighted events to 0
> during gridpack creation. (I am doing this because I want to time the
> gridpack creation when requesting very high precision - i.e.
> generating many events - but I am only interested in the cross section
> calculation, I do not need any events in the LHE file... I will
> probably try with only one event). Anyway, on version 2.9.2 with
> python 3.8, I got
>
> Command "generate_events run_01" interrupted with error:
> KeyError : 'init'
> Please report this bug on https:/
> More information is found in '/eos/home-
> Please attach this file to your report.
>
> I am attaching the file to this bug report.
> Thanks
> Andrea
>
> To manage notifications about this bug go to:
> https:/