Running mg5_amc@NLO with pythia
Hi! I am trying to simulate the process
generate p p > b b~ [QCD]
When trying to launch it using the hadronization option pythia8, with the default options in run_card, I get empty .hempc file. This does not happen if launching the process p p > b b~.
From the logs that I include below, it follows the following error:
PYTHIA Error in LHAPDF::init: libpythia8lhapd
However, I have previously successfully installed lhapdf6 inside madgraph.
Could you please tell me what may be a problem?
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Andrew McAdams
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Below, there is some additional info:
mcatnlo.log
USING PYTHIA 8, version >= 8.200
g++ -O -I/home/
-I/home/
-L/home/
-I/home/
***** Now ready for showering 10000 events with PYTHIA8
Revision history for this message
|
#2 |
From terminal:
INFO: *******
* *
* W E L C O M E to M A D G R A P H 5 *
* a M C @ N L O *
* *
* * * *
* * * * * *
* * * * * 5 * * * * *
* * * * * *
* * * *
* *
* VERSION 2.9.3 2021-03-25 *
* *
* The MadGraph5_aMC@NLO Development Team - Find us at *
* http://
* *
* Type 'help' for in-line help. *
* *
*******
INFO: load configuration from /home/name/
INFO: load configuration from /home/name/
INFO: load configuration from /home/name/
Using default text editor "vi". Set another one in ./input/
launch auto
The following switches determine which programs are run:
/======
1. Type of perturbative computation order = NLO
2. No MC@[N]LO matching / event generation fixed_order = OFF
3. Shower the generated events shower = PYTHIA6Q
4. Decay onshell particles madspin = OFF
5. Add weights to events for new hypp. reweight = OFF
6. Run MadAnalysis5 on the events generated madanalysis = Not Avail.
\======
Either type the switch number (1 to 6) to change its setting,
Set any switch explicitly (e.g. type 'order=LO' at the prompt)
Type 'help' for the list of all valid option
Type '0', 'auto', 'done' or just press enter when you are done.[60s to answer]
>3
The following switches determine which programs are run:
/======
1. Type of perturbative computation order = NLO
2. No MC@[N]LO matching / event generation fixed_order = OFF
3. Shower the generated events shower = PYTHIA6PT
4. Decay onshell particles madspin = OFF
5. Add weights to events for new hypp. reweight = OFF
6. Run MadAnalysis5 on the events generated madanalysis = Not Avail.
\======
Either type the switch number (1 to 6) to change its setting,
Set any switch explicitly (e.g. type 'order=LO' at the prompt)
Type 'help' for the list of all valid option
Type '0', 'auto', 'done' or just press enter when you are done.
>3
The following switches determine which programs are run:
/======
1. Type of perturbative computation order = NLO
2. No MC@[N]LO matching / event generation fixed_order = OFF
3. Shower the generated events shower = PYTHIA8
4. Decay onshell particles madspin = OFF
5. Add weights to events for new hypp. reweight = OFF
6. Run MadAnalysis5 on the events generated madanalysis = Not Avail.
\======
Either type the switch number (1 to 6) to change its setting,
Set any switch explicitly (e.g. type 'order=LO' at the prompt)
Type 'help' for the list of all valid option
Type '0', 'auto', 'done' or just press enter when you are done.
>0
INFO: will run in mode: aMC@NLO
INFO: modify parameter parton_shower of the run_card.dat to PYTHIA8
Do you want to edit a card (press enter to bypass editing)?
/------
| 1. param : param_card.dat |
| 2. run : run_card.dat |
| 3. shower : shower_card.dat |
\------
you can also
- enter the path to a valid card or banner.
- use the 'set' command to modify a parameter directly.
The set option works only for param_card and run_card.
Type 'help set' for more information on this command.
- call an external program (ASperGE/
Type 'help' for the list of available command
[0, done, 1, param, 2, run, 3, shower, enter path][90s to answer]
>0
INFO: modify parameter extrapaths of the shower_card.dat to ../lib /home/name/
INFO: Update the dependent parameter of the param_card.dat
INFO: Starting run
INFO: Compiling the code
INFO: Using built-in libraries for PDFs
INFO: Compiling source...
INFO: ...done, continuing with P* directories
INFO: Compiling directories...
INFO: Compiling on 16 cores
INFO: Compiling P0_gg_bbx...
INFO: Compiling P0_uux_bbx...
INFO: Compiling P0_uxu_bbx...
INFO: P0_uxu_bbx done.
INFO: P0_uux_bbx done.
INFO: P0_gg_bbx done.
INFO: Checking test output:
INFO: P0_gg_bbx
INFO: Result for test_ME:
INFO: Passed.
INFO: Result for test_MC:
INFO: Passed.
INFO: Result for check_poles:
INFO: Poles successfully cancel for 20 points over 20 (tolerance=1.0e-05)
INFO: P0_uux_bbx
INFO: Result for test_ME:
INFO: Passed.
INFO: Result for test_MC:
INFO: Passed.
INFO: Result for check_poles:
INFO: Poles successfully cancel for 20 points over 20 (tolerance=1.0e-05)
INFO: P0_uxu_bbx
INFO: Result for test_ME:
INFO: Passed.
INFO: Result for test_MC:
INFO: Passed.
INFO: Result for check_poles:
INFO: Poles successfully cancel for 20 points over 20 (tolerance=1.0e-05)
INFO: Starting run
INFO: Using 16 cores
INFO: Cleaning previous results
INFO: Doing NLO matched to parton shower
INFO: Setting up grids
INFO: Idle: 0, Running: 5, Completed: 0 [ current time: 13h46 ]
INFO: Idle: 0, Running: 4, Completed: 1 [ current time: 13h46 ]
INFO: Idle: 0, Running: 3, Completed: 2 [ 0.034s ]
INFO: Idle: 0, Running: 2, Completed: 3 [ 1.1s ]
INFO: Idle: 0, Running: 1, Completed: 4 [ 1.1s ]
INFO: Idle: 0, Running: 0, Completed: 5 [ 5s ]
sum of cpu time of last step: 0 second
INFO: Determining the number of unweighted events per channel
Intermediate results:
Random seed: 38
Total cross section: 3.849e+08 +- 1.1e+07 pb
Total abs(cross section): 8.224e+08 +- 1.2e+07 pb
INFO: Computing upper envelope
INFO: Idle: 0, Running: 5, Completed: 0 [ current time: 13h46 ]
INFO: Idle: 0, Running: 4, Completed: 1 [ 0.66s ]
INFO: Idle: 0, Running: 3, Completed: 2 [ 0.74s ]
INFO: Idle: 0, Running: 2, Completed: 3 [ 2s ]
INFO: Idle: 0, Running: 1, Completed: 4 [ 2.1s ]
INFO: Idle: 0, Running: 0, Completed: 5 [ 4.8s ]
sum of cpu time of last step: 0 second
INFO: Updating the number of unweighted events per channel
Intermediate results:
Random seed: 38
Total cross section: 3.741e+08 +- 6.7e+06 pb
Total abs(cross section): 8.664e+08 +- 7.0e+06 pb
INFO: Generating events
INFO: Idle: 0, Running: 3, Completed: 2 [ current time: 13h46 ]
INFO: Idle: 0, Running: 2, Completed: 3 [ 0.35s ]
INFO: Idle: 0, Running: 1, Completed: 4 [ 7.1s ]
INFO: Idle: 0, Running: 0, Completed: 5 [ 9.2s ]
sum of cpu time of last step: 0 second
INFO: Doing reweight
INFO: Idle: 0, Running: 2, Completed: 3 [ current time: 13h47 ]
INFO: Idle: 0, Running: 1, Completed: 4 [ 0.61s ]
INFO: Idle: 0, Running: 0, Completed: 5 [ 0.65s ]
INFO: Collecting events
INFO:
----
Summary:
Process p p > b b~ [QCD]
Run at p-p collider (6500.0 + 6500.0 GeV)
Number of events generated: 10000
Total cross section: 3.741e+08 +- 6.7e+06 pb
----
Scale variation (computed from LHE events):
----
INFO: The /home/name/
INFO: Events generated
reweight -from_cards
decay_events -from_cards
INFO: Preparing MCatNLO run
INFO: Using LHAPDF v6.3.0 interface for PDFs
INFO: Compiling MCatNLO for PYTHIA8...
INFO: ... done
INFO: Showering events...
INFO: (Running in /home/name/
INFO: Idle: 1, Running: 0, Completed: 0 [ current time: 13h47 ]
INFO: Idle: 0, Running: 0, Completed: 1 [ 0.29s ]
INFO: Idle: 0, Running: 0, Completed: 0 [ current time: 13h47 ]
INFO: The file /home/name/
It contains showered and hadronized events in the HEPMC format obtained showering the parton-level event file /home/name/
INFO: Run complete
INFO:
quit
INFO:
Revision history for this message
|
#3 |
File mcatnlo_run.log from folder RUN_PYTHIA8_1
PYTHIA Info from SLHAinterface:
PYTHIA Warning in SLHAinterface:
PYTHIA Info from SLHAinterface:
PYTHIA Warning in SLHAinterface:
PYTHIA Warning in SLHAinterface:
PYTHIA Warning in SLHAinterface:
PYTHIA Error in LHAPDF::init: libpythia8lhapd
PYTHIA Error in Pythia::init: could not set up PDF for beam A
PYTHIA Abort from Pythia::init: PDF initialization failed
PYTHIA Abort from Pythia::next: not properly initialized so cannot generate events
*------- PYTHIA Event and Cross Section Statistics -------
| |
| Subprocess Code | Number of events | sigma +- delta |
| | Tried Selected Accepted | (estimated) (mb) |
| | | |
|-----
| | | |
| | | |
| sum | 0 0 0 | 0.000e+00 0.000e+00 |
| |
*------- End PYTHIA Event and Cross Section Statistics -------
*------- PYTHIA Error and Warning Messages Statistics -------
| |
| times message |
| |
| 1 Abort from Pythia::init: PDF initialization failed |
| 10 Abort from Pythia::next: not properly initialized so cannot generate events |
| 1 Error in LHAPDF::init: libpythia8lhapd
| 1 Error in Pythia::init: could not set up PDF for beam A |
| 1 Info from SLHAinterface:
| 1 Info from SLHAinterface:
| 1 Warning in SLHAinterface:
| 1 Warning in SLHAinterface:
| 1 Warning in SLHAinterface:
| 1 Warning in SLHAinterface:
| |
*------- End PYTHIA Error and Warning Messages Statistics -------
Revision history for this message
|
#4 |
Hi,
I do not have any clue, this sounds an installation issue with pythia8 and the only suggestion that I can give is to contact Pythia8 authors.
Cheers,
Olivier
Revision history for this message
|
#5 |
An update: the problem has been solved. I have had to reinstall pythia, as lhapdf6 has been installed after the initial pythia installation.