InvalidCmd : No matrix elements generated, check overall coupling orders

Asked by Inês Ochoa

Dear MadGraph5_aMC@NLO support,

I am generating pp > zz [QCD] events, decaying with Madpin and hadronizing with Herwigpp. However, before entering the showering phase, my jobs are crashing with the following message:

InvalidCmd : No matrix elements generated, check overall coupling orders

Do you know how to solve this issue? I'm using version v2.1.0 of MadGraph5_aMCatNLO.

Thanks!
Ines

P.S.: I'm pasting below the relevant lines from the log file:

launch
Traceback (most recent call last):
  File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/ZlepZbb_14TeV/bin/internal/extended_cmd.py", line 872, in onecmd
    return self.onecmd_orig(line, **opt)
  File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/ZlepZbb_14TeV/bin/internal/extended_cmd.py", line 865, in onecmd_orig
    return func(arg, **opt)
  File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/ZlepZbb_14TeV/bin/internal/amcatnlo_run_interface.py", line 1194, in do_launch
    self.exec_cmd('decay_events -from_cards', postcmd=False)
  File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/ZlepZbb_14TeV/bin/internal/extended_cmd.py", line 912, in exec_cmd
    stop = Cmd.onecmd_orig(current_interface, line, **opt)
  File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/ZlepZbb_14TeV/bin/internal/extended_cmd.py", line 865, in onecmd_orig
    return func(arg, **opt)
  File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/ZlepZbb_14TeV/bin/internal/common_run_interface.py", line 1511, in do_decay_events
    madspin_cmd.import_command_file(path)
  File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/madgraph/interface/extended_cmd.py", line 1027, in import_command_file
    self.exec_cmd(line, precmd=True)
  File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/madgraph/interface/extended_cmd.py", line 912, in exec_cmd
    stop = Cmd.onecmd_orig(current_interface, line, **opt)
  File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/madgraph/interface/extended_cmd.py", line 865, in onecmd_orig
    return func(arg, **opt)
  File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/MadSpin/interface_madspin.py", line 459, in do_launch
    self.options)
  File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/MadSpin/decay.py", line 1966, in __init__
    self.generate_all_matrix_element()
  File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/madgraph/various/misc.py", line 88, in f_with_no_logger
    out = f(self, *args, **opt)
  File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/tests/unit_tests/various/test_aloha.py", line 50, in deco_f_set
    out = f(*args, **opt)
  File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/MadSpin/decay.py", line 2662, in generate_all_matrix_element
    mgcmd.exec_cmd(commandline, precmd=True)
  File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/madgraph/interface/extended_cmd.py", line 912, in exec_cmd
    stop = Cmd.onecmd_orig(current_interface, line, **opt)
  File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/madgraph/interface/extended_cmd.py", line 865, in onecmd_orig
    return func(arg, **opt)
  File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/madgraph/interface/master_interface.py", line 264, in do_output
    self.cmd.do_output(self, line, *args, **opts)
  File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/madgraph/interface/madgraph_interface.py", line 5367, in do_output
    self.export(nojpeg, main_file_name, args)
  File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/madgraph/interface/master_interface.py", line 278, in export
    return self.cmd.export(self, *args, **opts)
  File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/madgraph/interface/madgraph_interface.py", line 5463, in export
    ndiags, cpu_time = generate_matrix_elements(self)
  File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/madgraph/interface/madgraph_interface.py", line 5446, in generate_matrix_elements
    helas_objects.HelasMultiProcess(self._curr_amps, matrix_element_opts=mode)
  File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/madgraph/core/helas_objects.py", line 4994, in __init__
    matrix_element_opts=matrix_element_opts))
  File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/madgraph/core/helas_objects.py", line 5148, in generate_matrix_elements
    tmp_matrix_element_list = HelasDecayChainProcess(amplitude).\
  File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/madgraph/core/helas_objects.py", line 4705, in __init__
    self.generate_matrix_elements(argument)
  File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/madgraph/core/helas_objects.py", line 4751, in generate_matrix_elements
    decay_chain))
  File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/madgraph/core/helas_objects.py", line 4705, in __init__
    self.generate_matrix_elements(argument)
  File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/madgraph/core/helas_objects.py", line 4743, in generate_matrix_elements
    decay_ids)
  File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/madgraph/core/helas_objects.py", line 5259, in generate_matrix_elements
    "No matrix elements generated, check overall coupling orders"
InvalidCmd: No matrix elements generated, check overall coupling orders
Value of current Options:
              web_browser : None
              text_editor : nano
        cluster_temp_path : None
             syscalc_path : None
            cluster_queue : madgraph
         madanalysis_path : None
                   lhapdf : lhapdf-config
                 mg5_path : /unix/atlas2/ines/software/MG5_aMC_v2_1_0
           cluster_memory : None
    cluster_status_update : (600, 30)
             cluster_time : None
               hepmc_path : /unix/atlas2/ines/software/HepMC/HepMC-2.06.09
             pythia8_path : None
                hwpp_path : /unix/atlas2/ines/software/Herwigpp
   automatic_html_opening : False
       cluster_retry_wait : 300
             stdout_level : None
          pythia-pgs_path : None
                  td_path : None
             delphes_path : None
              thepeg_path : /unix/atlas2/ines/software/ThePEG
             cluster_type : condor
      exrootanalysis_path : None
         fortran_compiler : None
              auto_update : 7
         cluster_nb_retry : 1
               eps_viewer : None
                  timeout : 60
                  fastjet : fastjet-config
                  nb_core : 8
                 run_mode : 2

Question information

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

Could you try with the latest version of MG5_aMC? and check if this is still happens or not?

Cheers,

Olivier
> On Nov 27, 2015, at 00:26, Inês Ochoa <email address hidden> wrote:
>
> New question #275693 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/275693
>
> Dear MadGraph5_aMC@NLO support,
>
> I am generating pp > zz [QCD] events, decaying with Madpin and hadronizing with Herwigpp. However, before entering the showering phase, my jobs are crashing with the following message:
>
> InvalidCmd : No matrix elements generated, check overall coupling orders
>
> Do you know how to solve this issue? I'm using version v2.1.0 of MadGraph5_aMCatNLO.
>
> Thanks!
> Ines
>
>
> P.S.: I'm pasting below the relevant lines from the log file:
>
>
> launch
> Traceback (most recent call last):
> File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/ZlepZbb_14TeV/bin/internal/extended_cmd.py", line 872, in onecmd
> return self.onecmd_orig(line, **opt)
> File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/ZlepZbb_14TeV/bin/internal/extended_cmd.py", line 865, in onecmd_orig
> return func(arg, **opt)
> File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/ZlepZbb_14TeV/bin/internal/amcatnlo_run_interface.py", line 1194, in do_launch
> self.exec_cmd('decay_events -from_cards', postcmd=False)
> File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/ZlepZbb_14TeV/bin/internal/extended_cmd.py", line 912, in exec_cmd
> stop = Cmd.onecmd_orig(current_interface, line, **opt)
> File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/ZlepZbb_14TeV/bin/internal/extended_cmd.py", line 865, in onecmd_orig
> return func(arg, **opt)
> File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/ZlepZbb_14TeV/bin/internal/common_run_interface.py", line 1511, in do_decay_events
> madspin_cmd.import_command_file(path)
> File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/madgraph/interface/extended_cmd.py", line 1027, in import_command_file
> self.exec_cmd(line, precmd=True)
> File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/madgraph/interface/extended_cmd.py", line 912, in exec_cmd
> stop = Cmd.onecmd_orig(current_interface, line, **opt)
> File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/madgraph/interface/extended_cmd.py", line 865, in onecmd_orig
> return func(arg, **opt)
> File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/MadSpin/interface_madspin.py", line 459, in do_launch
> self.options)
> File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/MadSpin/decay.py", line 1966, in __init__
> self.generate_all_matrix_element()
> File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/madgraph/various/misc.py", line 88, in f_with_no_logger
> out = f(self, *args, **opt)
> File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/tests/unit_tests/various/test_aloha.py", line 50, in deco_f_set
> out = f(*args, **opt)
> File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/MadSpin/decay.py", line 2662, in generate_all_matrix_element
> mgcmd.exec_cmd(commandline, precmd=True)
> File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/madgraph/interface/extended_cmd.py", line 912, in exec_cmd
> stop = Cmd.onecmd_orig(current_interface, line, **opt)
> File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/madgraph/interface/extended_cmd.py", line 865, in onecmd_orig
> return func(arg, **opt)
> File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/madgraph/interface/master_interface.py", line 264, in do_output
> self.cmd.do_output(self, line, *args, **opts)
> File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/madgraph/interface/madgraph_interface.py", line 5367, in do_output
> self.export(nojpeg, main_file_name, args)
> File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/madgraph/interface/master_interface.py", line 278, in export
> return self.cmd.export(self, *args, **opts)
> File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/madgraph/interface/madgraph_interface.py", line 5463, in export
> ndiags, cpu_time = generate_matrix_elements(self)
> File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/madgraph/interface/madgraph_interface.py", line 5446, in generate_matrix_elements
> helas_objects.HelasMultiProcess(self._curr_amps, matrix_element_opts=mode)
> File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/madgraph/core/helas_objects.py", line 4994, in __init__
> matrix_element_opts=matrix_element_opts))
> File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/madgraph/core/helas_objects.py", line 5148, in generate_matrix_elements
> tmp_matrix_element_list = HelasDecayChainProcess(amplitude).\
> File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/madgraph/core/helas_objects.py", line 4705, in __init__
> self.generate_matrix_elements(argument)
> File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/madgraph/core/helas_objects.py", line 4751, in generate_matrix_elements
> decay_chain))
> File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/madgraph/core/helas_objects.py", line 4705, in __init__
> self.generate_matrix_elements(argument)
> File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/madgraph/core/helas_objects.py", line 4743, in generate_matrix_elements
> decay_ids)
> File "/unix/atlas2/ines/software/MG5_aMC_v2_1_0/madgraph/core/helas_objects.py", line 5259, in generate_matrix_elements
> "No matrix elements generated, check overall coupling orders"
> InvalidCmd: No matrix elements generated, check overall coupling orders
> Value of current Options:
> web_browser : None
> text_editor : nano
> cluster_temp_path : None
> syscalc_path : None
> cluster_queue : madgraph
> madanalysis_path : None
> lhapdf : lhapdf-config
> mg5_path : /unix/atlas2/ines/software/MG5_aMC_v2_1_0
> cluster_memory : None
> cluster_status_update : (600, 30)
> cluster_time : None
> hepmc_path : /unix/atlas2/ines/software/HepMC/HepMC-2.06.09
> pythia8_path : None
> hwpp_path : /unix/atlas2/ines/software/Herwigpp
> automatic_html_opening : False
> cluster_retry_wait : 300
> stdout_level : None
> pythia-pgs_path : None
> td_path : None
> delphes_path : None
> thepeg_path : /unix/atlas2/ines/software/ThePEG
> cluster_type : condor
> exrootanalysis_path : None
> fortran_compiler : None
> auto_update : 7
> cluster_nb_retry : 1
> eps_viewer : None
> timeout : 60
> fastjet : fastjet-config
> nb_core : 8
> run_mode : 2
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
Inês Ochoa (inesochoa) said :
#2

Dear Olivier,

Thanks for the quick reply. I have just tried the latest version of MG5_aMC and the same error occurs.

Cheers,
Ines

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#3

Ok,

Could you share your cards, such that I can then reproduce your error and check the reason of this problem.

Cheers,

Olivier
> On Nov 27, 2015, at 06:22, Inês Ochoa <email address hidden> wrote:
>
> Question #275693 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/275693
>
> Status: Answered => Open
>
> Inês Ochoa is still having a problem:
> Dear Olivier,
>
> Thanks for the quick reply. I have just tried the latest version of
> MG5_aMC and the same error occurs.
>
> Cheers,
> Ines
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
Inês Ochoa (inesochoa) said :
#4

Hi Olivier,

You can find the set of cards that were used here: https://dl.dropboxusercontent.com/u/192956/cardsUsed.tar.gz

Thanks!
Ines

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#5

Thanks,

Now I’m able to reproduce the problem. Looks like it happens only when one (or both) Z decayed into b jet.
No idea why this is a problem yet.

I’ll keep you in touch,

Olivier

> On Nov 27, 2015, at 22:46, Inês Ochoa <email address hidden> wrote:
>
> Question #275693 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/275693
>
> Status: Answered => Open
>
> Inês Ochoa is still having a problem:
> Hi Olivier,
>
> You can find the set of cards that were used here:
> https://dl.dropboxusercontent.com/u/192956/cardsUsed.tar.gz
>
> Thanks!
> Ines
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
Inês Ochoa (inesochoa) said :
#6

Thanks Olivier!
Ines

Revision history for this message
Best Olivier Mattelaer (olivier-mattelaer) said :
#7

Dear Ines,

Sorry for the long waiting time,it is a busy period right now.
The problem is actually linked to your param_card.dat, you have an incomplete information about the Z potential decay in your param_card:

#
# PDG Width
DECAY 23 2.441404e+00
# BR NDA ID1 ID2 ...
   3.366e-01 2 13 -13 #

According to your input, the Z can only decay to muon and not to b. This is why the code crashed.

I can see two potential solution
1) do not include any BR information (then MS will compute them assuming no three body decay)
2) include all of them (or at least all the relevant one for MS)

Cheers,

Olivier

> On Dec 2, 2015, at 14:16, Inês Ochoa <email address hidden> wrote:
>
> Question #275693 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/275693
>
> Status: Answered => Open
>
> Inês Ochoa is still having a problem:
> Thanks Olivier!
> Ines
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
Inês Ochoa (inesochoa) said :
#8

Thanks Olivier Mattelaer, that solved my question.

Revision history for this message
Inês Ochoa (inesochoa) said :
#9

Hi Olivier,

Thanks a lot for spotting this, I didn't realize at all that this info was missing.

Cheers
Ines