problem with Pythia8 inside the MG5 interface

Asked by Ilirjan Margjeka on 2018-10-01

Hi Olivier,

I have installed the latest version of Pythia8 in my MadGraph version MG5_aMC_v2_6_1 together with pythia-pgs and Delphes-3.4.1.
I am not able to run the Pythia8 inside MadGraph adn I always get this error:

Error detected in "generate_events run_01"
write debug file /home/ilir92/MG5_aMC_v2_6_1/work_area/pp_ttbar_H/run_01_tag_1_debug.log
If you need help with this issue please contact us on https://answers.launchpad.net/mg5amcnlo
MadGraph5Error : Histogram with run_id '0' was not found in the specified XML source.

Meanwhile in the run_01_tag_1_debug.log is:

#************************************************************
#* MadGraph5_aMC@NLO/MadEvent *
#* *
#* * * *
#* * * * * *
#* * * * * 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 MadEvent *
#* *
#* run as ./bin/madevent.py filename *
#* *
#************************************************************
generate_events run_01
Traceback (most recent call last):
  File "/home/ilir92/MG5_aMC_v2_6_1/madgraph/interface/extended_cmd.py", line 1467, in onecmd
    return self.onecmd_orig(line, **opt)
  File "/home/ilir92/MG5_aMC_v2_6_1/madgraph/interface/extended_cmd.py", line 1421, in onecmd_orig
    return func(arg, **opt)
  File "/home/ilir92/MG5_aMC_v2_6_1/madgraph/interface/madevent_interface.py", line 2562, in do_generate_events
    self.exec_cmd('shower --no_default', postcmd=False, printcmd=False)
  File "/home/ilir92/MG5_aMC_v2_6_1/madgraph/interface/extended_cmd.py", line 1494, in exec_cmd
    stop = Cmd.onecmd_orig(current_interface, line, **opt)
  File "/home/ilir92/MG5_aMC_v2_6_1/madgraph/interface/extended_cmd.py", line 1421, in onecmd_orig
return func(arg, **opt)
  File "/home/ilir92/MG5_aMC_v2_6_1/madgraph/interface/madevent_interface.py", line 4547, in do_pythia8
    new_djr_HwU = histograms.HwUList(djr_file,run_id=0)
  File "/home/ilir92/MG5_aMC_v2_6_1/madgraph/various/histograms.py", line 1651, in __init__
    raw_labels=raw_labels)
  File "/home/ilir92/MG5_aMC_v2_6_1/madgraph/various/histograms.py", line 1767, in parse_histos_from_PY8_XML_stream
    "specified XML source."
MadGraph5Error: Histogram with run_id '0' was not found in the specified XML source.
                              Run Options
                              -----------
               stdout_level : 20 (user set)

                         MadEvent Options
                         ----------------
     automatic_html_opening : False (user set)
        notification_center : True
          cluster_temp_path : None
             cluster_memory : None (user set)
               cluster_size : 100
              cluster_queue : None (user set)
                    nb_core : 2 (user set)
               cluster_time : 2 (user set)
                   run_mode : 2

                      Configuration Options
                      ---------------------
                text_editor : None
         cluster_local_path : None
     cluster_status_update : (600, 30)
               pythia8_path : /home/ilir92/MG5_aMC_v2_6_1/HEPTools/pythia8 (user set)
                  hwpp_path : None (user set)
            pythia-pgs_path : /home/ilir92/MG5_aMC_v2_6_1/pythia-pgs (user set)
                    td_path : None (user set)
               delphes_path : None (user set)
                thepeg_path : None (user set)
               cluster_type : condor
          madanalysis5_path : /home/ilir92/MG5_aMC_v2_6_1/HEPTools/madanalysis5/madanalysis5 (user set)
           cluster_nb_retry : 1
                 eps_viewer : None
                web_browser : None
               syscalc_path : None (user set)
           madanalysis_path : None (user set)
                     lhapdf : /home/ilir92/MG5_aMC_v2_6_1/HEPTools/lhapdf6/bin/lhapdf-config (user set)
              f2py_compiler : None
                 hepmc_path : None (user set)
        cluster_retry_wait : 300
           fortran_compiler : None
                auto_update : 7 (user set)
        exrootanalysis_path : /home/ilir92/MG5_aMC_v2_6_1/ExRootAnalysis (user set)
                    timeout : 60
               cpp_compiler : None

How can I solve this error?

Cheers
I.M.

Question information

Language:
English Edit question
Status:
Answered
For:
MadGraph5_aMC@NLO Edit question
Assignee:
Valentin Hirschi Edit question
Last query:
2018-10-01
Last reply:
2019-05-20
Ilirjan Margjeka (ilir92) said : #1

Hi there,

I re-insstalled Pythia8 inside MadGraph and I got these errors:

Error: main46 requires PROMC
Error: main48 requires EVTGEN and HEPMC2

Error: main71 requires FASTJET3
Error: main72 requires FASTJET3

Error: main74 requires FASTJET3
Error: main75 requires FASTJET3

Error: main81 requires FASTJET3 and HEPMC2
Error: main82 requires FASTJET3 and HEPMC2
Error: main83 requires FASTJET3 and HEPMC2
Error: main84 requires FASTJET3 and HEPMC2

Error: main91 requires ROOT
Error: main92 requires ROOT
Skipping Root dictionary
Skipping Root shared library

: No such file or directory
 #include "HepMC/IO_BaseClass.h"
                                ^
compilation terminated.
make: *** [main93] Error 1
 Finished PYTHIA8 installation

So, I have from the installation these problem. How to behave now? hot repair all of this?

Cheers!
I.M.

Anna Kropivnitskaya (kropiv) said : #2

Hello, I am installing Madgraph on CentOS and I have the same error above.
If there is any solution was found?

Anna Kropivnitskaya (kropiv) said : #3

Hello again,

I have found very interesting discussion here, which is related to pythia8 errors above:

https://bugs.launchpad.net/mg5amcnlo/+bug/1650664

It looks like that we just have to ignore these errors, because it is just problem in compilation of examples, but pythia itself is
installed successfully.
And it is true, code is working for me if I try generate anything.

It is really confusing to see a lot of errors in log file during pythia8 installation. Could authors just change error message in log file to something like this:

"Warning in example compilation ...."

It could help for people, who looks in log file, but not experts...

Best regards, Anna

In principle, the installation of examples are not done anymore (since last week)

Cheers,

Olivier

Can you help with this problem?

Provide an answer of your own, or ask Ilirjan Margjeka for more information if necessary.

To post a message you must log in.