Hi,
our LHAPDFsets and pdfsets.index are in a non-standard location and we usually tell MG5_aMC to look in the right place by setting LHAPDF_DATA_PATH appropriately, which works fine.
However, when doing NLO-accurate reweighting, it seems the reweighting module tries to access pdfsets.index at a different place (I think at $LHAPATH/pdfsets.index).
Is this behaviour desired? I would have hoped it also looks at LHAPDF_DATA_PATH (first).
Maybe I am just confused regarding the meaning of LHAPATH and LHAPDF_DATA_PATH.
Cheers,
Hannes
---
reweight run_01 -from_cards
Traceback (most recent call last):
File "/scratch/mildner/MGtests/reweightNLO/run/PROCNLO_loop_sm_0/bin/internal/extended_cmd.py", line 1514, in onecmd
return self.onecmd_orig(line, **opt)
File "/scratch/mildner/MGtests/reweightNLO/run/PROCNLO_loop_sm_0/bin/internal/extended_cmd.py", line 1463, in onecmd_orig
return func(arg, **opt)
File "/scratch/mildner/MGtests/reweightNLO/run/PROCNLO_loop_sm_0/bin/internal/common_run_interface.py", line 2142, in do_reweight
reweight_cmd.import_command_file(path)
File "/cvmfs/sft.cern.ch/lcg/releases/MCGenerators/madgraph5amc/2.6.5.atlas3-ba1c8/x86_64-slc6-gcc49-opt/madgraph/interface/extended_cmd.py", line 1660
, in import_command_file
self.exec_cmd(line, precmd=True)
File "/cvmfs/sft.cern.ch/lcg/releases/MCGenerators/madgraph5amc/2.6.5.atlas3-ba1c8/x86_64-slc6-gcc49-opt/madgraph/interface/extended_cmd.py", line 1543
, in exec_cmd
stop = Cmd.onecmd_orig(current_interface, line, **opt)
File "/cvmfs/sft.cern.ch/lcg/releases/MCGenerators/madgraph5amc/2.6.5.atlas3-ba1c8/x86_64-slc6-gcc49-opt/madgraph/interface/extended_cmd.py", line 1463
, in onecmd_orig
return func(arg, **opt)
File "/cvmfs/sft.cern.ch/lcg/releases/MCGenerators/madgraph5amc/2.6.5.atlas3-ba1c8/x86_64-slc6-gcc49-opt/madgraph/interface/reweight_interface.py", lin
e 873, in do_set
return self.exec_cmd("launch")
File "/cvmfs/sft.cern.ch/lcg/releases/MCGenerators/madgraph5amc/2.6.5.atlas3-ba1c8/x86_64-slc6-gcc49-opt/madgraph/interface/extended_cmd.py", line 1543, in exec_cmd
stop = Cmd.onecmd_orig(current_interface, line, **opt)
File "/cvmfs/sft.cern.ch/lcg/releases/MCGenerators/madgraph5amc/2.6.5.atlas3-ba1c8/x86_64-slc6-gcc49-opt/madgraph/interface/extended_cmd.py", line 1463, in onecmd_orig
return func(arg, **opt)
File "/cvmfs/sft.cern.ch/lcg/releases/MCGenerators/madgraph5amc/2.6.5.atlas3-ba1c8/x86_64-slc6-gcc49-opt/madgraph/various/misc.py", line 100, in f_with_no_logger
out = f(self, *args, **opt)
File "/cvmfs/sft.cern.ch/lcg/releases/MCGenerators/madgraph5amc/2.6.5.atlas3-ba1c8/x86_64-slc6-gcc49-opt/madgraph/interface/reweight_interface.py", line 487, in do_launch
self.create_standalone_directory()
File "/cvmfs/sft.cern.ch/lcg/releases/MCGenerators/madgraph5amc/2.6.5.atlas3-ba1c8/x86_64-slc6-gcc49-opt/madgraph/various/misc.py", line 100, in f_with_no_logger
out = f(self, *args, **opt)
File "/cvmfs/sft.cern.ch/lcg/releases/MCGenerators/madgraph5amc/2.6.5.atlas3-ba1c8/x86_64-slc6-gcc49-opt/madgraph/interface/reweight_interface.py", line 1592, in create_standalone_directory
self.create_standalone_virt_directory(data, second)
File "/cvmfs/sft.cern.ch/lcg/releases/MCGenerators/madgraph5amc/2.6.5.atlas3-ba1c8/x86_64-slc6-gcc49-opt/madgraph/various/misc.py", line 100, in f_with_no_logger
out = f(self, *args, **opt)
File "/cvmfs/sft.cern.ch/lcg/releases/MCGenerators/madgraph5amc/2.6.5.atlas3-ba1c8/x86_64-slc6-gcc49-opt/madgraph/interface/reweight_interface.py", line 1441, in create_standalone_virt_directory
mgcmd.options['lhapdf'], None, self.banner.run_card.get_lhapdf_id())
File "/cvmfs/sft.cern.ch/lcg/releases/MCGenerators/madgraph5amc/2.6.5.atlas3-ba1c8/x86_64-slc6-gcc49-opt/madgraph/interface/common_run_interface.py", line 4137, in install_lhapdf_pdfset_static
pdf_info = CommonRunCmd.get_lhapdf_pdfsets_list_static(pdfsets_dir, lhapdf_version)
File "/cvmfs/sft.cern.ch/lcg/releases/MCGenerators/madgraph5amc/2.6.5.atlas3-ba1c8/x86_64-slc6-gcc49-opt/madgraph/interface/common_run_interface.py", line 4267, in get_lhapdf_pdfsets_list_static
[l for l in open(pjoin(pdfsets_dir, 'pdfsets.index')).read().split('\n') if l.strip()]
IOError: [Errno 2] No such file or directory: '/cvmfs/atlas.cern.ch/repo/sw/software/x86_64-slc6-gcc49-opt/20.7.9/sw/lcg/releases/LCG_81f/MCGenerators/lhapdf/6.1.5/x86_64-slc6-gcc49-opt/share/LHAPDF/pdfsets.index'