LO gridpacks not working in 2.3beta
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MadGraph5_aMC@NLO |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Generating events from LO gridpacks seems not to work in the 2.3beta release.
Creating the gridpack goes fine, but then when trying to generate events from the resulting gridpack:
-bash-4.1$ ./run.sh 1000 101
Updating grid_card.dat...
Now generating 1000 events with random seed 101 and granularity -1
P0_qq_ll
Traceback (most recent call last):
File "./bin/gridrun", line 84, in <module>
cmd_line = cmd_interface.
File "/afs/cern.
self.
File "/afs/cern.
self.
File "/afs/cern.
cwd=Pdir)
File "/afs/cern.
% arg
Exception: ['./../
Error: event file not found !
(This is just out of the box with "generate p p > mu+ mu-" and default run card, changing only gridpack to True)
Changed in mg5amcnlo: | |
status: | New → Fix Committed |
Changed in mg5amcnlo: | |
status: | Fix Committed → Fix Released |
Hi Josh,
Thanks a lot for your feedback.
looks like that code is just not compiled anymore ( I still have to investigate where to add such compilation)
The reason why this is not compile is actually simple since I have replace this script by a python script for “normal” run.
One simple fix is to go inside the Source directory of the gridpack and run internal/ gen_ximprove
make ../bin/
Now the generation of the events works but I have the following error:
Running addmasses.py to add masses and correct kinematics of fixed particles bin/internal/ addmasses. py", line 172, in <module> parseStringToVa rs(l)) bin/internal/ addmasses. py", line 100, in parseStringToVars
Traceback (most recent call last):
File "./madevent/
for l in s.split(): t.append(
File "./madevent/
return int(input)
ValueError: invalid literal for int() with base 10: ‘<mgrwt>'
The <mgrwt> is a SysCalc block information.
Do you use this add masses.py script? or do you use your own anyway?
Does it still makes sense to distribute it within MG?
Cheers,
Olivier
Looks like the add masses script do not support the SysCalc information.
On 27 Apr 2015, at 13:12, Josh Bendavid <email address hidden> wrote:
> Public bug reported: GridPackCmd( me_dir= root_path, nb_event=args[0], seed=args[1]) ch/work/ b/bendavid/ gridpack23beta/ standalone/ CMSSW_7_ 1_15_patch1/ work/MG5_ aMC_v2_ 3_0_beta/ gpc/madevent/ bin/internal/ madevent_ interface. py", line 4553, in __init__ nb_event, seed) ch/work/ b/bendavid/ gridpack23beta/ standalone/ CMSSW_7_ 1_15_patch1/ work/MG5_ aMC_v2_ 3_0_beta/ gpc/madevent/ bin/internal/ madevent_ interface. py", line 4575, in launch d(nb_event) ch/work/ b/bendavid/ gridpack23beta/ standalone/ CMSSW_7_ 1_15_patch1/ work/MG5_ aMC_v2_ 3_0_beta/ gpc/madevent/ bin/internal/ madevent_ interface. py", line 4619, in refine4grid ch/work/ b/bendavid/ gridpack23beta/ standalone/ CMSSW_7_ 1_15_patch1/ work/MG5_ aMC_v2_ 3_0_beta/ gpc/madevent/ bin/internal/ misc.py" , line 551, in deco_f ../bin/ internal/ gen_ximprove' ] fails with no such file or directory /bugs.launchpad .net/bugs/ 1449125
>
> Generating events from LO gridpacks seems not to work in the 2.3beta
> release.
>
> Creating the gridpack goes fine, but then when trying to generate events
> from the resulting gridpack:
>
> -bash-4.1$ ./run.sh 1000 101
> Updating grid_card.dat...
> Now generating 1000 events with random seed 101 and granularity -1
> P0_qq_ll
> Traceback (most recent call last):
> File "./bin/gridrun", line 84, in <module>
> cmd_line = cmd_interface.
> File "/afs/cern.
> self.launch(
> File "/afs/cern.
> self.refine4gri
> File "/afs/cern.
> cwd=Pdir)
> File "/afs/cern.
> % arg
> Exception: ['./../
> Error: event file not found !
>
>
> (This is just out of the box with "generate p p > mu+ mu-" and default run card, changing only gridpack to True)
>
> ** Affects: mg5amcnlo
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are subscribed to
> MadGraph5_aMC@NLO.
> https:/
>
> Title:
> LO gridpacks not working in 2.3beta
>
> Status in MadGraph5_aMC@NLO Generator:
> New
>
> Bug description:
> Generating events from LO gridpacks seems not to work in the 2.3beta
> r...