KeyError : 'MB'

Asked by Zhaowei Song

I was running g g > h h with a SILH NLO model I generate with feynrules when I encountered this problem.

Command "generate g g > h h [noborn=QCD]" interrupted with error:
KeyError : 'MB'
Please report this bug on https://bugs.launchpad.net/mg5amcnlo
More information is found in 'MG5_debug'.
Please attach this file to your report.

And this is content of debug file:

generate g g > h h [noborn=QCD]
Traceback (most recent call last):
  File "/home/parallels/Downloads/MG5_aMC_v3.5.0/MG5_aMC_v3_5_0/madgraph/interface/extended_cmd.py", line 1543, in onecmd
    return self.onecmd_orig(line, **opt)
  File "/home/parallels/Downloads/MG5_aMC_v3.5.0/MG5_aMC_v3_5_0/madgraph/interface/extended_cmd.py", line 1492, in onecmd_orig
    return func(arg, **opt)
  File "/home/parallels/Downloads/MG5_aMC_v3.5.0/MG5_aMC_v3_5_0/madgraph/interface/master_interface.py", line 278, in do_generate
    return self.cmd.do_generate(self, line, *args, **opts)
  File "/home/parallels/Downloads/MG5_aMC_v3.5.0/MG5_aMC_v3_5_0/madgraph/interface/madgraph_interface.py", line 4709, in do_generate
    self.do_add(" ".join(args))
  File "/home/parallels/Downloads/MG5_aMC_v3.5.0/MG5_aMC_v3_5_0/madgraph/interface/master_interface.py", line 225, in do_add
    return self.cmd.create_loop_induced(self, line, *args, **opts)
  File "/home/parallels/Downloads/MG5_aMC_v3.5.0/MG5_aMC_v3_5_0/madgraph/interface/madgraph_interface.py", line 5277, in create_loop_induced
    myproc = loop_diagram_generation.LoopInducedMultiProcess(myprocdef,
  File "/home/parallels/Downloads/MG5_aMC_v3.5.0/MG5_aMC_v3_5_0/madgraph/core/diagram_generation.py", line 1611, in __init__
    self.get('amplitudes')
  File "/home/parallels/Downloads/MG5_aMC_v3.5.0/MG5_aMC_v3_5_0/madgraph/core/diagram_generation.py", line 1650, in get
    self.generate_multi_amplitudes(process_def,
  File "/home/parallels/Downloads/MG5_aMC_v3.5.0/MG5_aMC_v3_5_0/madgraph/core/diagram_generation.py", line 1689, in generate_multi_amplitudes
    process_definition.set('orders', MultiProcess.\
  File "/home/parallels/Downloads/MG5_aMC_v3.5.0/MG5_aMC_v3_5_0/madgraph/core/diagram_generation.py", line 1979, in find_optimal_process_orders
    process_definition.get_minimum_WEIGHTED()
  File "/home/parallels/Downloads/MG5_aMC_v3.5.0/MG5_aMC_v3_5_0/madgraph/core/base_objects.py", line 3874, in get_minimum_WEIGHTED
    particles, hierarchy = model.get_particles_hierarchy()
  File "/home/parallels/Downloads/MG5_aMC_v3.5.0/MG5_aMC_v3_5_0/madgraph/core/base_objects.py", line 1415, in get_particles_hierarchy
    hierarchy = sorted(list(set([self.get('order_hierarchy')[k] for \
  File "/home/parallels/Downloads/MG5_aMC_v3.5.0/MG5_aMC_v3_5_0/madgraph/core/base_objects.py", line 1415, in <listcomp>
    hierarchy = sorted(list(set([self.get('order_hierarchy')[k] for \
KeyError: 'MB'

I wonder how I can fix it

Question information

Language:
English Edit question
Status:
Answered
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#1

So it seems that 'MB' is not present in the couplings_orders.py while it should be (or at least you use MB as a coupling order somehwere in your model).

The clean way would be to fix that within your feynrules file (but do not ask me what to do at that level).
The hacking way is to edit that file to add such information as needed.

Can you help with this problem?

Provide an answer of your own, or ask Zhaowei Song for more information if necessary.

To post a message you must log in.