MadGraph freezes when creating matching plots
When using MadGraph 3.5.x on macOS Sonoma (14.3.1) with parton shower performed by Pythia8 using the built-in interface, MadGraph always freezes (with no significant CPU usage) and never terminates while creating the matching plots:
...
Pythia8 shower jobs: 0 Idle, 0 Running, 10 Done [24 seconds]
Merging results from the split PY8 runs...
INFO: Create matching plots for Pythia8
^Crm jobs on queue
INFO: Stop by the user
This happens for a variety of processes, models and parameters. A minimal example that produces the issue on my machine is:
>generate p p > j j
>add process p p > j j j
>launch
>shower=Pythia8
>done
>done
Looking at the output, the .lhe and .hepmc event files are successfully generated, as well as the .gnuplot files, the .HwU files, and a single .ps file (that contains a correct-looking plot after I manually convert it to PDF using ps2pdf).
> > ls -1 PROC_sm_
central_
central_
central_
central_
min_max_
min_max_
min_max_
min_max_
qCut_67.
qCut_67.
qCut_67.
qCut_67.
qCut_67.
qCut_90_
qCut_90_
qCut_90_
qCut_90_
I remember this same install working about a year ago, but both MadGraph and the OS have been updated in the meantime. I tried again with a clean install of MadGraph 3.5.3, with the exact same result.
Looking at how a single .ps file is present, and considering the removal of PostScript in macOS Sonoma, makes me suspect that this could be related to the issue.
I am running MadGraph within a virtual environment with Python 3.10.9 and the following packages installed:
> pip freeze
attrs==22.2.0
click==8.1.3
cycler==0.11.0
jsonpatch==1.32
jsonpointer==2.3
jsonschema==4.17.3
kiwisolver==1.4.4
lxml==4.9.2
matplotlib==3.2.2
numpy==1.24.2
pyhf==0.6.3
pyparsing==3.0.9
pyrsistent==0.19.3
python-
PyYAML==6.0
scipy==1.10.1
six==1.16.0
tqdm==4.64.1
gnuplot, ps and ps2pdf are all in the PATH.
Do you know how to fix or work around this issue? Feel free to request any additional information or tests.
Thanks!
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Olivier Mattelaer
- Solved:
- Last query:
- Last reply: