installing LHAPDF-6.1.6

Asked by Burhani Taher Saifuddin

Hello,

I am trying to install LHAPDF-6.1.6 but don't know how to do it.

I am following the tutorial as given on https://lhapdf.hepforge.org/install.html but don't quite know how to do the second step. That is the ./configure here what path should I give?

Also, I gave a path to HEPTOOLS later and went to step 2 which is make. But this is the error I get.

Making all in src
make[1]: Entering directory '/home/tb/madgraph2.9.5/LHAPDF-6.1.6/src'
Making all in yamlcpp
make[2]: Entering directory '/home/tb/madgraph2.9.5/LHAPDF-6.1.6/src/yamlcpp'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/tb/madgraph2.9.5/LHAPDF-6.1.6/src/yamlcpp'
make[2]: Entering directory '/home/tb/madgraph2.9.5/LHAPDF-6.1.6/src'
make[2]: Nothing to be done for 'all-am'.
make[2]: Leaving directory '/home/tb/madgraph2.9.5/LHAPDF-6.1.6/src'
make[1]: Leaving directory '/home/tb/madgraph2.9.5/LHAPDF-6.1.6/src'
Making all in include
make[1]: Entering directory '/home/tb/madgraph2.9.5/LHAPDF-6.1.6/include'
Making all in LHAPDF
make[2]: Entering directory '/home/tb/madgraph2.9.5/LHAPDF-6.1.6/include/LHAPDF'
make all-am
make[3]: Entering directory '/home/tb/madgraph2.9.5/LHAPDF-6.1.6/include/LHAPDF'
make[3]: Leaving directory '/home/tb/madgraph2.9.5/LHAPDF-6.1.6/include/LHAPDF'
make[2]: Leaving directory '/home/tb/madgraph2.9.5/LHAPDF-6.1.6/include/LHAPDF'
make[2]: Entering directory '/home/tb/madgraph2.9.5/LHAPDF-6.1.6/include'
make[2]: Nothing to be done for 'all-am'.
make[2]: Leaving directory '/home/tb/madgraph2.9.5/LHAPDF-6.1.6/include'
make[1]: Leaving directory '/home/tb/madgraph2.9.5/LHAPDF-6.1.6/include'
Making all in wrappers
make[1]: Entering directory '/home/tb/madgraph2.9.5/LHAPDF-6.1.6/wrappers'
Making all in python
make[2]: Entering directory '/home/tb/madgraph2.9.5/LHAPDF-6.1.6/wrappers/python'
CC=gcc CXX=g++ /usr/bin/python setup.py install --install-lib=build/ --force
running install
running build
running build_ext
building 'lhapdf' extension
gcc -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -ffile-prefix-map=/build/python2.7-W40Ff2/python2.7-2.7.18=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/home/taherburhani/madgraph2.9.5/LHAPDF-6.1.6/include -I/home/taherburhani/madgraph2.9.5/LHAPDF-6.1.6/include -I/usr/include/python2.7 -c lhapdf.cpp -o build/temp.linux-x86_64-2.7/lhapdf.o -I/home/tb/local/include
lhapdf.cpp:4:10: fatal error: Python.h: No such file or directory
    4 | #include "Python.h"
      | ^~~~~~~~~~
compilation terminated.
error: command 'gcc' failed with exit status 1
make[2]: *** [Makefile:483: all-local] Error 1
make[2]: Leaving directory '/home/tb/madgraph2.9.5/LHAPDF-6.1.6/wrappers/python'
make[1]: *** [Makefile:374: all-recursive] Error 1
make[1]: Leaving directory '/home/tb/madgraph2.9.5/LHAPDF-6.1.6/wrappers'
make: *** [Makefile:549: all-recursive] Error 1

Thanks

Question information

Language:
English Edit question
Status:
Expired
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.