problem with LHAPDF6

Asked by Haneol Lee

Dear experts,

I'm trying to generate events using new PDF sets, so I installed LHAPDF 6.1.5 in the MG5_aMC_v2_2_2 directory.

./configure --prefix=/.../MG5_aMC_v2_2_2/
make
make install

Next, I downloaded NNPDF30_lo_as_0130_nf_4.tar.gz in /.../MG5_aMC_v2_2_2/share/LHAPDF and copied LHAPDF to lib/PDFsets.

Then I generated events (p p > e+ e-) and changed PDF in the run_card.dat

# PDF CHOICE: this automatically fixes also alpha_s and its evol. *
#*********************************************************************
 'lhapdf' = pdlabel ! PDF set
 263400 = lhaid ! if pdlabel=lhapdf, this is the lhapdf number

But I got an error message like this.

INFO: compile directory
Command "generate_events " interrupted with error:
OSError : [Errno 2] No such file or directory
Please report this bug on https://bugs.launchpad.net/madgraph5
More information is found in '/data1/Users/helee/MG5_aMC_v2_2_2/SMtest/run_01_tag_1_debug.log'.
Please attach this file to your report.
quit

And here is the log file.

generate_events
Traceback (most recent call last):
  File "/data1/Users/helee/MG5_aMC_v2_2_2/SMtest/bin/internal/extended_cmd.py", line 879, in onecmd
    return self.onecmd_orig(line, **opt)
  File "/data1/Users/helee/MG5_aMC_v2_2_2/SMtest/bin/internal/extended_cmd.py", line 872, in onecmd_orig
    return func(arg, **opt)
  File "/data1/Users/helee/MG5_aMC_v2_2_2/SMtest/bin/internal/madevent_interface.py", line 1923, in do_generate_events
    postcmd=False)
  File "/data1/Users/helee/MG5_aMC_v2_2_2/SMtest/bin/internal/extended_cmd.py", line 919, in exec_cmd
    stop = Cmd.onecmd_orig(current_interface, line, **opt)
  File "/data1/Users/helee/MG5_aMC_v2_2_2/SMtest/bin/internal/extended_cmd.py", line 872, in onecmd_orig
    return func(arg, **opt)
  File "/data1/Users/helee/MG5_aMC_v2_2_2/SMtest/bin/internal/madevent_interface.py", line 2293, in do_survey
    self.configure_directory()
  File "/data1/Users/helee/MG5_aMC_v2_2_2/SMtest/bin/internal/madevent_interface.py", line 3311, in configure_directory
    self.link_lhapdf(pjoin(self.me_dir,'lib'))
  File "/data1/Users/helee/MG5_aMC_v2_2_2/SMtest/bin/internal/common_run_interface.py", line 1892, in link_lhapdf
    lhapdf_version = self.get_lhapdf_version()
  File "/data1/Users/helee/MG5_aMC_v2_2_2/SMtest/bin/internal/common_run_interface.py", line 2050, in get_lhapdf_version
    stdout = subprocess.PIPE).stdout.read().strip()
  File "/usr/lib64/python2.6/subprocess.py", line 642, in __init__
    errread, errwrite)
  File "/usr/lib64/python2.6/subprocess.py", line 1234, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
                              Run Options
                              -----------
               stdout_level : None

                         MadEvent Options
                         ----------------
     automatic_html_opening : False (user set)
          cluster_temp_path : None
              cluster_queue : madgraph
             cluster_memory : None
               cluster_time : None
                    nb_core : 64 (user set)
                   run_mode : 2

                      Configuration Options
                      ---------------------
                text_editor : None
      cluster_status_update : (600, 30)
               pythia8_path : None (user set)
                  hwpp_path : None (user set)
            pythia-pgs_path : None (user set)
                    td_path : None (user set)
               delphes_path : None (user set)
                thepeg_path : None (user set)
               cluster_type : condor
        exrootanalysis_path : None (user set)
                 eps_viewer : None
                web_browser : None
               syscalc_path : None (user set)
           madanalysis_path : None (user set)
                     lhapdf : lhapdf-config
                 hepmc_path : None (user set)
         cluster_retry_wait : 300
           fortran_compiler : None
                auto_update : 7 (user set)
           cluster_nb_retry : 1
                    timeout : 60
               cpp_compiler : None

Since I don't know well how to install LHAPDF6 in MG5, please give me some comments.
Thanks in advance for your help.

Haneol

Question information

Language:
English Edit question
Status:
Solved
For:
MadGraph5_aMC@NLO Edit question
Assignee:
marco zaro Edit question
Solved by:
Haneol Lee
Solved:
Last query:
Last reply:
Revision history for this message
marco zaro (marco-zaro) said :
#1

Hi Haneol,
you need to specify the /path/to/lhapdf-config in the configuration file.
So please open the
Cards/me5_configuration.txt (not 100% sure on the name, though)
and set the
lhapdf variable to the absolute path to lhapdf-config (including lhapdf-config, which is in the bin/ folder of your lhapdf installation)

Let me know if this works.

Cheers,

Marco

Revision history for this message
Haneol Lee (haneol-lee) said :
#2

Hi Marco,

I tried it, but the same error occurs.

Also, I use SL6.

Thanks

Revision history for this message
marco zaro (marco-zaro) said :
#3

Hi,
can you try also editing the file
input/mg5configuration.txt in the MG5_aMC directory and set lhapdf also in there?

Many thanks,

M

Revision history for this message
Haneol Lee (haneol-lee) said :
#4

Hi,

I did it but the result is same.

Do you think there is any problem about the steps I followed for installation?

Haneol

Revision history for this message
marco zaro (marco-zaro) said :
#5

Hi,
when the crash occurs, what is the value of lhapdf in the log file?
Thanks,

Marco

Revision history for this message
Haneol Lee (haneol-lee) said :
#6

Hi,

The problem has been solved!

Thank you very much :-)

Haneol