Issue while installing MadAnalysis5 through MG5

Asked by Kartik Bhide

Tried running 'install MadAnalysis5' from within Madgraph5, and ran into this installation problem. The debug file is below. Thanks.

#************************************************************
#* MadGraph5_aMC@NLO *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 2.8.2 2020-10-30 *
#* *
#* 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 MadAnalysis5
Traceback (most recent call last):
  File "/home/work/Work/MG5_aMC_v2.8.2/MG5_aMC_v2_8_2/madgraph/interface/extended_cmd.py", line 1541, in onecmd
    return self.onecmd_orig(line, **opt)
  File "/home/work/Work/MG5_aMC_v2.8.2/MG5_aMC_v2_8_2/madgraph/interface/extended_cmd.py", line 1490, in onecmd_orig
    return func(arg, **opt)
  File "/home/work/Work/MG5_aMC_v2.8.2/MG5_aMC_v2_8_2/madgraph/interface/master_interface.py", line 485, in do_install
    self.cmd.do_install(self, *args, **opts)
  File "/home/work/Work/MG5_aMC_v2.8.2/MG5_aMC_v2_8_2/madgraph/interface/madgraph_interface.py", line 6261, in do_install
    return self.advanced_install(name, path['HEPToolsInstaller'],
  File "/home/work/Work/MG5_aMC_v2.8.2/MG5_aMC_v2_8_2/madgraph/interface/madgraph_interface.py", line 5997, in advanced_install
    raise self.InvalidCmd("Installation of %s failed."%tool_to_install)
madgraph.InvalidCmd: Installation of madanalysis5 failed.
                          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 : 10 (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_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

Question information

Language:
English Edit question
Status:
Answered
For:
MadAnalysis 5 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Benjamin Fuks (fuks) said :
#1

Dear Kartik,

Without more information about the reasons of the crash, I am afraid I can't help you. You have basically only told me that installation crashed without any extra detail. Just a question, however. Do you use Python2 or Python3?

Regards,

Benjamin

Revision history for this message
Kartik Bhide (kbya) said :
#2

Hello, sorry if I have not mentioned something (I am an undergraduate and new to things). I am running Ubuntu 20.04, so the default Python version is 3.x. Is this an issue?

Please let me know what additional details I should share. Thanks.

Revision history for this message
Benjamin Fuks (fuks) said :
#3

Hi Kartik,

Indeed, the version of MadAnalysis5 downloaded by MadGraph5_aMC@NLO is not compatible with Python 3, which is the reason of the behaviour you observed. Can you try to install MadAnalysis5 by forcing MG5_aMC to use this tarball:
  https://madanalysis.irmp.ucl.ac.be/raw-attachment/wiki/MA5SandBox/ma5_v1.9.10.tgz
Normally, this should fix the Python3 issues. Note that this version is the development version of the code, so that new features are available, undocumented and not fully validated. Please thus report any suspicious behaviour. Thanks in advance.

Cheers,

Benjamin

PS: I am adding Olivier to this thread so that he could follow. Maybe he could (temporarily, until Python3 compatibility is fully tested) update the MA5 path inside MG5_aMC.

> On 15 Dec 2020, at 08:25 , Kartik Bhide <email address hidden> wrote:
>
> Question #694517 on MadAnalysis 5 changed:
> https://answers.launchpad.net/madanalysis5/+question/694517
>
> Kartik Bhide posted a new comment:
> Hello, sorry if I have not mentioned something (I am an undergraduate
> and new to things). I am running Ubuntu 20.04, so the default Python
> version is 3.x. Is this an issue?
>
> Please let me know what additional details I should share. Thanks.
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Can you help with this problem?

Provide an answer of your own, or ask Kartik Bhide for more information if necessary.

To post a message you must log in.