Error finding propagator module after recent MG5 update

Asked by Michael Man.

Hi,

I am trying to generate the following process in the nmssm model using the latest version of MG5: gg > h01, h01 >a01 a01, (a01 > tau+ tau-), with mh01=126 GeV and ma01 = 9 GeV. I am running into the following error after I execute bin/newprocess_mg5:

Command "import /home/mmanighalam/MadGraph5_v1_5_11/Whiggs/Cards/proc_card_mg5.dat" interrupted in sub-command:
"import model nmssm -modelname" with error:
ImportError : No module named propagators
Please report this bug on https://bugs.launchpad.net/madgraph5
More information is found in 'MG5_debug'.
Please attach this file to your report.

I checked the MG5_debug file and found this:

#************************************************************
#* MadGraph 5 *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 1.5.15 2013-12-11 *
#* *
#* The MadGraph Development Team - Please visit us at *
#* https://server06.fynu.ucl.ac.be/projects/madgraph *
#* *
#************************************************************
#* *
#* Command File for MadGraph 5 *
#* *
#* run as ./bin/mg5 filename *
#* *
#************************************************************
set group_subprocesses Auto
set ignore_six_quark_processes False
set gauge unitary
set complex_mass_scheme False
import model sm
define p = g u c d s u~ c~ d~ s~
define j = g u c d s u~ c~ d~ s~
define l+ = e+ mu+
define l- = e- mu-
define vl = ve vm vt
define vl~ = ve~ vm~ vt~
# Define multiparticle labels
define p = g u c d s u~ c~ d~ s~
define j = g u c d s u~ c~ d~ s~
define l+ = e+ mu+
define l- = e- mu-
define vl = ve vm vt
define vl~ = ve~ vm~ vt~
import model nmssm -modelname
Traceback (most recent call last):
  File "/home/mmanighalam/MadGraph5_v1_5_11/madgraph/interface/extended_cmd.py", line 819, in onecmd
    return self.onecmd_orig(line, **opt)
  File "/home/mmanighalam/MadGraph5_v1_5_11/madgraph/interface/extended_cmd.py", line 812, in onecmd_orig
    return func(arg, **opt)
  File "/home/mmanighalam/MadGraph5_v1_5_11/madgraph/interface/master_interface.py", line 276, in do_import
    return self.cmd.do_import(self, *args, **opts)
  File "/home/mmanighalam/MadGraph5_v1_5_11/madgraph/interface/madgraph_interface.py", line 2891, in do_import
    self.import_command_file(args[1])
  File "/home/mmanighalam/MadGraph5_v1_5_11/madgraph/interface/extended_cmd.py", line 1030, in import_command_file
    self.exec_cmd(line, precmd=True)
  File "/home/mmanighalam/MadGraph5_v1_5_11/madgraph/interface/extended_cmd.py", line 859, in exec_cmd
    stop = Cmd.onecmd_orig(current_interface, line, **opt)
  File "/home/mmanighalam/MadGraph5_v1_5_11/madgraph/interface/extended_cmd.py", line 812, in onecmd_orig
    return func(arg, **opt)
  File "/home/mmanighalam/MadGraph5_v1_5_11/madgraph/interface/master_interface.py", line 276, in do_import
    return self.cmd.do_import(self, *args, **opts)
  File "/home/mmanighalam/MadGraph5_v1_5_11/madgraph/interface/madgraph_interface.py", line 2839, in do_import
    self._curr_model = import_ufo.import_model(args[1])
  File "/home/mmanighalam/MadGraph5_v1_5_11/models/import_ufo.py", line 99, in import_model
    model = import_full_model(model_path, decay)
  File "/home/mmanighalam/MadGraph5_v1_5_11/models/import_ufo.py", line 167, in import_full_model
    ufo_model = ufomodels.load_model(model_path, decay)
  File "/home/mmanighalam/MadGraph5_v1_5_11/models/__init__.py", line 37, in load_model
    __import__(path_split[-1])
  File "/home/mmanighalam/MadGraph5_v1_5_11/models/nmssm/__init__.py", line 9, in <module>
    import propagators
ImportError: No module named propagators
                          MadGraph Options
                          ----------------
        complex_mass_scheme : False
               stdout_level : 20 (user set)

The file goes on, but I am not sure about the import error, as I did not get this error before I updated MadGraph. Did you rename the propagators module that I'm trying to import in the latest update? Any help would be greatly appreciated!

Thanks,
Michael

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

Hi,

I guess that the easiest way to fix this is to do
touch /home/mmanighalam/MadGraph5_v1_5_11/models/nmssm/propagators.py

Cheers,

Olivier

On Mar 12, 2014, at 8:21 PM, Michael Man. <email address hidden> wrote:

> New question #245405 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/245405
>
> Hi,
>
> I am trying to generate the following process in the nmssm model using the latest version of MG5: gg > h01, h01 >a01 a01, (a01 > tau+ tau-), with mh01=126 GeV and ma01 = 9 GeV. I am running into the following error after I execute bin/newprocess_mg5:
>
> Command "import /home/mmanighalam/MadGraph5_v1_5_11/Whiggs/Cards/proc_card_mg5.dat" interrupted in sub-command:
> "import model nmssm -modelname" with error:
> ImportError : No module named propagators
> Please report this bug on https://bugs.launchpad.net/madgraph5
> More information is found in 'MG5_debug'.
> Please attach this file to your report.
>
> I checked the MG5_debug file and found this:
>
>
> #************************************************************
> #* MadGraph 5 *
> #* *
> #* * * *
> #* * * * * *
> #* * * * * 5 * * * * *
> #* * * * * *
> #* * * *
> #* *
> #* *
> #* VERSION 1.5.15 2013-12-11 *
> #* *
> #* The MadGraph Development Team - Please visit us at *
> #* https://server06.fynu.ucl.ac.be/projects/madgraph *
> #* *
> #************************************************************
> #* *
> #* Command File for MadGraph 5 *
> #* *
> #* run as ./bin/mg5 filename *
> #* *
> #************************************************************
> set group_subprocesses Auto
> set ignore_six_quark_processes False
> set gauge unitary
> set complex_mass_scheme False
> import model sm
> define p = g u c d s u~ c~ d~ s~
> define j = g u c d s u~ c~ d~ s~
> define l+ = e+ mu+
> define l- = e- mu-
> define vl = ve vm vt
> define vl~ = ve~ vm~ vt~
> # Define multiparticle labels
> define p = g u c d s u~ c~ d~ s~
> define j = g u c d s u~ c~ d~ s~
> define l+ = e+ mu+
> define l- = e- mu-
> define vl = ve vm vt
> define vl~ = ve~ vm~ vt~
> import model nmssm -modelname
> Traceback (most recent call last):
> File "/home/mmanighalam/MadGraph5_v1_5_11/madgraph/interface/extended_cmd.py", line 819, in onecmd
> return self.onecmd_orig(line, **opt)
> File "/home/mmanighalam/MadGraph5_v1_5_11/madgraph/interface/extended_cmd.py", line 812, in onecmd_orig
> return func(arg, **opt)
> File "/home/mmanighalam/MadGraph5_v1_5_11/madgraph/interface/master_interface.py", line 276, in do_import
> return self.cmd.do_import(self, *args, **opts)
> File "/home/mmanighalam/MadGraph5_v1_5_11/madgraph/interface/madgraph_interface.py", line 2891, in do_import
> self.import_command_file(args[1])
> File "/home/mmanighalam/MadGraph5_v1_5_11/madgraph/interface/extended_cmd.py", line 1030, in import_command_file
> self.exec_cmd(line, precmd=True)
> File "/home/mmanighalam/MadGraph5_v1_5_11/madgraph/interface/extended_cmd.py", line 859, in exec_cmd
> stop = Cmd.onecmd_orig(current_interface, line, **opt)
> File "/home/mmanighalam/MadGraph5_v1_5_11/madgraph/interface/extended_cmd.py", line 812, in onecmd_orig
> return func(arg, **opt)
> File "/home/mmanighalam/MadGraph5_v1_5_11/madgraph/interface/master_interface.py", line 276, in do_import
> return self.cmd.do_import(self, *args, **opts)
> File "/home/mmanighalam/MadGraph5_v1_5_11/madgraph/interface/madgraph_interface.py", line 2839, in do_import
> self._curr_model = import_ufo.import_model(args[1])
> File "/home/mmanighalam/MadGraph5_v1_5_11/models/import_ufo.py", line 99, in import_model
> model = import_full_model(model_path, decay)
> File "/home/mmanighalam/MadGraph5_v1_5_11/models/import_ufo.py", line 167, in import_full_model
> ufo_model = ufomodels.load_model(model_path, decay)
> File "/home/mmanighalam/MadGraph5_v1_5_11/models/__init__.py", line 37, in load_model
> __import__(path_split[-1])
> File "/home/mmanighalam/MadGraph5_v1_5_11/models/nmssm/__init__.py", line 9, in <module>
> import propagators
> ImportError: No module named propagators
> MadGraph Options
> ----------------
> complex_mass_scheme : False
> stdout_level : 20 (user set)
>
>
> The file goes on, but I am not sure about the import error, as I did not get this error before I updated MadGraph. Did you rename the propagators module that I'm trying to import in the latest update? Any help would be greatly appreciated!
>
> Thanks,
> Michael
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
Michael Man. (manighalam) said :
#3

Hi,

I did what you said and ended up getting the following error:

Command "import /home/mmanighalam/MadGraph5_v1_5_11/Whiggs/Cards/proc_card_mg5.dat" interrupted in sub-command:
"import model nmssm -modelname" with error:
AttributeError : 'module' object has no attribute 'all_propagators'
Please report this bug on https://bugs.launchpad.net/madgraph5
More information is found in 'MG5_debug'.
Please attach this file to your report.

and the MG5_debug file says this:

.
.
.
File "/home/mmanighalam/MadGraph5_v1_5_11/models/import_ufo.py", line 167, in import_full_model
    ufo_model = ufomodels.load_model(model_path, decay)
  File "/home/mmanighalam/MadGraph5_v1_5_11/models/__init__.py", line 37, in load_model
    __import__(path_split[-1])
  File "/home/mmanighalam/MadGraph5_v1_5_11/models/nmssm/__init__.py", line 19, in <module>
    all_propagators = propagators.all_propagators
AttributeError: 'module' object has no attribute 'all_propagators'
                          MadGraph Options
                          ----------------
        complex_mass_scheme : False
               stdout_level : 20 (user set)
         group_subprocesses : Auto
.
.
.

I think the problem may just be that I don't have the propagators.py file that I need for this to work. Is there somewhere I could get this file? What do you think?

Thanks,
Michael

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#4
Revision history for this message
Michael Man. (manighalam) said :
#5

Hi,

Thanks Olivier, that solved the import and attribute errors that I was getting. I was wondering if you could help me with another problem as well? Now I am getting the following error:

Command "import /home/mmanighalam/MadGraph5_v1_5_11/Whiggs/Cards/proc_card_mg5.dat" interrupted in sub-command:
"generate g g > h01, h01 > a01 a01, (a01 > tau+ tau-)" with error:
InvalidCmd : No amplitudes generated from process Process: g g > h01 WEIGHTED=2
   Decay: h01 > a01 a01
   Decay: a01 > tau+ tau-. Please enter a valid process

I'm not sure, but does MadGraph include the gg > h01 coupling?

Cheers,
Michael

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

Hi Michael,

I have do the following
MG5_aMC>import model nmssm
MG5_aMC>display interactions g g
#(quit the detailed the information with “q” and then get the short information on screen)
3 : g g g
4 : g g g g
372 : g g dl~ dl
373 : g g sl~ sl
374 : g g b1~ b1
375 : g g dr~ dr
376 : g g sr~ sr
377 : g g b2~ b2
378 : g g ul~ ul
379 : g g cl~ cl
380 : g g t1~ t1
381 : g g ur~ ur
382 : g g cr~ cr
383 : g g t2~ t2

So indeed g g > h01 is not define in the nmssm.

If you are not afraid a beta version of MG5, you can download this version of the code:
brzr branch lp:~maddevelopers/mg5amcnlo/plugin_model

in that version you can do the following:
import model nmssm
add model hgg_plugin

Then the vertex g g h is added to the model. But your process still fails since h a a is not added. But I can add it in the add-on model.

Cheers,

Olivier

On Mar 13, 2014, at 5:51 PM, Michael Man. <email address hidden> wrote:

> Question #245405 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/245405
>
> Status: Answered => Open
>
> Michael Man. is still having a problem:
> Hi,
>
> Thanks Olivier, that solved the import and attribute errors that I was
> getting. I was wondering if you could help me with another problem as
> well? Now I am getting the following error:
>
> Command "import /home/mmanighalam/MadGraph5_v1_5_11/Whiggs/Cards/proc_card_mg5.dat" interrupted in sub-command:
> "generate g g > h01, h01 > a01 a01, (a01 > tau+ tau-)" with error:
> InvalidCmd : No amplitudes generated from process Process: g g > h01 WEIGHTED=2
> Decay: h01 > a01 a01
> Decay: a01 > tau+ tau-. Please enter a valid process
>
> I'm not sure, but does MadGraph include the gg > h01 coupling?
>
> Cheers,
> Michael
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
Michael Man. (manighalam) said :
#7

Hi Olivier,

Thanks for the information. Has the beta version implemented any higher order corrections?

Cheers,
Michael

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

Yes but we don’t have yet support for loop induce process, and we don’t even think about a double loop like yours.

Cheers,

Olivier
On Mar 13, 2014, at 10:16 PM, Michael Man. <email address hidden> wrote:

> Question #245405 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/245405
>
> Michael Man. posted a new comment:
> Hi Olivier,
>
> Thanks for the information. Has the beta version implemented any higher
> order corrections?
>
> Cheers,
> Michael
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
Michael Man. (manighalam) said :
#9

Hi Olivier,

I have downloaded the beta version that you linked. Could you please add the h a a vertex?

Thanks,
Michael

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

Dear Michael,

Sorry mis-configuration of my email send this email on my spam folder. So I only see it today.

So below you will find the patch that you can apply to have the haa in top of the hgg one.

Sorry for that,

Olivier

=== modified file 'models/hgg_plugin/couplings.py'
--- old/models/hgg_plugin/couplings.py 2013-12-18 17:20:39 +0000
+++ new/models/hgg_plugin/couplings.py 2014-04-30 21:18:51 +0000
@@ -7,6 +7,9 @@

 from function_library import complexconjugate, re, im, csc, sec, acsc, asec

+GC_1 = Coupling(name = 'GC_1',
+ value = '-(AH*complex(0,1))',
+ order = {'HIW':1})

 GC_13 = Coupling(name = 'GC_13',
                  value = '-(complex(0,1)*GH)',

=== modified file 'models/hgg_plugin/parameters.py'
--- old/models/hgg_plugin/parameters.py 2013-12-18 17:20:39 +0000
+++ new/models/hgg_plugin/parameters.py 2014-04-30 21:20:43 +0000
@@ -32,6 +32,12 @@
                lhablock = 'MASS',
                lhacode = [ 6 ])

+MW = Parameter(name = 'MW',
+ nature = 'internal',
+ type = 'real',
+ value = 'cmath.sqrt(MZ**2/2. + cmath.sqrt(MZ**4/4. - (aEW*cmath.pi*MZ**2)/(Gf*cmath.sqrt(2))))',
+ texname = 'M_W')
+
 Gf = Parameter(name = 'Gf',
                nature = 'external',
                type = 'real',
@@ -147,3 +153,8 @@
                  value = '-(G**2*(1 + MH**6/(560.*MT**6) + MH**4/(90.*MT**4) + MH**2/(12.*MT**2)))/(8.*cmath.pi**2*v)',
                  texname = 'G_h')

+AH = Parameter(name = 'AH',
+ nature = 'internal',
+ type = 'real',
+ value = '(47*ee**2*(1 - (2*MH**4)/(987.*MT**4) - (14*MH**2)/(705.*MT**2) + (213*MH**12)/(2.634632e7*MW**12) + (5*MH**10)/(119756.*MW**10) + (41*MH**8)/(180950.*MW**8) + (87*MH**6)/(65800.*MW**6) + (57*MH**4)/(6580.*MW**4) + (33*MH**2)/(470.*MW**2)))/(72.*cmath.pi**2*v)',
+ texname = 'A_H')

=== modified file 'models/hgg_plugin/particles.py'
--- old/models/hgg_plugin/particles.py 2013-12-18 17:20:39 +0000
+++ new/models/hgg_plugin/particles.py 2014-04-30 21:17:47 +0000
@@ -46,3 +46,15 @@
               GhostNumber = 0,
               LeptonNumber = 0)

+A = Particle(pdg_code = 22,
+ name = 'A',
+ antiname = 'A',
+ spin = 3,
+ color = 1,
+ mass = Param.ZERO,
+ width = Param.ZERO,
+ texname = 'A',
+ antitexname = 'A',
+ charge = 0,
+ GhostNumber = 0,
+ LeptonNumber = 0)

=== modified file 'models/hgg_plugin/vertices.py'
--- old/models/hgg_plugin/vertices.py 2013-12-18 17:20:39 +0000
+++ new/models/hgg_plugin/vertices.py 2014-04-30 21:16:50 +0000
@@ -8,6 +8,12 @@
 import couplings as C
 import lorentz as L

+V_12 = Vertex(name = 'V_12',
+ particles = [ P.A, P.A, P.H ],
+ color = [ '1' ],
+ lorentz = [ L.VVS3 ],
+ couplings = {(0,0):C.GC_1})
+
 V_13 = Vertex(name = 'V_13',
               particles = [ P.G, P.G, P.H ],
               color = [ 'Identity(1,2)' ],