我在ubuntu20.04上安装madgraph插件install mg5amc_py8_interface但是遇到了问题:
esd
Installing tool 'mg5amc_py8_interface'...
> Follow the installation progress by running the command below in a separate terminal)
> tail -f /home/cjm/MG5_aMC_v3_5_4/HEPTools/MG5aMC_PY8_interface/mg5amc_py8_interface_install.log
A problem occured during the installation of 'mg5amc_py8_interface'.
Content of the installation log file '/home/cjm/MG5_aMC_v3_5_4/HEPTools/MG5aMC_PY8_interface/mg5amc_py8_interface_install.log':
------------------------------------------------
MG5aMC_PY8_interface compilation output log:
b"g++ MG5aMC_PY8_interface.cc -o MG5aMC_PY8_interface -I/home/cjm/MG5_aMC_v3_5_4/HEPTools/hepmc/include -I/home/cjm/MG5_aMC_v3_5_4/HEPTools/pythia8//include -ldl -fPIC -lstdc++ -std=c++11 -O2 -DHEPMC2HACK -DGZIP -I/home/cjm/MG5_aMC_v3_5_4/HEPTools/zlib/include -L/home/cjm/MG5_aMC_v3_5_4/HEPTools/zlib/lib -Wl,-rpath,/home/cjm/MG5_aMC_v3_5_4/HEPTools/zlib/lib -lz -L/home/cjm/MG5_aMC_v3_5_4/HEPTools/pythia8//lib -Wl,-rpath,/home/cjm/MG5_aMC_v3_5_4/HEPTools/pythia8//lib -lpythia8 -ldl -L/home/cjm/MG5_aMC_v3_5_4/HEPTools/hepmc/lib -Wl,-rpath,/home/cjm/MG5_aMC_v3_5_4/HEPTools/hepmc/lib -lHepMC\n/usr/bin/ld: /home/cjm/MG5_aMC_v3_5_4/HEPTools/pythia8//lib/libpythia8.so: undefined reference to `pthread_create'\ncollect2: error: ld returned 1 exit status\nmake: *** [Makefile_mg5amc_py8_interface_static:8\xef\xbc\x9aMG5aMC_PY8_interface] \xe9\x94\x99\xe8\xaf\xaf 1\n"
------------------------------------------------
Error during the compilation of MG5aMC_PY8_interface:
b"g++ MG5aMC_PY8_interface.cc -o MG5aMC_PY8_interface -I/home/cjm/MG5_aMC_v3_5_4/HEPTools/hepmc/include -I/home/cjm/MG5_aMC_v3_5_4/HEPTools/pythia8//include -ldl -fPIC -lstdc++ -std=c++11 -O2 -DHEPMC2HACK -DGZIP -I/home/cjm/MG5_aMC_v3_5_4/HEPTools/zlib/include -L/home/cjm/MG5_aMC_v3_5_4/HEPTools/zlib/lib -Wl,-rpath,/home/cjm/MG5_aMC_v3_5_4/HEPTools/zlib/lib -lz -L/home/cjm/MG5_aMC_v3_5_4/HEPTools/pythia8//lib -Wl,-rpath,/home/cjm/MG5_aMC_v3_5_4/HEPTools/pythia8//lib -lpythia8 -ldl -L/home/cjm/MG5_aMC_v3_5_4/HEPTools/hepmc/lib -Wl,-rpath,/home/cjm/MG5_aMC_v3_5_4/HEPTools/hepmc/lib -lHepMC\n/usr/bin/ld: /home/cjm/MG5_aMC_v3_5_4/HEPTools/pythia8//lib/libpythia8.so: undefined reference to `pthread_create'\ncollect2: error: ld returned 1 exit status\nmake: *** [Makefile_mg5amc_py8_interface_static:8\xef\xbc\x9aMG5aMC_PY8_interface] \xe9\x94\x99\xe8\xaf\xaf 1\n"
Command "install mg5amc_py8_interface" interrupted with error:
InvalidCmd : Installation of mg5amc_py8_interface failed.
不知道是缺少了什么依赖项,我是在一个软件madgraph内部用指令安装的,如果是环境问题我应该如何重新操作和排查,因为我不是很熟悉程序,有热心的伙伴能用通俗的语言、具体的步骤解答吗