Install update error

Asked by Charlie

Dear Olivier,

When I try to install update, it gives me the following error, and the same is for install maddm.

Command "install update " interrupted in sub-command:
"install update" with error:
OSError : [Errno 17] File exists: '/home/xianhui/hep-soft/MG5_aMC_v2_6_1/UPDATE_TMP'
Please report this bug on https://bugs.launchpad.net/mg5amcnlo
More information is found in 'MG5_debug'.
Please attach this file to your report.

and here is the MG5_debug file:

#************************************************************
#* 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~
install update
Traceback (most recent call last):
  File "/home/xianhui/hep-soft/MG5_aMC_v2_6_1/madgraph/interface/extended_cmd.py", line 1467, in onecmd
    return self.onecmd_orig(line, **opt)
  File "/home/xianhui/hep-soft/MG5_aMC_v2_6_1/madgraph/interface/extended_cmd.py", line 1421, in onecmd_orig
    return func(arg, **opt)
  File "/home/xianhui/hep-soft/MG5_aMC_v2_6_1/madgraph/interface/master_interface.py", line 464, in do_install
    self.cmd.do_install(self, *args, **opts)
  File "/home/xianhui/hep-soft/MG5_aMC_v2_6_1/madgraph/interface/madgraph_interface.py", line 5780, in do_install
    self.install_update(['update']+install_options['update_options'],wget=program)
  File "/home/xianhui/hep-soft/MG5_aMC_v2_6_1/madgraph/interface/madgraph_interface.py", line 6511, in install_update
    need_binary = apply_patch(filetext)
  File "/home/xianhui/hep-soft/MG5_aMC_v2_6_1/madgraph/interface/madgraph_interface.py", line 6234, in apply_patch
    shutil.copytree(pjoin(MG5DIR, orig), pjoin(MG5DIR, 'UPDATE_TMP'))
  File "/usr/lib/python2.7/shutil.py", line 177, in copytree
    os.makedirs(dst)
  File "/usr/lib/python2.7/os.py", line 157, in makedirs
    mkdir(name, mode)
OSError: [Errno 17] File exists: '/home/xianhui/hep-soft/MG5_aMC_v2_6_1/UPDATE_TMP'
Related File: /home/xianhui/hep-soft/MG5_aMC_v2_6_1/UPDATE_TMP
                          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 : 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 : /home/xianhui/hep-soft/MG5_aMC_v2_6_1/HEPTools/lib (user set)
               cpp_compiler : None
             crash_on_error : False
               delphes_path : ./Delphes
                 eps_viewer : /usr/bin/evince (user set)
        exrootanalysis_path : ./ExRootAnalysis
              f2py_compiler : None
                    fastjet : None (user set)
           fortran_compiler : None
                      golem : /home/xianhui/hep-soft/MG5_aMC_v2_6_1/golem95/lib (user set)
                 hepmc_path : None (user set)
                  hwpp_path : None (user set)
                     lhapdf : /home/xianhui/hep-soft/MG5_aMC_v2_6_1/HEPTools/lhapdf6/bin/lhapdf-config (user set)
          madanalysis5_path : /home/xianhui/hep-soft/MG5_aMC_v2_6_1/HEPTools/madanalysis5/madanalysis5 (user set)
           madanalysis_path : ./MadAnalysis
  mg5amc_py8_interface_path : /home/xianhui/hep-soft/MG5_aMC_v2_6_1/HEPTools/MG5aMC_PY8_interface (user set)
                      ninja : /home/xianhui/hep-soft/MG5_aMC_v2_6_1/HEPTools/lib (user set)
        output_dependencies : external
                      pjfry : None (user set)
            pythia-pgs_path : ./pythia-pgs
               pythia8_path : /home/xianhui/hep-soft/MG5_aMC_v2_6_1/HEPTools/pythia8 (user set)
                    samurai : None
               syscalc_path : /home/xianhui/hep-soft/MG5_aMC_v2_6_1/SysCalc (user set)
                    td_path : ./td
                text_editor : None
                thepeg_path : None (user set)
                    timeout : 60
                web_browser : None

 I wonder What's wrong there.

Best!
Charlie

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

Thanks,

Should be fixed now.

Cheers,

Olivier

> On 5 May 2018, at 02:41, Charlie <email address hidden> wrote:
>
> New question #668618 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/668618
>
> Dear Olivier,
>
> When I try to install update, it gives me the following error, and the same is for install maddm.
>
> Command "install update " interrupted in sub-command:
> "install update" with error:
> OSError : [Errno 17] File exists: '/home/xianhui/hep-soft/MG5_aMC_v2_6_1/UPDATE_TMP'
> Please report this bug on https://bugs.launchpad.net/mg5amcnlo
> More information is found in 'MG5_debug'.
> Please attach this file to your report.
>
> and here is the MG5_debug file:
>
>
> #************************************************************
> #* 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~
> install update
> Traceback (most recent call last):
> File "/home/xianhui/hep-soft/MG5_aMC_v2_6_1/madgraph/interface/extended_cmd.py", line 1467, in onecmd
> return self.onecmd_orig(line, **opt)
> File "/home/xianhui/hep-soft/MG5_aMC_v2_6_1/madgraph/interface/extended_cmd.py", line 1421, in onecmd_orig
> return func(arg, **opt)
> File "/home/xianhui/hep-soft/MG5_aMC_v2_6_1/madgraph/interface/master_interface.py", line 464, in do_install
> self.cmd.do_install(self, *args, **opts)
> File "/home/xianhui/hep-soft/MG5_aMC_v2_6_1/madgraph/interface/madgraph_interface.py", line 5780, in do_install
> self.install_update(['update']+install_options['update_options'],wget=program)
> File "/home/xianhui/hep-soft/MG5_aMC_v2_6_1/madgraph/interface/madgraph_interface.py", line 6511, in install_update
> need_binary = apply_patch(filetext)
> File "/home/xianhui/hep-soft/MG5_aMC_v2_6_1/madgraph/interface/madgraph_interface.py", line 6234, in apply_patch
> shutil.copytree(pjoin(MG5DIR, orig), pjoin(MG5DIR, 'UPDATE_TMP'))
> File "/usr/lib/python2.7/shutil.py", line 177, in copytree
> os.makedirs(dst)
> File "/usr/lib/python2.7/os.py", line 157, in makedirs
> mkdir(name, mode)
> OSError: [Errno 17] File exists: '/home/xianhui/hep-soft/MG5_aMC_v2_6_1/UPDATE_TMP'
> Related File: /home/xianhui/hep-soft/MG5_aMC_v2_6_1/UPDATE_TMP
> 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 : 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 : /home/xianhui/hep-soft/MG5_aMC_v2_6_1/HEPTools/lib (user set)
> cpp_compiler : None
> crash_on_error : False
> delphes_path : ./Delphes
> eps_viewer : /usr/bin/evince (user set)
> exrootanalysis_path : ./ExRootAnalysis
> f2py_compiler : None
> fastjet : None (user set)
> fortran_compiler : None
> golem : /home/xianhui/hep-soft/MG5_aMC_v2_6_1/golem95/lib (user set)
> hepmc_path : None (user set)
> hwpp_path : None (user set)
> lhapdf : /home/xianhui/hep-soft/MG5_aMC_v2_6_1/HEPTools/lhapdf6/bin/lhapdf-config (user set)
> madanalysis5_path : /home/xianhui/hep-soft/MG5_aMC_v2_6_1/HEPTools/madanalysis5/madanalysis5 (user set)
> madanalysis_path : ./MadAnalysis
> mg5amc_py8_interface_path : /home/xianhui/hep-soft/MG5_aMC_v2_6_1/HEPTools/MG5aMC_PY8_interface (user set)
> ninja : /home/xianhui/hep-soft/MG5_aMC_v2_6_1/HEPTools/lib (user set)
> output_dependencies : external
> pjfry : None (user set)
> pythia-pgs_path : ./pythia-pgs
> pythia8_path : /home/xianhui/hep-soft/MG5_aMC_v2_6_1/HEPTools/pythia8 (user set)
> samurai : None
> syscalc_path : /home/xianhui/hep-soft/MG5_aMC_v2_6_1/SysCalc (user set)
> td_path : ./td
> text_editor : None
> thepeg_path : None (user set)
> timeout : 60
> web_browser : None
>
> I wonder What's wrong there.
>
> Best!
> Charlie
>
>
> --
> 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 Charlie for more information if necessary.

To post a message you must log in.