oliviermattelaer / mg5amc_test

first attempt to move all bzr branch to git
Other
1 stars 1 forks source link

madevent eemumu generation fails (problems in dressed_lep) #6

Closed valassi closed 2 years ago

valassi commented 2 years ago

Hi @oliviermattelaer the default madevent eemumu generation fails with the latest code

generate e+ e- > mu+ mu-
output madevent CODEGEN_test

INFO: initialize a new directory: CODEGEN_test 
INFO: remove old information in CODEGEN_test 
INFO: Organizing processes into subprocess groups 
INFO: Generating Helas calls for process: e+ e- > mu+ mu- WEIGHTED<=4 @1 
INFO: Processing color information for process: e+ e- > mu+ mu- @1 
INFO: Creating files in directory P1_ll_ll 
DEBUG:  'before', call, arg =  before CALL %(routine_name)s(%(wf)s%(coup)s%(mass)s%(out)s) {'routine_name': 'FFV1%(propa)s_3', 'coup': '%(coup0)s,', 'wf': 'W(1,%(0)d),W(1,%(1)d),', 'out': 'W(1,%(out)d)', 'mass': '%(M)s, fk_%(W)s,'} [export_v4.py at line 3925] 
DEBUG:  'after',call, arg =  after CALL %(routine_name)s(%(wf)s%(coup)s%(mass)s%(out)s) {'routine_name': 'FFV1%(propa)s_3', 'coup': '%(coup0)s%(vec0)s,', 'wf': 'W(1,%(0)d),W(1,%(1)d),', 'out': 'W(1,%(out)d)', 'mass': '%(M)s, fk_%(W)s,'} [export_v4.py at line 3928] 
DEBUG:  'before', call, arg =  before CALL %(routine_name)s(%(wf)s%(coup)s%(mass)s%(out)s) {'routine_name': 'FFV1_0', 'coup': '%(coup0)s,', 'wf': 'W(1,%(0)d),W(1,%(1)d),W(1,%(2)d),', 'mass': '', 'out': 'AMP(%(out)d)'} [export_v4.py at line 3925] 
DEBUG:  'after',call, arg =  after CALL %(routine_name)s(%(wf)s%(coup)s%(mass)s%(out)s) {'routine_name': 'FFV1_0', 'coup': '%(coup0)s%(vec0)s,', 'wf': 'W(1,%(0)d),W(1,%(1)d),W(1,%(2)d),', 'mass': '', 'out': 'AMP(%(out)d)'} [export_v4.py at line 3928] 
DEBUG:  'before', call, arg =  before CALL %(routine_name)s(%(wf)s%(coup)s%(mass)s%(out)s) {'routine_name': 'FFV2_4%(propa)s_3', 'coup': '%(coup0)s,%(coup1)s,', 'wf': 'W(1,%(0)d),W(1,%(1)d),', 'out': 'W(1,%(out)d)', 'mass': '%(M)s, fk_%(W)s,'} [export_v4.py at line 3925] 
DEBUG:  'after',call, arg =  after CALL %(routine_name)s(%(wf)s%(coup)s%(mass)s%(out)s) {'routine_name': 'FFV2_4%(propa)s_3', 'coup': '%(coup0)s%(vec0)s,%(coup1)s%(vec1)s,', 'wf': 'W(1,%(0)d),W(1,%(1)d),', 'out': 'W(1,%(out)d)', 'mass': '%(M)s, fk_%(W)s,'} [export_v4.py at line 3928] 
DEBUG:  'before', call, arg =  before CALL %(routine_name)s(%(wf)s%(coup)s%(mass)s%(out)s) {'routine_name': 'FFV2_4_0', 'coup': '%(coup0)s,%(coup1)s,', 'wf': 'W(1,%(0)d),W(1,%(1)d),W(1,%(2)d),', 'mass': '', 'out': 'AMP(%(out)d)'} [export_v4.py at line 3925] 
DEBUG:  'after',call, arg =  after CALL %(routine_name)s(%(wf)s%(coup)s%(mass)s%(out)s) {'routine_name': 'FFV2_4_0', 'coup': '%(coup0)s%(vec0)s,%(coup1)s%(vec1)s,', 'wf': 'W(1,%(0)d),W(1,%(1)d),W(1,%(2)d),', 'mass': '', 'out': 'AMP(%(out)d)'} [export_v4.py at line 3928] 
Command "output madevent CODEGEN_test" interrupted with error:
NameError : name 'comp_list' is not defined
Please report this bug on https://bugs.launchpad.net/mg5amcnlo
More information is found in 'MG5_debug'.
Please attach this file to your report.
valassi commented 2 years ago

MG5_debug.txt

valassi commented 2 years ago

This also fails for

output madevent CODEGEN_test --vector_size=16
valassi commented 2 years ago

As a workaround, I will just set dressed_lep=False, it seems to work

            if tuple(initial_states) in [([-11],[11]), ([11],[-11]), ([-13],[13]),([13],[-13])]:
                dressed_lep = True
            else:
                dressed_lep = False
            dressed_lep=False # workaround for https://github.com/oliviermattelaer/mg5amc_test/issues/6
oliviermattelaer commented 2 years ago

Funny I do not reproduce that issue ....

ok I do now

oliviermattelaer commented 2 years ago

Ok the generation of the code is working now. Now the running of the normal madevent has issue if you do not set --vector_size due depending of the value in the run_card (the mc_grouped_subproc which should normally be supported without any --vector_size)

See #7

valassi commented 2 years ago

Thanks @oliviermattelaer I also confirm this one is fixed for me now

valassi commented 2 years ago

Sorry I spoke too early, eemumu generation still fails, but with a different error. I opened a new #10 (against revision 999).

This issue with dressed_lep however (#6 against revision 996) has indeed disappeared.