Command "install MadAnalysis" interrupted with error:

Asked by S N BANERJEE

MG5_aMC>install MadAnalysis
Command "install MadAnalysis" interrupted with error:
IndexError : list index out of range
Please report this bug on https://bugs.launchpad.net/mg5amcnlo
More information is found in 'MG5_debug'.
Please attach this file to your report.

reynolds@reynolds-CELSIUS-R920:/opt/baradwaj_grp/satendrak/MadGraph/MG5_aMC_v2_4_3$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.1 LTS"

reynolds@reynolds-CELSIUS-R920:/opt/baradwaj_grp/satendrak/MadGraph/MG5_aMC_v2_4_3$ uname -a
Linux reynolds-CELSIUS-R920 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

ROOT has been installed successfully

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
S N BANERJEE (sudeep) said :
#1

Output of MG5_debug
========================
#************************************************************
#* MadGraph5_aMC@NLO *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 2.4.3 2016-08-01 *
#* *
#* 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~
install pythia-pgs
install pythia-pgs
Traceback (most recent call last):
  File "/opt/baradwaj_grp/satendrak/MadGraph/MG5_aMC_v2_4_3/madgraph/interface/extended_cmd.py", line 1011, in onecmd
    return self.onecmd_orig(line, **opt)
  File "/opt/baradwaj_grp/satendrak/MadGraph/MG5_aMC_v2_4_3/madgraph/interface/extended_cmd.py", line 966, in onecmd_orig
    return func(arg, **opt)
  File "/opt/baradwaj_grp/satendrak/MadGraph/MG5_aMC_v2_4_3/madgraph/interface/master_interface.py", line 458, in do_install
    self.cmd.do_install(self, *args, **opts)
  File "/opt/baradwaj_grp/satendrak/MadGraph/MG5_aMC_v2_4_3/madgraph/interface/madgraph_interface.py", line 5541, in do_install
    path[split[0]] = split[1]
IndexError: list index out of range
                          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 : 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
               cpp_compiler : None
               delphes_path : ./Delphes
                 eps_viewer : None
        exrootanalysis_path : ./ExRootAnalysis
              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
           madanalysis_path : ./MadAnalysis
                      ninj#************************************************************
#* MadGraph5_aMC@NLO *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 2.4.3 2016-08-01 *
#* *
#* 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~
install pythia-pgs
install pythia-pgs
Traceback (most recent call last):
  File "/opt/baradwaj_grp/satendrak/MadGraph/MG5_aMC_v2_4_3/madgraph/interface/extended_cmd.py", line 1011, in onecmd
    return self.onecmd_orig(line, **opt)
  File "/opt/baradwaj_grp/satendrak/MadGraph/MG5_aMC_v2_4_3/madgraph/interface/extended_cmd.py", line 966, in onecmd_orig
    return func(arg, **opt)
  File "/opt/baradwaj_grp/satendrak/MadGraph/MG5_aMC_v2_4_3/madgraph/interface/master_interface.py", line 458, in do_install
    self.cmd.do_install(self, *args, **opts)
  File "/opt/baradwaj_grp/satendrak/MadGraph/MG5_aMC_v2_4_3/madgraph/interface/madgraph_interface.py", line 5541, in do_install
    path[split[0]] = split[1]
IndexError: list index out of range
                          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 : 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
               cpp_compiler : None
               delphes_path : ./Delphes
                 eps_viewer : None
        exrootanalysis_path : ./ExRootAnalysis
              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
           madanalysis_path : ./MadAnalysis
                      ninja : ./HEPTools/lib
        output_dependencies : external
                      pjfry : None (user set)
            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
a : ./HEPTools/lib
        output_dependencies : external
                      pjfry : None (user set)
            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
Olivier Mattelaer (olivier-mattelaer) said :
#2

Hi,

The problem is that the file that you download to learn the path to the latest version of the package is not correctly formatted.
I have checked online and all our server have the correct file.

So multiple solutions:
1) you have an internet connection error
2) your program do not follow the redirect associated to the uiuc server which change web adress recently
3) a temporary problem.

In all cases, the solution is to retry (possibly multiple times). If you are in the second case, as soon as the code try to use the UIUC mirror it will crash. But since it randomly choose the mirror, it should work 50% of the times.

Cheers,

Olivier

Revision history for this message
S N BANERJEE (sudeep) said :
#3

Dear Sir,

Thanks for the response. I have downloaded all the related packages from its own website. Have I made any mistake? Is it possible to check the md5sum of the package, if there is anomaly?

1) I think we have Internet connection
reynolds@reynolds-CELSIUS-R920:$ ping launchpad.net
PING launchpad.net (91.189.89.222) 56(84) bytes of data.
64 bytes from launchpad-net.nutmeg.canonical.com (91.189.89.222): icmp_seq=1 ttl=43 time=174 ms
64 bytes from launchpad-net.nutmeg.canonical.com (91.189.89.222): icmp_seq=2 ttl=43 time=174 ms
64 bytes from launchpad-net.nutmeg.canonical.com (91.189.89.222): icmp_seq=3 ttl=43 time=172 ms
64 bytes from launchpad-net.nutmeg.canonical.com (91.189.89.222): icmp_seq=4 ttl=43 time=175 ms
^C
--- launchpad.net ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3003ms
rtt min/avg/max/mdev = 172.512/174.255/175.562/1.100 ms

2) Sorry but I could you not understand this point. Do I need make any explicit changes in the /etc/resolv.conf file for DNS ot the apt-get central repository to capture the new location for your UUIC server?

3) I am trying multiple times but getting same error. This same error I have got in CentOS-6.5 and now here in Ubuntu-14.04

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

Hi,

> I have downloaded all the related packages from
> its own website.

If you type install, the code will get all the package from the web.
If you downloaded such package then you can install them by hand.

> 2) Sorry but I could you not understand this point. Do I need make any
> explicit changes in the /etc/resolv.conf file for DNS ot the apt-get
> central repository to capture the new location for your UUIC server?

This is an internet protocol that might (or not) be supported by your version of python.
(the fact that the web address that you try to access return an permanent redirection error)
Most of the system, simply redirect trough the new web-dress but some do not.

This is quite deep in your system, since in this case, this depend of the library linked at the time of installation of python.
So in principle you need to update the library and then re-install python. I would not advise you to do such thing.

One easier solution is to use 2.5.0.beta where the address to the UIUC server is the up-to-date one.

> 3) I am trying multiple times but getting same error. This same error I
> have got in CentOS-6.5 and now here in Ubuntu-14.04

If the point 2 is the correct one, then you should have been unlucky since it should work 50% of the time.

Cheers,

Olivier

> On Oct 31, 2016, at 10:14, S N BANERJEE <email address hidden> wrote:
>
> Question #403657 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/403657
>
> Status: Answered => Open
>
> S N BANERJEE is still having a problem:
> Dear Sir,
>
> Thanks for the response. I have downloaded all the related packages from
> its own website. Have I made any mistake? Is it possible to check the
> md5sum of the package, if there is anomaly?
>
> 1) I think we have Internet connection
> reynolds@reynolds-CELSIUS-R920:$ ping launchpad.net
> PING launchpad.net (91.189.89.222) 56(84) bytes of data.
> 64 bytes from launchpad-net.nutmeg.canonical.com (91.189.89.222): icmp_seq=1 ttl=43 time=174 ms
> 64 bytes from launchpad-net.nutmeg.canonical.com (91.189.89.222): icmp_seq=2 ttl=43 time=174 ms
> 64 bytes from launchpad-net.nutmeg.canonical.com (91.189.89.222): icmp_seq=3 ttl=43 time=172 ms
> 64 bytes from launchpad-net.nutmeg.canonical.com (91.189.89.222): icmp_seq=4 ttl=43 time=175 ms
> ^C
> --- launchpad.net ping statistics ---
> 4 packets transmitted, 4 received, 0% packet loss, time 3003ms
> rtt min/avg/max/mdev = 172.512/174.255/175.562/1.100 ms
>
> 2) Sorry but I could you not understand this point. Do I need make any
> explicit changes in the /etc/resolv.conf file for DNS ot the apt-get
> central repository to capture the new location for your UUIC server?
>
> 3) I am trying multiple times but getting same error. This same error I
> have got in CentOS-6.5 and now here in Ubuntu-14.04
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
S N BANERJEE (sudeep) said :
#5

Dear Sir,

I used the beta version, but looks like it is giving the same old error. I am now confused and seems to make a silly mistake which I am unable to find out yet. Providing below the output of MG5_debug file and error report.

Error report
====================
MG5_aMC>install MadAnalysis
   You are installing 'MadAnalysis', please cite ref(s): arXiv:1206.1599.
Command "install MadAnalysis" interrupted with error:
IndexError : list index out of range
Please report this bug on https://bugs.launchpad.net/mg5amcnlo
More information is found in 'MG5_debug'.
Please attach this file to your report.
MG5_aMC>exit

MG5_debug
======================
reynolds@reynolds-CELSIUS-R920:/opt/baradwaj_grp/satendrak/MadGraph/MG5_aMC_v2_5_0_beta2$ more MG5_debug
#************************************************************
#* MadGraph5_aMC@NLO *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 2.5.0.beta2 2016-09-13 *
#* *
#* 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~
install MadAnalysis
Traceback (most recent call last):
  File "/opt/baradwaj_grp/satendrak/MadGraph/MG5_aMC_v2_5_0_beta2/madgraph/interface/extended_cmd.py", line 1393, in onecmd
    return self.onecmd_orig(line, **opt)
  File "/opt/baradwaj_grp/satendrak/MadGraph/MG5_aMC_v2_5_0_beta2/madgraph/interface/extended_cmd.py", line 1348, in onecmd_orig
    return func(arg, **opt)
  File "/opt/baradwaj_grp/satendrak/MadGraph/MG5_aMC_v2_5_0_beta2/madgraph/interface/master_interface.py", line 461, in do_install
    self.cmd.do_install(self, *args, **opts)
  File "/opt/baradwaj_grp/satendrak/MadGraph/MG5_aMC_v2_5_0_beta2/madgraph/interface/madgraph_interface.py", line 5719, in do_install
    path[split[0]] = split[1]
IndexError: list index out of range
                          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 : 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
               delphes_path : ./Delphes
                 eps_viewer : None
        exrootanalysis_path : ./ExRootAnalysis
              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 : ./MadAnalysis
  mg5amc_py8_interface_path : None (user set)
                      ninja : ./HEPTools/lib
        output_dependencies : external
                      pjfry : None (user set)
            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
reynolds@reynolds-CELSIUS-R920:/opt/baradwaj_grp/satendrak/MadGraph/MG5_aMC_v2_5_0_beta2$

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

Ok thanks,

Indeed the path in the code was still the old one. I thought that I changed that one but looks like not.

you can apply the following change to fix the problem:

=== modified file 'madgraph/interface/madgraph_interface.py'
--- madgraph/interface/madgraph_interface.py 2016-10-24 12:21:59 +0000
+++ madgraph/interface/madgraph_interface.py 2016-11-01 10:52:45 +0000
@@ -5692,7 +5692,7 @@
             path = {}

             data_path = ['http://madgraph.phys.ucl.ac.be/package_info.dat',
- 'http://madgraph.hep.uiuc.edu/package_info.dat']
+ 'http://madgraph.physics.illinois.edu/package_info.dat']

             r = random.randint(0,1)
             r = [r, (1-r)]

Cheers,

Olivier

> On Nov 1, 2016, at 04:18, S N BANERJEE <email address hidden> wrote:
>
> Question #403657 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/403657
>
> Status: Answered => Open
>
> S N BANERJEE is still having a problem:
> Dear Sir,
>
> I used the beta version, but looks like it is giving the same old error.
> I am now confused and seems to make a silly mistake which I am unable to
> find out yet. Providing below the output of MG5_debug file and error
> report.
>
> Error report
> ====================
> MG5_aMC>install MadAnalysis
> You are installing 'MadAnalysis', please cite ref(s): arXiv:1206.1599.
> Command "install MadAnalysis" interrupted with error:
> IndexError : list index out of range
> Please report this bug on https://bugs.launchpad.net/mg5amcnlo
> More information is found in 'MG5_debug'.
> Please attach this file to your report.
> MG5_aMC>exit
>
>
> MG5_debug
> ======================
> reynolds@reynolds-CELSIUS-R920:/opt/baradwaj_grp/satendrak/MadGraph/MG5_aMC_v2_5_0_beta2$ more MG5_debug
> #************************************************************
> #* MadGraph5_aMC@NLO *
> #* *
> #* * * *
> #* * * * * *
> #* * * * * 5 * * * * *
> #* * * * * *
> #* * * *
> #* *
> #* *
> #* VERSION 2.5.0.beta2 2016-09-13 *
> #* *
> #* 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~
> install MadAnalysis
> Traceback (most recent call last):
> File "/opt/baradwaj_grp/satendrak/MadGraph/MG5_aMC_v2_5_0_beta2/madgraph/interface/extended_cmd.py", line 1393, in onecmd
> return self.onecmd_orig(line, **opt)
> File "/opt/baradwaj_grp/satendrak/MadGraph/MG5_aMC_v2_5_0_beta2/madgraph/interface/extended_cmd.py", line 1348, in onecmd_orig
> return func(arg, **opt)
> File "/opt/baradwaj_grp/satendrak/MadGraph/MG5_aMC_v2_5_0_beta2/madgraph/interface/master_interface.py", line 461, in do_install
> self.cmd.do_install(self, *args, **opts)
> File "/opt/baradwaj_grp/satendrak/MadGraph/MG5_aMC_v2_5_0_beta2/madgraph/interface/madgraph_interface.py", line 5719, in do_install
> path[split[0]] = split[1]
> IndexError: list index out of range
> 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 : 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
> delphes_path : ./Delphes
> eps_viewer : None
> exrootanalysis_path : ./ExRootAnalysis
> 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 : ./MadAnalysis
> mg5amc_py8_interface_path : None (user set)
> ninja : ./HEPTools/lib
> output_dependencies : external
> pjfry : None (user set)
> 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
> reynolds@reynolds-CELSIUS-R920:/opt/baradwaj_grp/satendrak/MadGraph/MG5_aMC_v2_5_0_beta2$
>
> --
> 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 S N BANERJEE for more information if necessary.

To post a message you must log in.