can't install pythia-pgs from mg5

Bug #1915657 reported by Felipe Diaz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MadGraph5_aMC@NLO
Fix Released
Undecided
Unassigned

Bug Description

Hello,

I'm trying to install pythia from mg5 with 'install pythia-pgs', here is the mg5 debug file (already have g++, gcc and gfortran). Thanks in advance.

#************************************************************
#* MadGraph5_aMC@NLO *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 2.9.1.2 2021-02-02 *
#* *
#* 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 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
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~
install pythia-pgs
Traceback (most recent call last):
  File "/home/felipe/Desktop/MG5_aMC_v2.9.1.2/MG5_aMC_v2_9_1_2/madgraph/interface/extended_cmd.py", line 1541, in onecmd
    return self.onecmd_orig(line, **opt)
  File "/home/felipe/Desktop/MG5_aMC_v2.9.1.2/MG5_aMC_v2_9_1_2/madgraph/interface/extended_cmd.py", line 1490, in onecmd_orig
    return func(arg, **opt)
  File "/home/felipe/Desktop/MG5_aMC_v2.9.1.2/MG5_aMC_v2_9_1_2/madgraph/interface/master_interface.py", line 485, in do_install
    self.cmd.do_install(self, *args, **opts)
  File "/home/felipe/Desktop/MG5_aMC_v2.9.1.2/MG5_aMC_v2_9_1_2/madgraph/interface/madgraph_interface.py", line 6545, in do_install
    status = self.compile(mode='', cwd = os.path.join(MG5DIR, name))
  File "/home/felipe/Desktop/MG5_aMC_v2.9.1.2/MG5_aMC_v2_9_1_2/madgraph/interface/extended_cmd.py", line 1634, in compile
    return misc.compile(nb_core=self.options['nb_core'], *args, **opts)
  File "/home/felipe/Desktop/MG5_aMC_v2.9.1.2/MG5_aMC_v2_9_1_2/madgraph/various/misc.py", line 484, in compile
    if nb_core > 1:
TypeError: '>' not supported between instances of 'NoneType' and 'int'
                          MadGraph5_aMC@NLO Options
                          ----------------
        complex_mass_scheme : False
    default_unset_couplings : 99
                      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
          max_t_for_channel : 99
               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
                    amcfast : amcfast-config
                   applgrid : applgrid-config
         auto_convert_model : False
                auto_update : 7
         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
               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
            pythia-pgs_path : ./pythia-pgs
               pythia8_path : None (user set)
                    samurai : None
               syscalc_path : ./SysCalc
                    td_path : ./td
                text_editor : None
                thepeg_path : None (user set)
                    timeout : 60
                web_browser : None

Revision history for this message
Felipe Diaz (felipepmdc) wrote :
Revision history for this message
Olivier Mattelaer (olivier-mattelaer) wrote : Re: [Bug 1915657] [NEW] can't install pythia-pgs from mg5
Download full text (13.2 KiB)

Hi,

The first advice would be to NOT install pythia-pgs package this package is fully outdated both in term of code but also in term of physics.
The author of the associated package do not provide support for such tools (for PGS) or that version of the tools (for pythia6) since at least 10 years.

You can install pythia8 via "install pythia8" and Delphes via "install Delphes" command.

If you really want to install pythia-pgs, you will need to wait 2.9.2 where that particular bug is fixed.
But do remember that pythia-pgs is not compatible with modern compiler (gcc needs to be below version 8)

Cheers,

Olivier

> On 14 Feb 2021, at 20:49, Felipe Diaz <email address hidden> wrote:
>
> Public bug reported:
>
> Hello,
>
> I'm trying to install pythia from mg5 with 'install pythia-pgs', here is
> the mg5 debug file (already have g++, gcc and gfortran). Thanks in
> advance.
>
> #************************************************************
> #* MadGraph5_aMC@NLO *
> #* *
> #* * * *
> #* * * * * *
> #* * * * * 5 * * * * *
> #* * * * * *
> #* * * *
> #* *
> #* *
> #* VERSION 2.9.1.2 2021-02-02 *
> #* *
> #* 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 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
> 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~
> install pythia-pgs
> Traceback (most recent call last):
> File "/home/felipe/Desktop/MG5_aMC_v2.9.1.2/MG5_aMC_v2_9_1_2/madgraph/interface/extended_cmd.py", line 1541, in onecmd
> return self.onecmd_orig(line, **opt)
> File "/home/felipe/Desktop/MG5_aMC_v2.9.1.2/MG5_aMC_v2_9_1_2/madgraph/interface/extended_cmd.py", line 1490, in onecmd_orig
> return func(ar...

Changed in mg5amcnlo:
status: New → Fix Committed
Revision history for this message
Olivier Mattelaer (olivier-mattelaer) wrote :

Just want to add that the patch is here:

https://bazaar.launchpad.net/~maddevelopers/mg5amcnlo/2.9.2/revision/305

Cheers,

Olivier

Revision history for this message
Felipe Diaz (felipepmdc) wrote :

Hello Olivier,

thank you a lot, had no idea about those issues regarding pythia-pgs. Installed pythia8 with no problem.

Changed in mg5amcnlo:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.