Comment 3 for bug 1657615

Revision history for this message
Zachary Marshall (zach-marshall) wrote :

Hi Olivier (and Valentin),

Sorry, we just hit this again with an LO setup that wasn't trying to install any dependencies:

Traceback (most recent call last):
  File "/afs/cern.ch/sw/lcg/external/MCGenerators_lcgcmt67c/madgraph5amc/2.5.2.atlas/x86_64-slc6-gcc47-opt/bin/mg5_aMC", line 141, in <module>
    cmd_line = interface.MasterCmd(mgme_dir = options.mgme_dir)
  File "/afs/cern.ch/sw/lcg/external/MCGenerators_lcgcmt67c/madgraph5amc/2.5.2.atlas/x86_64-slc6-gcc47-opt/madgraph/interface/master_interface.py", line 588, in __init__
    self.cmd.__init__(self, *args, **opt)
  File "/afs/cern.ch/sw/lcg/external/MCGenerators_lcgcmt67c/madgraph5amc/2.5.2.atlas/x86_64-slc6-gcc47-opt/madgraph/interface/madgraph_interface.py", line 2872, in __init__
    shutil.copy(make_opts_source, make_opts)
  File "/afs/cern.ch/sw/lcg/external/Python/2.7.3/x86_64-slc6-gcc47-opt/lib/python2.7/shutil.py", line 117, in copy
    copyfile(src, dst)
  File "/afs/cern.ch/sw/lcg/external/Python/2.7.3/x86_64-slc6-gcc47-opt/lib/python2.7/shutil.py", line 83, in copyfile
    with open(dst, 'wb') as fdst:
IOError: [Errno 13] Permission denied: '/afs/cern.ch/sw/lcg/external/MCGenerators_lcgcmt67c/madgraph5amc/2.5.2.atlas/x86_64-slc6-gcc47-opt/Template/LO/Source/make_opts'

The problem is worse in MadGraph 2.5.2, where literally launching the executable on lxplus causes this crash. You can try yourself at CERN if you would like:

/afs/cern.ch/sw/lcg/external/MCGenerators_lcgcmt67c/madgraph5amc/2.5.2.atlas/x86_64-slc6-gcc47-opt/bin/mg5_aMC

Thanks,
Zach