i was installing pythia8 in mg5_aMC3.4 when I encountered this problem
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_V166.tar.gz
LHAPDF was not found. Do you want to install LHPADF6? (recommended) y/n >[y] [60s to answer]
>
use 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
--2022-04-15 00:16:15-- 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]
--2022-04-15 00:16:32-- 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]
--2022-04-15 00:16:32-- 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 10.0KB/s in 85s
2022-04-15 00:17:57 (8.88 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 /home/parallels/Downloads/MG5_aMC_v3.4.0.RC/MG5_aMC_v3_4_0_RC/HEPTools/lhapdf6_py3/lhapdf6_install.log
Successful installation of 'lhapdf6' in '/home/parallels/Downloads/MG5_aMC_v3.4.0.RC/MG5_aMC_v3_4_0_RC/HEPTools'.
lhapdf6 successfully installed in /home/parallels/Downloads/MG5_aMC_v3.4.0.RC/MG5_aMC_v3_4_0_RC/HEPTools.
save options lhapdf_py3
save configuration file to /home/parallels/Downloads/MG5_aMC_v3.4.0.RC/MG5_aMC_v3_4_0_RC/input/mg5_configuration.txt
Pythia8 will be linked to LHAPDF v6.
Now installing Pythia8. Be patient...
Detected 'pythia8' missing dependency: 'hepmc'. Will install it now.
Fetching data with command:
wget --no-check-certificate http://hepmc.web.cern.ch/hepmc/releases/hepmc2.06.09.tgz
--2022-04-15 00:19:06-- http://hepmc.web.cern.ch/hepmc/releases/hepmc2.06.09.tgz
Resolving hepmc.web.cern.ch (hepmc.web.cern.ch)... 188.184.101.152
Connecting to hepmc.web.cern.ch (hepmc.web.cern.ch)|188.184.101.152|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3802048 (3.6M) [application/x-tar]
Saving to: ‘hepmc2.06.09.tgz’
hepmc2.06.09.tgz 100%[===================>] 3.62M 564KB/s in 7.8s
2022-04-15 00:19:29 (473 KB/s) - ‘hepmc2.06.09.tgz’ saved [3802048/3802048]
Installing tool 'hepmc'...
> Follow the installation progress by running the command below in a separate terminal)
> tail -f /home/parallels/Downloads/MG5_aMC_v3.4.0.RC/MG5_aMC_v3_4_0_RC/HEPTools/hepmc/hepmc_install.log
> A problem occured during the installation of dependency 'hepmc'.
> Content of the installation log file '/home/parallels/Downloads/MG5_aMC_v3.4.0.RC/MG5_aMC_v3_4_0_RC/HEPTools/hepmc/hepmc_install.log':
Set environment variables
Unpack HEPMC
hepmc2.06.09/
hepmc2.06.09/.cvsignore
hepmc2.06.09/AUTHORS
hepmc2.06.09/CMakeLists.txt
hepmc2.06.09/COPYING
hepmc2.06.09/ChangeLog
hepmc2.06.09/HepMC/
hepmc2.06.09/HepMC/.cvsignore
hepmc2.06.09/HepMC/CMakeLists.txt
hepmc2.06.09/HepMC/CompareGenEvent.h
hepmc2.06.09/HepMC/Flow.h
hepmc2.06.09/HepMC/GenCrossSection.h
hepmc2.06.09/HepMC/GenEvent.h
hepmc2.06.09/HepMC/GenParticle.h
hepmc2.06.09/HepMC/GenRanges.h
hepmc2.06.09/HepMC/GenVertex.h
hepmc2.06.09/HepMC/HEPEVT_Wrapper.h
hepmc2.06.09/HepMC/HeavyIon.h
hepmc2.06.09/HepMC/HepMCDefs.h
hepmc2.06.09/HepMC/HerwigWrapper.h
hepmc2.06.09/HepMC/IO_AsciiParticles.h
hepmc2.06.09/HepMC/IO_BaseClass.h
hepmc2.06.09/HepMC/IO_Exception.h
hepmc2.06.09/HepMC/IO_GenEvent.h
hepmc2.06.09/HepMC/IO_HEPEVT.h
hepmc2.06.09/HepMC/IO_HERWIG.h
hepmc2.06.09/HepMC/IteratorRange.h
hepmc2.06.09/HepMC/Makefile.am
hepmc2.06.09/HepMC/PdfInfo.h
hepmc2.06.09/HepMC/Polarization.h
hepmc2.06.09/HepMC/PythiaWrapper.h
hepmc2.06.09/HepMC/PythiaWrapper6_4.h
hepmc2.06.09/HepMC/PythiaWrapper6_4_WIN32.h
hepmc2.06.09/HepMC/SearchVector.h
hepmc2.06.09/HepMC/SimpleVector.h
hepmc2.06.09/HepMC/SimpleVector.icc
hepmc2.06.09/HepMC/StreamHelpers.h
hepmc2.06.09/HepMC/StreamInfo.h
hepmc2.06.09/HepMC/TempParticleMap.h
hepmc2.06.09/HepMC/Units.h
hepmc2.06.09/HepMC/Version.h
hepmc2.06.09/HepMC/WeightContainer.h
hepmc2.06.09/HepMC/enable_if.h
hepmc2.06.09/HepMC/is_arithmetic.h
hepmc2.06.09/HepMC/defs.h.in
hepmc2.06.09/HepMC/Makefile.in
hepmc2.06.09/INSTALL
hepmc2.06.09/INSTALL.autoconf
hepmc2.06.09/INSTALL.cmake
hepmc2.06.09/Makefile.am
hepmc2.06.09/NEWS
hepmc2.06.09/README
hepmc2.06.09/ReadMe.cygwin
hepmc2.06.09/bootstrap
hepmc2.06.09/cmake/
hepmc2.06.09/cmake/Modules/
hepmc2.06.09/cmake/Modules/HepMCUseCpack.cmake
hepmc2.06.09/cmake/Modules/HepMCVariables.cmake
hepmc2.06.09/configure.ac
hepmc2.06.09/doc/
hepmc2.06.09/doc/.cvsignore
hepmc2.06.09/doc/CMakeLists.txt
hepmc2.06.09/doc/HepMC2_user_manual.tex
hepmc2.06.09/doc/HepMC_basic_properties.eps
hepmc2.06.09/doc/Makefile.am
hepmc2.06.09/doc/buildDoc.sh
hepmc2.06.09/doc/buildDoxygen.sh
hepmc2.06.09/doc/doxygen-template
hepmc2.06.09/doc/doxygen.conf
hepmc2.06.09/doc/graph_interpretation.eps
hepmc2.06.09/doc/html.sty
hepmc2.06.09/doc/physicist_visualization.eps
hepmc2.06.09/doc/Makefile.in
hepmc2.06.09/examples/
hepmc2.06.09/examples/.cvsignore
hepmc2.06.09/examples/CMakeLists.txt
hepmc2.06.09/examples/GNUmakefile.example.in
hepmc2.06.09/examples/Makefile.am
hepmc2.06.09/examples/VectorConversion.h
hepmc2.06.09/examples/example_BuildEventFromScratch.cc
hepmc2.06.09/examples/example_EventSelection.cc
hepmc2.06.09/examples/example_UsingIterators.cc
hepmc2.06.09/examples/example_UsingIterators.txt
hepmc2.06.09/examples/example_VectorConversion.cc
hepmc2.06.09/examples/fio/
hepmc2.06.09/examples/fio/CMakeLists.txt
hepmc2.06.09/examples/fio/GNUmakefile.example.in
hepmc2.06.09/examples/fio/Makefile.am
hepmc2.06.09/examples/fio/PythiaHelper.h
hepmc2.06.09/examples/fio/example_MyHerwig.cc
hepmc2.06.09/examples/fio/example_MyPythia.cc
hepmc2.06.09/examples/fio/example_MyPythiaOnlyToHepMC.cc
hepmc2.06.09/examples/fio/example_PythiaStreamIO.cc
hepmc2.06.09/examples/fio/initPythia.cc
hepmc2.06.09/examples/fio/initpydata.f
hepmc2.06.09/examples/fio/testHerwigCopies.cc
hepmc2.06.09/examples/fio/testPythiaCopies.cc
hepmc2.06.09/examples/fio/Makefile.in
hepmc2.06.09/examples/list_of_examples.cc
hepmc2.06.09/examples/pythia8/
hepmc2.06.09/examples/pythia8/CMakeLists.txt
hepmc2.06.09/examples/pythia8/GNUmakefile.example.in
hepmc2.06.09/examples/pythia8/Makefile.am
hepmc2.06.09/examples/pythia8/README
hepmc2.06.09/examples/pythia8/config.csh.in
hepmc2.06.09/examples/pythia8/config.sh.in
hepmc2.06.09/examples/pythia8/main31.cc
hepmc2.06.09/examples/pythia8/main32.cc
hepmc2.06.09/examples/pythia8/main32.cmnd
hepmc2.06.09/examples/pythia8/Makefile.in
hepmc2.06.09/examples/Makefile.in
hepmc2.06.09/fio/
hepmc2.06.09/fio/.cvsignore
hepmc2.06.09/fio/CMakeLists.txt
hepmc2.06.09/fio/HEPEVT_Wrapper.cc
hepmc2.06.09/fio/HerwigWrapper.cc
hepmc2.06.09/fio/IO_HEPEVT.cc
hepmc2.06.09/fio/IO_HERWIG.cc
hepmc2.06.09/fio/Makefile.am
hepmc2.06.09/fio/Makefile.in
hepmc2.06.09/src/
hepmc2.06.09/src/.cvsignore
hepmc2.06.09/src/CMakeLists.txt
hepmc2.06.09/src/CompareGenEvent.cc
hepmc2.06.09/src/Flow.cc
hepmc2.06.09/src/GenCrossSection.cc
hepmc2.06.09/src/GenEvent.cc
hepmc2.06.09/src/GenEventStreamIO.cc
hepmc2.06.09/src/GenParticle.cc
hepmc2.06.09/src/GenRanges.cc
hepmc2.06.09/src/GenVertex.cc
hepmc2.06.09/src/HeavyIon.cc
hepmc2.06.09/src/IO_AsciiParticles.cc
hepmc2.06.09/src/IO_GenEvent.cc
hepmc2.06.09/src/Makefile.am
hepmc2.06.09/src/PdfInfo.cc
hepmc2.06.09/src/Polarization.cc
hepmc2.06.09/src/SearchVector.cc
hepmc2.06.09/src/StreamHelpers.cc
hepmc2.06.09/src/StreamInfo.cc
hepmc2.06.09/src/Units.cc.in
hepmc2.06.09/src/WeightContainer.cc
hepmc2.06.09/src/filterEvent.cc
hepmc2.06.09/src/Makefile.in
hepmc2.06.09/test/
hepmc2.06.09/test/.cvsignore
hepmc2.06.09/test/CMakeLists.txt
hepmc2.06.09/test/IsGoodEvent.h
hepmc2.06.09/test/Makefile.am
hepmc2.06.09/test/list_of_examples.cc
hepmc2.06.09/test/testCrossSection.dat
hepmc2.06.09/test/testCrossSection.output
hepmc2.06.09/test/testFlow.cc
hepmc2.06.09/test/testFlow.output
hepmc2.06.09/test/testFlow.sh.in
hepmc2.06.09/test/testHepMC.cc.in
hepmc2.06.09/test/testHepMC.dat
hepmc2.06.09/test/testHepMC.output
hepmc2.06.09/test/testHepMC.sh.in
hepmc2.06.09/test/testHepMCIteration.cc.in
hepmc2.06.09/test/testHepMCIteration.dat
hepmc2.06.09/test/testHepMCIteration.h
hepmc2.06.09/test/testHepMCIteration.sh.in
hepmc2.06.09/test/testHepMCMethods.cc
hepmc2.06.09/test/testHepMCMethods.h
hepmc2.06.09/test/testHepMCParticle.output
hepmc2.06.09/test/testHepMCVarious.input
hepmc2.06.09/test/testHepMCVarious.output
hepmc2.06.09/test/testIOGenEvent.input
hepmc2.06.09/test/testMass.cc.in
hepmc2.06.09/test/testMass.sh.in
hepmc2.06.09/test/testMass1.dat
hepmc2.06.09/test/testMultipleCopies.cc.in
hepmc2.06.09/test/testPolarization.cc
hepmc2.06.09/test/testPolarization.sh.in
hepmc2.06.09/test/testPrintBug.cc
hepmc2.06.09/test/testUnits.cc
hepmc2.06.09/test/testPrintBug.output
hepmc2.06.09/test/testPrintBug.sh.in
hepmc2.06.09/test/testSimpleVector.cc
hepmc2.06.09/test/testStreamIO.cc.in
hepmc2.06.09/test/testStreamIO.output
hepmc2.06.09/test/testStreamIO.sh.in
hepmc2.06.09/test/testStreamIOVarious.dat
hepmc2.06.09/test/testStreamIOVarious.output
hepmc2.06.09/test/testWeights.cc
hepmc2.06.09/test/testWithWeight.dat
hepmc2.06.09/test/testWithWeight.output
hepmc2.06.09/test/Makefile.in
hepmc2.06.09/autom4te.cache/
hepmc2.06.09/autom4te.cache/requests
hepmc2.06.09/autom4te.cache/output.0
hepmc2.06.09/autom4te.cache/traces.0
hepmc2.06.09/autom4te.cache/output.1
hepmc2.06.09/autom4te.cache/traces.1
hepmc2.06.09/autom4te.cache/output.2
hepmc2.06.09/autom4te.cache/traces.2
hepmc2.06.09/aclocal.m4
hepmc2.06.09/ltmain.sh
hepmc2.06.09/configure
hepmc2.06.09/config.guess
hepmc2.06.09/config.sub
hepmc2.06.09/install-sh
hepmc2.06.09/missing
hepmc2.06.09/depcomp
hepmc2.06.09/Makefile.in
Enter HEPMC directory
Copying the hacked files 'WeightContainer.cc' and 'WeightContainer.h' to be capable of writing named weights in HepMC.
The autotools configure script already present; there is no need to run autoreconf manually.
Configure HEPMC
./configure --prefix=/home/parallels/Downloads/MG5_aMC_v3.4.0.RC/MG5_aMC_v3_4_0_RC/HEPTools/hepmc --with-momentum=GEV --with-length=MM
checking build system type... ./config.guess: unable to guess system type
This script, last modified 2009-11-20, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
and
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
If the version you run (./config.guess) is already up to date, please
send the following data and any information you think might be
pertinent to <email address hidden> in order to provide the needed
information to handle your system.
config.guess timestamp = 2009-11-20
uname -m = aarch64
uname -r = 5.13.0-25-generic
uname -s = Linux
uname -v = #26~20.04.1-Ubuntu SMP Sat Jan 8 18:05:46 UTC 2022
/usr/bin/uname -p = aarch64
/bin/uname -X =
hostinfo =
/bin/universe =
/usr/bin/arch -k =
/bin/arch = aarch64
/usr/bin/oslevel =
/usr/convex/getsysinfo =
UNAME_MACHINE = aarch64
UNAME_RELEASE = 5.13.0-25-generic
UNAME_SYSTEM = Linux
UNAME_VERSION = #26~20.04.1-Ubuntu SMP Sat Jan 8 18:05:46 UTC 2022
configure: error: cannot guess build type; you must specify one
Compile HEPMC
make: *** No targets specified and no makefile found. Stop.
Install HEPMC
make: *** No rule to make target 'install'. Stop.
Finished HEPMC installation
ln: failed to create symbolic link 'lib': File exists
> Now aborting installation of tool 'pythia8'.
Command "install pythia8" interrupted with error:
InvalidCmd : Installation of pythia8 failed.