Problem with ggF

Asked by Pablo Candia on 2018-04-18

Dear developers,

I want to calculate the LO contribution to gluon fusion by means of the madloop library. I used the command

generate p p > h [QCD],

which generates the expected process and diagrams. However, when I try to create an output I get the following error

Command "output GGF" interrupted with error:
TypeError : unsupported operand type(s) for -: 'int' and 'NoneType'

The debug file shows the following:

#************************************************************
#* MadGraph5_aMC@NLO *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 2.6.1 2017-12-12 *
#* *
#* The MadGraph5_aMC@NLO Development Team - Find us at *
#* https://server06.fynu.ucl.ac.be/projects/madgraph *
#* *
#************************************************************
#* *
#* Command File for MadGraph5_aMC@NLO *
#* *
#* run as ./bin/mg5_aMC filename *
#* *
#************************************************************
set group_subprocesses Auto
set ignore_six_quark_processes False
set loop_optimized_output True
set loop_color_flows False
set gauge unitary
set complex_mass_scheme False
set max_npoint_for_channel 0
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~
import model loop_sm
import model sm heft
import model loop_sm
import model sm heft
import model sm heft
import model heft
import model sm
import model loop_sm
import model sm
import model loop_sm
generate p p > h [QCD]
output GGF
Traceback (most recent call last):
  File "/home/pablo/Documents/MG5_aMC_v2_5_5/madgraph/interface/extended_cmd.py", line 1467, in onecmd
    return self.onecmd_orig(line, **opt)
  File "/home/pablo/Documents/MG5_aMC_v2_5_5/madgraph/interface/extended_cmd.py", line 1421, in onecmd_orig
    return func(arg, **opt)
  File "/home/pablo/Documents/MG5_aMC_v2_5_5/madgraph/interface/master_interface.py", line 290, in do_output
    self.cmd.do_output(self, line, *args, **opts)
  File "/home/pablo/Documents/MG5_aMC_v2_5_5/madgraph/interface/madgraph_interface.py", line 7567, in do_output
    self.export(nojpeg, main_file_name, group_processes, args)
  File "/home/pablo/Documents/MG5_aMC_v2_5_5/madgraph/interface/master_interface.py", line 304, in export
    return self.cmd.export(self, *args, **opts)
  File "/home/pablo/Documents/MG5_aMC_v2_5_5/madgraph/interface/madgraph_interface.py", line 7707, in export
    self._curr_helas_model)
  File "/home/pablo/Documents/MG5_aMC_v2_5_5/madgraph/iolibs/export_v4.py", line 174, in export_processes
    me_group, fortran_model, group_number)
  File "/home/pablo/Documents/MG5_aMC_v2_5_5/madgraph/loop/loop_exporters.py", line 3250, in generate_subprocess_directory
    self, subproc_group,fortran_model,group_number)
  File "/home/pablo/Documents/MG5_aMC_v2_5_5/madgraph/iolibs/export_v4.py", line 4946, in generate_subprocess_directory
    matrix_elements)
  File "/home/pablo/Documents/MG5_aMC_v2_5_5/madgraph/iolibs/export_v4.py", line 5172, in write_coloramps_file
    subproc + 1))
  File "/home/pablo/Documents/MG5_aMC_v2_5_5/madgraph/iolibs/export_v4.py", line 1095, in get_icolamp_lines
    color_basis.values()],[]))
TypeError: unsupported operand type(s) for -: 'int' and 'NoneType'
                          MadGraph5_aMC@NLO Options
                          ----------------
        complex_mass_scheme : False
                      gauge : unitary
         group_subprocesses : Auto
  ignore_six_quark_processes : False
           loop_color_flows : False
      loop_optimized_output : True
  low_mem_multicore_nlo_generation : False
     max_npoint_for_channel : 0
               stdout_level : 20 (user set)

                         MadEvent Options
                          ----------------
     automatic_html_opening : False (user set)
                    nb_core : 4 (user set)
        notification_center : True
                   run_mode : 2

                      Configuration Options
                      ---------------------
                        OLP : MadLoop
                    amcfast : amcfast-config
                   applgrid : applgrid-config
                auto_update : 7 (user set)
         cluster_local_path : None
           cluster_nb_retry : 1
              cluster_queue : None (user set)
         cluster_retry_wait : 300
               cluster_size : 100
      cluster_status_update : (600, 30)
          cluster_temp_path : None
               cluster_type : condor
                    collier : /home/pablo/Documents/MG5_aMC_v2_5_5/HEPTools/lib (user set)
               cpp_compiler : None
             crash_on_error : False
               delphes_path : None (user set)
                 eps_viewer : None
        exrootanalysis_path : /home/pablo/Documents/MG5_aMC_v2_5_5/ExRootAnalysis (user set)
              f2py_compiler : None
                    fastjet : None (user set)
           fortran_compiler : None
                      golem : None (user set)
                 hepmc_path : None (user set)
                  hwpp_path : None (user set)
                     lhapdf : lhapdf-config
          madanalysis5_path : None (user set)
           madanalysis_path : None (user set)
  mg5amc_py8_interface_path : None (user set)
                      ninja : /home/pablo/Documents/MG5_aMC_v2_5_5/HEPTools/lib (user set)
        output_dependencies : external
                      pjfry : None (user set)
            pythia-pgs_path : None (user set)
               pythia8_path : None (user set)
                    samurai : None
               syscalc_path : None (user set)
                    td_path : None (user set)
                text_editor : None
                thepeg_path : None (user set)
                    timeout : 60
                web_browser : None

I would be grateful if you could help me with this.

Question information

Language:
English Edit question
Status:
Answered
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Last query:
2018-04-18
Last reply:
2018-04-20

Can you retry from a clean version of 2.6.1?
My feeling is that this might be an issue with the auto-update.

Thanks (and sorry for that)

Olivier

> On 18 Apr 2018, at 19:32, Pablo Candia <email address hidden> wrote:
>
> New question #668058 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/668058
>
> Dear developers,
>
> I want to calculate the LO contribution to gluon fusion by means of the madloop library. I used the command
>
> generate p p > h [QCD],
>
> which generates the expected process and diagrams. However, when I try to create an output I get the following error
>
> Command "output GGF" interrupted with error:
> TypeError : unsupported operand type(s) for -: 'int' and 'NoneType'
>
> The debug file shows the following:
>
> #************************************************************
> #* MadGraph5_aMC@NLO *
> #* *
> #* * * *
> #* * * * * *
> #* * * * * 5 * * * * *
> #* * * * * *
> #* * * *
> #* *
> #* *
> #* VERSION 2.6.1 2017-12-12 *
> #* *
> #* The MadGraph5_aMC@NLO Development Team - Find us at *
> #* https://server06.fynu.ucl.ac.be/projects/madgraph *
> #* *
> #************************************************************
> #* *
> #* Command File for MadGraph5_aMC@NLO *
> #* *
> #* run as ./bin/mg5_aMC filename *
> #* *
> #************************************************************
> set group_subprocesses Auto
> set ignore_six_quark_processes False
> set loop_optimized_output True
> set loop_color_flows False
> set gauge unitary
> set complex_mass_scheme False
> set max_npoint_for_channel 0
> 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~
> import model loop_sm
> import model sm heft
> import model loop_sm
> import model sm heft
> import model sm heft
> import model heft
> import model sm
> import model loop_sm
> import model sm
> import model loop_sm
> generate p p > h [QCD]
> output GGF
> Traceback (most recent call last):
> File "/home/pablo/Documents/MG5_aMC_v2_5_5/madgraph/interface/extended_cmd.py", line 1467, in onecmd
> return self.onecmd_orig(line, **opt)
> File "/home/pablo/Documents/MG5_aMC_v2_5_5/madgraph/interface/extended_cmd.py", line 1421, in onecmd_orig
> return func(arg, **opt)
> File "/home/pablo/Documents/MG5_aMC_v2_5_5/madgraph/interface/master_interface.py", line 290, in do_output
> self.cmd.do_output(self, line, *args, **opts)
> File "/home/pablo/Documents/MG5_aMC_v2_5_5/madgraph/interface/madgraph_interface.py", line 7567, in do_output
> self.export(nojpeg, main_file_name, group_processes, args)
> File "/home/pablo/Documents/MG5_aMC_v2_5_5/madgraph/interface/master_interface.py", line 304, in export
> return self.cmd.export(self, *args, **opts)
> File "/home/pablo/Documents/MG5_aMC_v2_5_5/madgraph/interface/madgraph_interface.py", line 7707, in export
> self._curr_helas_model)
> File "/home/pablo/Documents/MG5_aMC_v2_5_5/madgraph/iolibs/export_v4.py", line 174, in export_processes
> me_group, fortran_model, group_number)
> File "/home/pablo/Documents/MG5_aMC_v2_5_5/madgraph/loop/loop_exporters.py", line 3250, in generate_subprocess_directory
> self, subproc_group,fortran_model,group_number)
> File "/home/pablo/Documents/MG5_aMC_v2_5_5/madgraph/iolibs/export_v4.py", line 4946, in generate_subprocess_directory
> matrix_elements)
> File "/home/pablo/Documents/MG5_aMC_v2_5_5/madgraph/iolibs/export_v4.py", line 5172, in write_coloramps_file
> subproc + 1))
> File "/home/pablo/Documents/MG5_aMC_v2_5_5/madgraph/iolibs/export_v4.py", line 1095, in get_icolamp_lines
> color_basis.values()],[]))
> TypeError: unsupported operand type(s) for -: 'int' and 'NoneType'
> MadGraph5_aMC@NLO Options
> ----------------
> complex_mass_scheme : False
> gauge : unitary
> group_subprocesses : Auto
> ignore_six_quark_processes : False
> loop_color_flows : False
> loop_optimized_output : True
> low_mem_multicore_nlo_generation : False
> max_npoint_for_channel : 0
> stdout_level : 20 (user set)
>
> MadEvent Options
> ----------------
> automatic_html_opening : False (user set)
> nb_core : 4 (user set)
> notification_center : True
> run_mode : 2
>
> Configuration Options
> ---------------------
> OLP : MadLoop
> amcfast : amcfast-config
> applgrid : applgrid-config
> auto_update : 7 (user set)
> cluster_local_path : None
> cluster_nb_retry : 1
> cluster_queue : None (user set)
> cluster_retry_wait : 300
> cluster_size : 100
> cluster_status_update : (600, 30)
> cluster_temp_path : None
> cluster_type : condor
> collier : /home/pablo/Documents/MG5_aMC_v2_5_5/HEPTools/lib (user set)
> cpp_compiler : None
> crash_on_error : False
> delphes_path : None (user set)
> eps_viewer : None
> exrootanalysis_path : /home/pablo/Documents/MG5_aMC_v2_5_5/ExRootAnalysis (user set)
> f2py_compiler : None
> fastjet : None (user set)
> fortran_compiler : None
> golem : None (user set)
> hepmc_path : None (user set)
> hwpp_path : None (user set)
> lhapdf : lhapdf-config
> madanalysis5_path : None (user set)
> madanalysis_path : None (user set)
> mg5amc_py8_interface_path : None (user set)
> ninja : /home/pablo/Documents/MG5_aMC_v2_5_5/HEPTools/lib (user set)
> output_dependencies : external
> pjfry : None (user set)
> pythia-pgs_path : None (user set)
> pythia8_path : None (user set)
> samurai : None
> syscalc_path : None (user set)
> td_path : None (user set)
> text_editor : None
> thepeg_path : None (user set)
> timeout : 60
> web_browser : None
>
> I would be grateful if you could help me with this.
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Can you help with this problem?

Provide an answer of your own, or ask Pablo Candia for more information if necessary.

To post a message you must log in.