when runnig putia8 hestogram xml file not found. it is empty

Bug #1936427 reported by Baker
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MadGraph5_aMC@NLO
New
Undecided
Unassigned

Bug Description

#************************************************************
#* MadGraph5_aMC@NLO/MadEvent *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 3.1.1 20xx-xx-xx *
#* *
#* 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 *
#* *
#************************************************************
help
generate_events
Traceback (most recent call last):
  File "/home/baker/physics/MG5_aMC_v3_1_1/bin/MY_SECOND_RUN/bin/internal/extended_cmd.py", line 1544, in onecmd
    return self.onecmd_orig(line, **opt)
  File "/home/baker/physics/MG5_aMC_v3_1_1/bin/MY_SECOND_RUN/bin/internal/extended_cmd.py", line 1493, in onecmd_orig
    return func(arg, **opt)
  File "/home/baker/physics/MG5_aMC_v3_1_1/bin/MY_SECOND_RUN/bin/internal/madevent_interface.py", line 2474, in do_generate_events
    self.run_generate_events(switch_mode, args)
  File "/home/baker/physics/MG5_aMC_v3_1_1/bin/MY_SECOND_RUN/bin/internal/common_run_interface.py", line 7114, in new_fct
    original_fct(obj, *args, **opts)
  File "/home/baker/physics/MG5_aMC_v3_1_1/bin/MY_SECOND_RUN/bin/internal/madevent_interface.py", line 2584, in run_generate_events
    self.exec_cmd('shower --no_default', postcmd=False, printcmd=False)
  File "/home/baker/physics/MG5_aMC_v3_1_1/bin/MY_SECOND_RUN/bin/internal/extended_cmd.py", line 1573, in exec_cmd
    stop = Cmd.onecmd_orig(current_interface, line, **opt)
  File "/home/baker/physics/MG5_aMC_v3_1_1/bin/MY_SECOND_RUN/bin/internal/extended_cmd.py", line 1493, in onecmd_orig
    return func(arg, **opt)
  File "/home/baker/physics/MG5_aMC_v3_1_1/bin/MY_SECOND_RUN/bin/internal/madevent_interface.py", line 3915, in do_shower
    self.exec_cmd('%s %s'%(shower,' '.join(args)),
  File "/home/baker/physics/MG5_aMC_v3_1_1/bin/MY_SECOND_RUN/bin/internal/extended_cmd.py", line 1573, in exec_cmd
    stop = Cmd.onecmd_orig(current_interface, line, **opt)
  File "/home/baker/physics/MG5_aMC_v3_1_1/bin/MY_SECOND_RUN/bin/internal/extended_cmd.py", line 1493, in onecmd_orig
    return func(arg, **opt)
  File "/home/baker/physics/MG5_aMC_v3_1_1/bin/MY_SECOND_RUN/bin/internal/madevent_interface.py", line 4657, in do_pythia8
    new_djr_HwU = histograms.HwUList(djr_file,run_id=0)
  File "/home/baker/physics/MG5_aMC_v3_1_1/madgraph/various/histograms.py", line 1682, in __init__
    self.parse_histos_from_PY8_XML_stream(stream, run_id,
  File "/home/baker/physics/MG5_aMC_v3_1_1/madgraph/various/histograms.py", line 1798, in parse_histos_from_PY8_XML_stream
    raise MadGraph5Error("Histogram with run_id '%d' was not found in the "%run_id+\
madgraph.MadGraph5Error: Histogram with run_id '0' was not found in the specified XML source.

Revision history for this message
Baker (abdalhaq) wrote :
Revision history for this message
Olivier Mattelaer (olivier-mattelaer) wrote :

This means that you have multiple version of pythia8 in conflict, please check the duplicate bug that indicate you how to solve that issue.

Revision history for this message
Baker (abdalhaq) wrote : Re: [Bug 1936427] Re: when runnig putia8 hestogram xml file not found. it is empty
Download full text (5.3 KiB)

Thank you, But I do not use a cluster as stated in the old one. I may have
multi- installations of pythia8 but on e machine (multi-core). I use my
laptop.

On Fri, Jul 16, 2021 at 10:55 AM Olivier Mattelaer <
<email address hidden>> wrote:

> *** This bug is a duplicate of bug 1649725 ***
> https://bugs.launchpad.net/bugs/1649725
>
> This means that you have multiple version of pythia8 in conflict, please
> check the duplicate bug that indicate you how to solve that issue.
>
> ** This bug has been marked a duplicate of bug 1649725
> MadGraph5Error : Histogram with run_id '0' was not found in the
> specified XML source.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1936427
>
> Title:
> when runnig putia8 hestogram xml file not found. it is empty
>
> Status in MadGraph5_aMC@NLO:
> New
>
> Bug description:
> #************************************************************
> #* MadGraph5_aMC@NLO/MadEvent *
> #* *
> #* * * *
> #* * * * * *
> #* * * * * 5 * * * * *
> #* * * * * *
> #* * * *
> #* *
> #* *
> #* VERSION 3.1.1 20xx-xx-xx *
> #* *
> #* 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 *
> #* *
> #************************************************************
> help
> generate_events
> Traceback (most recent call last):
> File
> "/home/baker/physics/MG5_aMC_v3_1_1/bin/MY_SECOND_RUN/bin/internal/extended_cmd.py",
> line 1544, in onecmd
> return self.onecmd_orig(line, **opt)
> File
> "/home/baker/physics/MG5_aMC_v3_1_1/bin/MY_SECOND_RUN/bin/internal/extended_cmd.py",
> line 1493, in onecmd_orig
> return func(arg, **opt)
> File
> "/home/baker/physics/MG5_aMC_v3_1_1/bin/MY_SECOND_RUN/bin/internal/madevent_interface.py",
> line 2474, in do_generate_events
> self.run_generate_events(switch_mode, args)
> File
> "/home/baker/physics/MG5_aMC_v3_1_1/bin/MY_SECOND_RUN/bin/internal/common_run_interface.py",
> line 7114, in new_fct
> original_fct(obj, *args, **opts)
> File
> "/home/baker/physics/MG5_aMC_v3_1_1/bin/MY_SECOND_RUN/bin/internal/mad...

Read more...

Revision history for this message
Baker (abdalhaq) wrote :

I do not use a cluster. It is installed on my laptop.

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) wrote :

Can you check the pythia8 log file to see if you have the same message within that file?
If you do this is the same bug and the same method to fix it. The fact that you run on a laptop/desktop/cluster should be irrelevant here.

Cheers,

Olivier

Revision history for this message
Baker (abdalhaq) wrote :
Download full text (5.4 KiB)

I guess it is different

 PYTHIA Error: settings file /xmldoc/Index.xml not found
 PYTHIA Abort from Pythia::Pythia: settings unavailable
 PYTHIA Error in Settings::flag: unknown key JetMatching:merge
 PYTHIA Error in Settings::word: unknown key Merging:Process
---------

On Fri, Jul 16, 2021 at 11:00 PM Olivier Mattelaer <
<email address hidden>> wrote:

> *** This bug is a duplicate of bug 1649725 ***
> https://bugs.launchpad.net/bugs/1649725
>
> Can you check the pythia8 log file to see if you have the same message
> within that file?
> If you do this is the same bug and the same method to fix it. The fact
> that you run on a laptop/desktop/cluster should be irrelevant here.
>
> Cheers,
>
> Olivier
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1936427
>
> Title:
> when runnig putia8 hestogram xml file not found. it is empty
>
> Status in MadGraph5_aMC@NLO:
> New
>
> Bug description:
> #************************************************************
> #* MadGraph5_aMC@NLO/MadEvent *
> #* *
> #* * * *
> #* * * * * *
> #* * * * * 5 * * * * *
> #* * * * * *
> #* * * *
> #* *
> #* *
> #* VERSION 3.1.1 20xx-xx-xx *
> #* *
> #* 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 *
> #* *
> #************************************************************
> help
> generate_events
> Traceback (most recent call last):
> File
> "/home/baker/physics/MG5_aMC_v3_1_1/bin/MY_SECOND_RUN/bin/internal/extended_cmd.py",
> line 1544, in onecmd
> return self.onecmd_orig(line, **opt)
> File
> "/home/baker/physics/MG5_aMC_v3_1_1/bin/MY_SECOND_RUN/bin/internal/extended_cmd.py",
> line 1493, in onecmd_orig
> return func(arg, **opt)
> File
> "/home/baker/physics/MG5_aMC_v3_1_1/bin/MY_SECOND_RUN/bin/internal/madevent_interface.py",
> line 2474, in do_generate_events
> self.run_generate_events(switch_mode, args)
> File
> "/home/baker/physics/MG5_aMC_v3_1_1/bin/MY_SECOND_RUN/bin/internal/common_run_interface.py",
> line 7114, in new_fct
> original_fct(obj, *args, **opts)
...

Read more...

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) wrote :

Did you check the solution of the other bug. This still seems a duplicate to me.
You have to define the environment variable PYTHIA8DATA
to the correct one:
in the other thread they used this:
export PYTHIA8DATA=/afs/cern.ch/work/d/dpinna/couplingStudies/MG5_aMC_v2_5_5/HEPTools/pythia8/share/Pythia8/xmldoc/

This will not work for you obviously but should give you hint on how you have to setup that variable. If you need more help on that, I guess asking PYTHIA8 author might be more helpfull actually.

Cheers,

Olivier

Revision history for this message
Baker (abdalhaq) wrote :
Download full text (5.5 KiB)

Thank you very much. You are right. It is was the solution.

On Fri, Jul 16, 2021 at 11:50 PM Olivier Mattelaer <
<email address hidden>> wrote:

> *** This bug is a duplicate of bug 1649725 ***
> https://bugs.launchpad.net/bugs/1649725
>
> Did you check the solution of the other bug. This still seems a duplicate
> to me.
> You have to define the environment variable PYTHIA8DATA
> to the correct one:
> in the other thread they used this:
> export PYTHIA8DATA=/afs/
> cern.ch/work/d/dpinna/couplingStudies/MG5_aMC_v2_5_5/HEPTools/pythia8/share/Pythia8/xmldoc/
>
> This will not work for you obviously but should give you hint on how you
> have to setup that variable. If you need more help on that, I guess
> asking PYTHIA8 author might be more helpfull actually.
>
> Cheers,
>
> Olivier
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1936427
>
> Title:
> when runnig putia8 hestogram xml file not found. it is empty
>
> Status in MadGraph5_aMC@NLO:
> New
>
> Bug description:
> #************************************************************
> #* MadGraph5_aMC@NLO/MadEvent *
> #* *
> #* * * *
> #* * * * * *
> #* * * * * 5 * * * * *
> #* * * * * *
> #* * * *
> #* *
> #* *
> #* VERSION 3.1.1 20xx-xx-xx *
> #* *
> #* 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 *
> #* *
> #************************************************************
> help
> generate_events
> Traceback (most recent call last):
> File
> "/home/baker/physics/MG5_aMC_v3_1_1/bin/MY_SECOND_RUN/bin/internal/extended_cmd.py",
> line 1544, in onecmd
> return self.onecmd_orig(line, **opt)
> File
> "/home/baker/physics/MG5_aMC_v3_1_1/bin/MY_SECOND_RUN/bin/internal/extended_cmd.py",
> line 1493, in onecmd_orig
> return func(arg, **opt)
> File
> "/home/baker/physics/MG5_aMC_v3_1_1/bin/MY_SECOND_RUN/bin/internal/madevent_interface.py",
> line 2474, in do_generate_events
> self.run_generate_events(switch_mode, args)
> File
> "/home/baker/physics/MG5_aMC_v3_1_1/bin/MY_SECOND_RUN/bin/internal/common_run_in...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.