Taudecay problem in Mac

Asked by Michele Tammaro

Hi madgraphers,

I recently moved to a Mac machine (Monterey 12.2.1) and installed the latest MG v3_4_0. This works smoothly if I try a normal sm process, e.g.
import sm-full
generate e+ e- > mu+ mu-
output
launch

However, if I try importing taudecay_UFO and generate a process like ta- > pi- vt, I get the following error when trying to 'output'

CRITICAL: aS not define as external parameter adding it!
WARNING: aEWM1 and Gf not define in MODEL. AQED will not be written correcty in LHE FILE
Command "output" interrupted with error:
KeyError : 'MW'
Please report this bug on https://bugs.launchpad.net/mg5amcnlo
More information is found in 'MG5_debug'.
Please attach this file to your report.

I am pasting the debug file below.

Initially I thought it was a problem with Fortran, but I have the latest update of Command Line Tools. This problem happens to another Mac machine, but not on my previous laptop with Ubuntu 20.4.

Thanks,
Michele

#************************************************************
#* MadGraph5_aMC@NLO *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 3.4.0 2022-05-06 *
#* *
#* 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 low_mem_multicore_nlo_generation False
set complex_mass_scheme False
set include_lepton_initiated_processes False
set gauge unitary
set loop_optimized_output True
set loop_color_flows False
set max_npoint_for_channel 0
set default_unset_couplings 99
set max_t_for_channel 99
set zerowidth_tchannel True
set nlo_mixed_expansion True
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 /Users/micheletammaro/Documents/MG5_aMC_v3_4_0/models/taudecay_UFO
generate ta- > pi- vt
output
Traceback (most recent call last):
  File "/Users/micheletammaro/Documents/MG5_aMC_v3_4_0/madgraph/interface/extended_cmd.py", line 1544, in onecmd
    return self.onecmd_orig(line, **opt)
  File "/Users/micheletammaro/Documents/MG5_aMC_v3_4_0/madgraph/interface/extended_cmd.py", line 1493, in onecmd_orig
    return func(arg, **opt)
  File "/Users/micheletammaro/Documents/MG5_aMC_v3_4_0/madgraph/interface/master_interface.py", line 299, in do_output
    self.cmd.do_output(self, line, *args, **opts)
  File "/Users/micheletammaro/Documents/MG5_aMC_v3_4_0/madgraph/interface/madgraph_interface.py", line 8228, in do_output
    self.finalize(nojpeg, flaglist=flaglist)
  File "/Users/micheletammaro/Documents/MG5_aMC_v3_4_0/madgraph/interface/madgraph_interface.py", line 8526, in finalize
    self._curr_exporter.convert_model(self._curr_model,
  File "/Users/micheletammaro/Documents/MG5_aMC_v3_4_0/madgraph/iolibs/export_v4.py", line 4081, in convert_model
    super(ProcessExporterFortranME,self).convert_model(model,
  File "/Users/micheletammaro/Documents/MG5_aMC_v3_4_0/madgraph/iolibs/export_v4.py", line 938, in convert_model
    model_builder.build(wanted_couplings)
  File "/Users/micheletammaro/Documents/MG5_aMC_v3_4_0/madgraph/iolibs/export_v4.py", line 6625, in build
    self.write_all()
  File "/Users/micheletammaro/Documents/MG5_aMC_v3_4_0/madgraph/iolibs/export_v4.py", line 6662, in write_all
    self.create_ewa()
  File "/Users/micheletammaro/Documents/MG5_aMC_v3_4_0/madgraph/iolibs/export_v4.py", line 7073, in create_ewa
    fsock.write(template % masses)
KeyError: 'MW'
                          MadGraph5_aMC@NLO Options
                          ----------------
                auto_update : 7
        complex_mass_scheme : False
    default_unset_couplings : 99
                      gauge : unitary
         group_subprocesses : Auto
  ignore_six_quark_processes : False
  include_lepton_initiated_processes : False
           loop_color_flows : False
      loop_optimized_output : True
  low_mem_multicore_nlo_generation : False
     max_npoint_for_channel : 0
          max_t_for_channel : 99
        nlo_mixed_expansion : True
               stdout_level : 20 (user set)
         zerowidth_tchannel : True

                         MadEvent Options
                          ----------------
     automatic_html_opening : True
                    nb_core : None
        notification_center : True
                   run_mode : 2

                      Configuration Options
                      ---------------------
                        OLP : MadLoop
   acknowledged_v3.1_syntax : False
         auto_convert_model : False
         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 : ./HEPTools/lib
                contur_path : ./HEPTools/contur
               cpp_compiler : None
             crash_on_error : False
               delphes_path : ./Delphes
                 eps_viewer : None
        exrootanalysis_path : ./ExRootAnalysis
              f2py_compiler : None
          f2py_compiler_py2 : None
          f2py_compiler_py3 : 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
                 lhapdf_py2 : None
                 lhapdf_py3 : None
          madanalysis5_path : None (user set)
           madanalysis_path : ./MadAnalysis
  mg5amc_py8_interface_path : None (user set)
                      ninja : ./HEPTools/lib
        output_dependencies : external
                   pineappl : pineappl
            pythia-pgs_path : ./pythia-pgs
               pythia8_path : None (user set)
                 rivet_path : ./HEPTools/rivet
                    samurai : None
               syscalc_path : ./SysCalc
                    td_path : ./td
                text_editor : None
                thepeg_path : None (user set)
                    timeout : 60
                web_browser : None
                  yoda_path : ./HEPTools/yoda

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

This should be fixed in the next version 3.4.1 (which should be released soon in principle)
and is working in our Long Term Stable version (2.9.10)

Thanks for the bug report,

Olivier

> On 6 Jun 2022, at 11:55, Michele Tammaro <email address hidden> wrote:
>
> New question #702088 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/702088
>
> Hi madgraphers,
>
> I recently moved to a Mac machine (Monterey 12.2.1) and installed the latest MG v3_4_0. This works smoothly if I try a normal sm process, e.g.
> import sm-full
> generate e+ e- > mu+ mu-
> output
> launch
>
> However, if I try importing taudecay_UFO and generate a process like ta- > pi- vt, I get the following error when trying to 'output'
>
> CRITICAL: aS not define as external parameter adding it!
> WARNING: aEWM1 and Gf not define in MODEL. AQED will not be written correcty in LHE FILE
> Command "output" interrupted with error:
> KeyError : 'MW'
> Please report this bug on https://bugs.launchpad.net/mg5amcnlo
> More information is found in 'MG5_debug'.
> Please attach this file to your report.
>
> I am pasting the debug file below.
>
> Initially I thought it was a problem with Fortran, but I have the latest update of Command Line Tools. This problem happens to another Mac machine, but not on my previous laptop with Ubuntu 20.4.
>
> Thanks,
> Michele
>
> #************************************************************
> #* MadGraph5_aMC@NLO *
> #* *
> #* * * *
> #* * * * * *
> #* * * * * 5 * * * * *
> #* * * * * *
> #* * * *
> #* *
> #* *
> #* VERSION 3.4.0 2022-05-06 *
> #* *
> #* 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 low_mem_multicore_nlo_generation False
> set complex_mass_scheme False
> set include_lepton_initiated_processes False
> set gauge unitary
> set loop_optimized_output True
> set loop_color_flows False
> set max_npoint_for_channel 0
> set default_unset_couplings 99
> set max_t_for_channel 99
> set zerowidth_tchannel True
> set nlo_mixed_expansion True
> 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 /Users/micheletammaro/Documents/MG5_aMC_v3_4_0/models/taudecay_UFO
> generate ta- > pi- vt
> output
> Traceback (most recent call last):
> File "/Users/micheletammaro/Documents/MG5_aMC_v3_4_0/madgraph/interface/extended_cmd.py", line 1544, in onecmd
> return self.onecmd_orig(line, **opt)
> File "/Users/micheletammaro/Documents/MG5_aMC_v3_4_0/madgraph/interface/extended_cmd.py", line 1493, in onecmd_orig
> return func(arg, **opt)
> File "/Users/micheletammaro/Documents/MG5_aMC_v3_4_0/madgraph/interface/master_interface.py", line 299, in do_output
> self.cmd.do_output(self, line, *args, **opts)
> File "/Users/micheletammaro/Documents/MG5_aMC_v3_4_0/madgraph/interface/madgraph_interface.py", line 8228, in do_output
> self.finalize(nojpeg, flaglist=flaglist)
> File "/Users/micheletammaro/Documents/MG5_aMC_v3_4_0/madgraph/interface/madgraph_interface.py", line 8526, in finalize
> self._curr_exporter.convert_model(self._curr_model,
> File "/Users/micheletammaro/Documents/MG5_aMC_v3_4_0/madgraph/iolibs/export_v4.py", line 4081, in convert_model
> super(ProcessExporterFortranME,self).convert_model(model,
> File "/Users/micheletammaro/Documents/MG5_aMC_v3_4_0/madgraph/iolibs/export_v4.py", line 938, in convert_model
> model_builder.build(wanted_couplings)
> File "/Users/micheletammaro/Documents/MG5_aMC_v3_4_0/madgraph/iolibs/export_v4.py", line 6625, in build
> self.write_all()
> File "/Users/micheletammaro/Documents/MG5_aMC_v3_4_0/madgraph/iolibs/export_v4.py", line 6662, in write_all
> self.create_ewa()
> File "/Users/micheletammaro/Documents/MG5_aMC_v3_4_0/madgraph/iolibs/export_v4.py", line 7073, in create_ewa
> fsock.write(template % masses)
> KeyError: 'MW'
> MadGraph5_aMC@NLO Options
> ----------------
> auto_update : 7
> complex_mass_scheme : False
> default_unset_couplings : 99
> gauge : unitary
> group_subprocesses : Auto
> ignore_six_quark_processes : False
> include_lepton_initiated_processes : False
> loop_color_flows : False
> loop_optimized_output : True
> low_mem_multicore_nlo_generation : False
> max_npoint_for_channel : 0
> max_t_for_channel : 99
> nlo_mixed_expansion : True
> stdout_level : 20 (user set)
> zerowidth_tchannel : True
>
> MadEvent Options
> ----------------
> automatic_html_opening : True
> nb_core : None
> notification_center : True
> run_mode : 2
>
> Configuration Options
> ---------------------
> OLP : MadLoop
> acknowledged_v3.1_syntax : False
> auto_convert_model : False
> 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 : ./HEPTools/lib
> contur_path : ./HEPTools/contur
> cpp_compiler : None
> crash_on_error : False
> delphes_path : ./Delphes
> eps_viewer : None
> exrootanalysis_path : ./ExRootAnalysis
> f2py_compiler : None
> f2py_compiler_py2 : None
> f2py_compiler_py3 : 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
> lhapdf_py2 : None
> lhapdf_py3 : None
> madanalysis5_path : None (user set)
> madanalysis_path : ./MadAnalysis
> mg5amc_py8_interface_path : None (user set)
> ninja : ./HEPTools/lib
> output_dependencies : external
> pineappl : pineappl
> pythia-pgs_path : ./pythia-pgs
> pythia8_path : None (user set)
> rivet_path : ./HEPTools/rivet
> samurai : None
> syscalc_path : ./SysCalc
> td_path : ./td
> text_editor : None
> thepeg_path : None (user set)
> timeout : 60
> web_browser : None
> yoda_path : ./HEPTools/yoda
>
>
>
>
>
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
Michele Tammaro (mekeee) said :
#2

Thank you Olivier for the quick reply, I look forward to the new version.

However, after this post I went and downloaded MG v2.9.10 and tried to simply launch it. Same machine, no changes, I get this error. I also get it on a different Mac machine.

Using default text editor "vi". Set another one in ./input/mg5_configuration.txt
Traceback (most recent call last):
  File "/Users/micheletammaro/Documents/MG5_aMC_v2_9_10/bin/mg5_aMC", line 212, in <module>
    cmd_line.cmdloop()
  File "/Users/micheletammaro/Documents/MG5_aMC_v2_9_10/madgraph/interface/extended_cmd.py", line 942, in cmdloop
    self.preloop()
  File "/Users/micheletammaro/Documents/MG5_aMC_v2_9_10/madgraph/interface/madgraph_interface.py", line 3002, in preloop
    self.do_install('update --mode=mg5_start')
  File "/Users/micheletammaro/Documents/MG5_aMC_v2_9_10/madgraph/interface/master_interface.py", line 490, in do_install
    self.cmd.do_install(self, *args, **opts)
  File "/Users/micheletammaro/Documents/MG5_aMC_v2_9_10/madgraph/interface/madgraph_interface.py", line 6192, in do_install
    self.install_update(['update']+install_options['update_options'],wget=program)
  File "/Users/micheletammaro/Documents/MG5_aMC_v2_9_10/madgraph/interface/madgraph_interface.py", line 6859, in install_update
    data[sline[0]] = int(sline[1])
ValueError: invalid literal for int() with base 10: "b'304'"

Can you help with this problem?

Provide an answer of your own, or ask Michele Tammaro for more information if necessary.

To post a message you must log in.