Problems with installing pythia8 and Delphes

Asked by Shanding

I am using Windows10+Ubuntu+Madgraph5 V2_9_16 to install pythia8 and Delphes.

For pythia8, installation failed because of lhapdf6. Here is the report:

"MG5_aMC>install pythia8
   You are installing 'pythia8', please cite ref(s): arXiv:1410.3012.
Downloading the HEPToolInstaller at:
   http://madgraph.phys.ucl.ac.be//Downloads/HEPToolsInstaller/HEPToolsInstaller_V168.tar.gz
LHAPDF was not found. Do you want to install LHPADF6? (recommended) y/n >[y] [60s to answer]
>y
Now installing lhapdf6. Be patient...
Fetching data with command:
  wget --no-check-certificate https://lhapdf.hepforge.org/downloads/LHAPDF-6.3.0.tar.gz
--2023-08-25 12:25:45-- https://lhapdf.hepforge.org/downloads/LHAPDF-6.3.0.tar.gz
Resolving lhapdf.hepforge.org (lhapdf.hepforge.org)... 129.234.186.186
Connecting to lhapdf.hepforge.org (lhapdf.hepforge.org)|129.234.186.186|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: /downloads?f=/LHAPDF-6.3.0.tar.gz [following]
--2023-08-25 12:25:48-- https://lhapdf.hepforge.org/downloads?f=/LHAPDF-6.3.0.tar.gz
Reusing existing connection to lhapdf.hepforge.org:443.
HTTP request sent, awaiting response... 302 Found
Location: /downloads?f=LHAPDF-6.3.0.tar.gz [following]
--2023-08-25 12:25:48-- https://lhapdf.hepforge.org/downloads?f=LHAPDF-6.3.0.tar.gz
Reusing existing connection to lhapdf.hepforge.org:443.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-gzip]
Saving to: ‘LHAPDF-6.3.0.tar.gz’

LHAPDF-6.3.0.tar.gz [ <=> ] 752.68K 132KB/s in 5.7s

2023-08-25 12:25:54 (132 KB/s) - ‘LHAPDF-6.3.0.tar.gz’ saved [770744]

Installing tool 'lhapdf6'...
    > Follow the installation progress by running the command below in a separate terminal)
    > tail -f /mnt/hgfs/MG5_aMC_v2_9_16/HEPTools/lhapdf6_py3/lhapdf6_install.log
Traceback (most recent call last):
  File "/mnt/hgfs/MG5_aMC_v2_9_16/HEPTools/HEPToolsInstallers/HEPToolInstaller.py", line 1606, in <module>
    finalize_installation(target_tool)
  File "/mnt/hgfs/MG5_aMC_v2_9_16/HEPTools/HEPToolsInstallers/HEPToolInstaller.py", line 1272, in finalize_installation
    os.symlink(os.path.relpath(path,pjoin(_prefix,'bin')),
OSError: [Errno 95] Operation not supported: '../lhapdf6_py3/bin/lhapdf' -> '/mnt/hgfs/MG5_aMC_v2_9_16/HEPTools/bin/lhapdf'
Command "install pythia8" interrupted with error:
InvalidCmd : Installation of lhapdf6 failed."
----------------------------------------------------------------------------------------------------------------------------------------------------------------

For Delphes:

"MG5_aMC>install Delphes
   You are installing 'Delphes', please cite ref(s): arXiv:1307.6346.
Downloading http://cp3.irmp.ucl.ac.be/downloads/Delphes-3-current.tar.gz
--2023-08-25 12:26:26-- http://cp3.irmp.ucl.ac.be/downloads/Delphes-3-current.tar.gz
Resolving cp3.irmp.ucl.ac.be (cp3.irmp.ucl.ac.be)... 130.104.48.109
Connecting to cp3.irmp.ucl.ac.be (cp3.irmp.ucl.ac.be)|130.104.48.109|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5421664 (5.2M) [application/x-gzip]
Saving to: ‘Delphes.tgz’

Delphes.tgz 100%[===================>] 5.17M 35.8KB/s in 13m 44s

2023-08-25 12:40:12 (6.42 KB/s) - ‘Delphes.tgz’ saved [5421664/5421664]

tar: Delphes-3.5.0/DelphesHepMC: Cannot create symlink to ‘DelphesHepMC2’: Operation not supported
tar: Exiting with failure status due to previous errors
Error detected in "install Delphes"
write debug file MG5_debug
If you need help with this issue please contact us on https://answers.launchpad.net/mg5amcnlo
str : Fail to download correctly the File. Stop"

Could you please tell me what's wrong?Thanks.

Question information

Language:
English Edit question
Status:
Answered
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#1

So this is clearly an issue with your OS.
I have no clue why such action is not allowed. Maybe because you try to install the code on a windows filesystem and not an the ubuntu one (I have no clue about WSL/Windows so this might be a wrong guess).

What kind of filesystem is /mnt/hgfs ?

According to this: https://stackoverflow.com/questions/56609051/what-is-oserror-errno-95-operation-not-supported-for-pandas-to-csv-on-colab

This might even be a simpler problem... But this sounds a bit weird.

Can you help with this problem?

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

To post a message you must log in.