Install LHAPDF on cluster

Asked by Antonio Sandroni

Hi, im tryng to use madgraph on a cluster so I uploaded it from my local directory and I need to install lhapdf and i followed
https://twiki.cern.ch/twiki/bin/view/Sandbox/InstallingMadgraphAndLHAPF
but when I do >make this error occurs:

[asandron@lemaitre3 LHAPDF-6.2.3]$ make
Making all in src
make[1]: Entering directory `/home/users/a/s/asandron/MADGRAPH/LHAPDF-6.2.3/src'
Making all in yamlcpp
make[2]: Entering directory `/home/users/a/s/asandron/MADGRAPH/LHAPDF-6.2.3/src/yamlcpp'
make[2]: Nessuna operazione da eseguire per «all».
make[2]: Leaving directory `/home/users/a/s/asandron/MADGRAPH/LHAPDF-6.2.3/src/yamlcpp'
make[2]: Entering directory `/home/users/a/s/asandron/MADGRAPH/LHAPDF-6.2.3/src'
make[2]: Nessuna operazione da eseguire per «all-am».
make[2]: Leaving directory `/home/users/a/s/asandron/MADGRAPH/LHAPDF-6.2.3/src'
make[1]: Leaving directory `/home/users/a/s/asandron/MADGRAPH/LHAPDF-6.2.3/src'
Making all in include
make[1]: Entering directory `/home/users/a/s/asandron/MADGRAPH/LHAPDF-6.2.3/include'
Making all in LHAPDF
make[2]: Entering directory `/home/users/a/s/asandron/MADGRAPH/LHAPDF-6.2.3/include/LHAPDF'
make all-am
make[3]: Entering directory `/home/users/a/s/asandron/MADGRAPH/LHAPDF-6.2.3/include/LHAPDF'
make[3]: Leaving directory `/home/users/a/s/asandron/MADGRAPH/LHAPDF-6.2.3/include/LHAPDF'
make[2]: Leaving directory `/home/users/a/s/asandron/MADGRAPH/LHAPDF-6.2.3/include/LHAPDF'
make[2]: Entering directory `/home/users/a/s/asandron/MADGRAPH/LHAPDF-6.2.3/include'
make[2]: Nessuna operazione da eseguire per «all-am».
make[2]: Leaving directory `/home/users/a/s/asandron/MADGRAPH/LHAPDF-6.2.3/include'
make[1]: Leaving directory `/home/users/a/s/asandron/MADGRAPH/LHAPDF-6.2.3/include'
Making all in wrappers
make[1]: Entering directory `/home/users/a/s/asandron/MADGRAPH/LHAPDF-6.2.3/wrappers'
Making all in python
make[2]: Entering directory `/home/users/a/s/asandron/MADGRAPH/LHAPDF-6.2.3/wrappers/python'
CC="g++" CXX="g++" /opt/sw/arch/easybuild/2021b/software/Python/3.9.6-GCCcore-11.2.0/bin/python setup.py install --install-lib=build/ --force
running install
running build
running build_ext
building 'lhapdf' extension
g++ -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -O2 -ftree-vectorize -march=native -fno-math-errno -fPIC -O2 -ftree-vectorize -march=native -fno-math-errno -fPIC -fPIC -I/home/users/a/s/asandron/MADGRAPH/LHAPDF-6.2.3/include -I/home/users/a/s/asandron/MADGRAPH/LHAPDF-6.2.3/include -I/opt/sw/arch/easybuild/2021b/software/Python/3.9.6-GCCcore-11.2.0/include/python3.9 -c lhapdf.cpp -o build/temp.linux-x86_64-3.9/lhapdf.o -I/home/ucl/curl/asandron/MADGRAPH/3.0.4-sudakov/HEPTools/LHAPDF-6.2.3/include
lhapdf.cpp: In function ‘int __Pyx_modinit_type_init_code()’:
lhapdf.cpp:16895:26: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
16895 | __pyx_type_6lhapdf_PDF.tp_print = 0;
      | ^~~~~~~~
lhapdf.cpp:16906:27: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
16906 | __pyx_type_6lhapdf_Info.tp_print = 0;
      | ^~~~~~~~
lhapdf.cpp:16917:29: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
16917 | __pyx_type_6lhapdf_PDFSet.tp_print = 0;
      | ^~~~~~~~
lhapdf.cpp:16938:30: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
16938 | __pyx_type_6lhapdf_PDFInfo.tp_print = 0;
      | ^~~~~~~~
lhapdf.cpp:16949:29: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
16949 | __pyx_type_6lhapdf_AlphaS.tp_print = 0;
      | ^~~~~~~~
In file included from /opt/sw/arch/easybuild/2021b/software/Python/3.9.6-GCCcore-11.2.0/include/python3.9/unicodeobject.h:1026,
                 from /opt/sw/arch/easybuild/2021b/software/Python/3.9.6-GCCcore-11.2.0/include/python3.9/Python.h:106,
                 from lhapdf.cpp:4:
lhapdf.cpp: In function ‘int __Pyx_ParseOptionalKeywords(PyObject*, PyObject***, PyObject*, PyObject**, Py_ssize_t, const char*)’:
/opt/sw/arch/easybuild/2021b/software/Python/3.9.6-GCCcore-11.2.0/include/python3.9/cpython/unicodeobject.h:451:61: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/opt/sw/arch/easybuild/2021b/software/Python/3.9.6-GCCcore-11.2.0/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  261 | PyUnicode_WSTR_LENGTH(op) : \
      | ^~~~~~~~~~~~~~~~~~~~~
lhapdf.cpp:18507:22: note: in expansion of macro ‘PyUnicode_GET_SIZE’
18507 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
      | ^~~~~~~~~~~~~~~~~~
/opt/sw/arch/easybuild/2021b/software/Python/3.9.6-GCCcore-11.2.0/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/sw/arch/easybuild/2021b/software/Python/3.9.6-GCCcore-11.2.0/include/python3.9/cpython/unicodeobject.h:262:33: warning: ‘Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
lhapdf.cpp:18507:22: note: in expansion of macro ‘PyUnicode_GET_SIZE’
18507 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
      | ^~~~~~~~~~~~~~~~~~
/opt/sw/arch/easybuild/2021b/software/Python/3.9.6-GCCcore-11.2.0/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      | ^~~~~~~~~~~~~~~~~~~
/opt/sw/arch/easybuild/2021b/software/Python/3.9.6-GCCcore-11.2.0/include/python3.9/cpython/unicodeobject.h:451:61: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/opt/sw/arch/easybuild/2021b/software/Python/3.9.6-GCCcore-11.2.0/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  264 | PyUnicode_WSTR_LENGTH(op)))
      | ^~~~~~~~~~~~~~~~~~~~~
lhapdf.cpp:18507:22: note: in expansion of macro ‘PyUnicode_GET_SIZE’
18507 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
      | ^~~~~~~~~~~~~~~~~~
/opt/sw/arch/easybuild/2021b/software/Python/3.9.6-GCCcore-11.2.0/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/sw/arch/easybuild/2021b/software/Python/3.9.6-GCCcore-11.2.0/include/python3.9/cpython/unicodeobject.h:451:61: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/opt/sw/arch/easybuild/2021b/software/Python/3.9.6-GCCcore-11.2.0/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  261 | PyUnicode_WSTR_LENGTH(op) : \
      | ^~~~~~~~~~~~~~~~~~~~~
lhapdf.cpp:18507:52: note: in expansion of macro ‘PyUnicode_GET_SIZE’
18507 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
      | ^~~~~~~~~~~~~~~~~~
/opt/sw/arch/easybuild/2021b/software/Python/3.9.6-GCCcore-11.2.0/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/sw/arch/easybuild/2021b/software/Python/3.9.6-GCCcore-11.2.0/include/python3.9/cpython/unicodeobject.h:262:33: warning: ‘Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
lhapdf.cpp:18507:52: note: in expansion of macro ‘PyUnicode_GET_SIZE’
18507 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
      | ^~~~~~~~~~~~~~~~~~
/opt/sw/arch/easybuild/2021b/software/Python/3.9.6-GCCcore-11.2.0/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      | ^~~~~~~~~~~~~~~~~~~
/opt/sw/arch/easybuild/2021b/software/Python/3.9.6-GCCcore-11.2.0/include/python3.9/cpython/unicodeobject.h:451:61: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/opt/sw/arch/easybuild/2021b/software/Python/3.9.6-GCCcore-11.2.0/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  264 | PyUnicode_WSTR_LENGTH(op)))
      | ^~~~~~~~~~~~~~~~~~~~~
lhapdf.cpp:18507:52: note: in expansion of macro ‘PyUnicode_GET_SIZE’
18507 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
      | ^~~~~~~~~~~~~~~~~~
/opt/sw/arch/easybuild/2021b/software/Python/3.9.6-GCCcore-11.2.0/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/sw/arch/easybuild/2021b/software/Python/3.9.6-GCCcore-11.2.0/include/python3.9/cpython/unicodeobject.h:451:61: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/opt/sw/arch/easybuild/2021b/software/Python/3.9.6-GCCcore-11.2.0/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  261 | PyUnicode_WSTR_LENGTH(op) : \
      | ^~~~~~~~~~~~~~~~~~~~~
lhapdf.cpp:18523:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
18523 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
      | ^~~~~~~~~~~~~~~~~~
/opt/sw/arch/easybuild/2021b/software/Python/3.9.6-GCCcore-11.2.0/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/sw/arch/easybuild/2021b/software/Python/3.9.6-GCCcore-11.2.0/include/python3.9/cpython/unicodeobject.h:262:33: warning: ‘Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
lhapdf.cpp:18523:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
18523 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
      | ^~~~~~~~~~~~~~~~~~
/opt/sw/arch/easybuild/2021b/software/Python/3.9.6-GCCcore-11.2.0/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      | ^~~~~~~~~~~~~~~~~~~
/opt/sw/arch/easybuild/2021b/software/Python/3.9.6-GCCcore-11.2.0/include/python3.9/cpython/unicodeobject.h:451:61: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/opt/sw/arch/easybuild/2021b/software/Python/3.9.6-GCCcore-11.2.0/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  264 | PyUnicode_WSTR_LENGTH(op)))
      | ^~~~~~~~~~~~~~~~~~~~~
lhapdf.cpp:18523:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
18523 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
      | ^~~~~~~~~~~~~~~~~~
/opt/sw/arch/easybuild/2021b/software/Python/3.9.6-GCCcore-11.2.0/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/sw/arch/easybuild/2021b/software/Python/3.9.6-GCCcore-11.2.0/include/python3.9/cpython/unicodeobject.h:451:61: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/opt/sw/arch/easybuild/2021b/software/Python/3.9.6-GCCcore-11.2.0/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  261 | PyUnicode_WSTR_LENGTH(op) : \
      | ^~~~~~~~~~~~~~~~~~~~~
lhapdf.cpp:18523:59: note: in expansion of macro ‘PyUnicode_GET_SIZE’
18523 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
      | ^~~~~~~~~~~~~~~~~~
/opt/sw/arch/easybuild/2021b/software/Python/3.9.6-GCCcore-11.2.0/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/sw/arch/easybuild/2021b/software/Python/3.9.6-GCCcore-11.2.0/include/python3.9/cpython/unicodeobject.h:262:33: warning: ‘Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
lhapdf.cpp:18523:59: note: in expansion of macro ‘PyUnicode_GET_SIZE’
18523 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
      | ^~~~~~~~~~~~~~~~~~
/opt/sw/arch/easybuild/2021b/software/Python/3.9.6-GCCcore-11.2.0/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      | ^~~~~~~~~~~~~~~~~~~
/opt/sw/arch/easybuild/2021b/software/Python/3.9.6-GCCcore-11.2.0/include/python3.9/cpython/unicodeobject.h:451:61: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/opt/sw/arch/easybuild/2021b/software/Python/3.9.6-GCCcore-11.2.0/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  264 | PyUnicode_WSTR_LENGTH(op)))
      | ^~~~~~~~~~~~~~~~~~~~~
lhapdf.cpp:18523:59: note: in expansion of macro ‘PyUnicode_GET_SIZE’
18523 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
      | ^~~~~~~~~~~~~~~~~~
/opt/sw/arch/easybuild/2021b/software/Python/3.9.6-GCCcore-11.2.0/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
error: command '/opt/sw/arch/easybuild/2021b/software/GCCcore/11.2.0/bin/g++' failed with exit code 1
make[2]: *** [all-local] Errore 1
make[2]: Leaving directory `/home/users/a/s/asandron/MADGRAPH/LHAPDF-6.2.3/wrappers/python'
make[1]: *** [all-recursive] Errore 1
make[1]: Leaving directory `/home/users/a/s/asandron/MADGRAPH/LHAPDF-6.2.3/wrappers'
make: *** [all-recursive] Errore 1

wht's the problem?
Antonio

Question information

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

Did you check the compatibility of python2.9 with lhapdf2.3
lhapdf2.3 is quite ... old while python2.9 is quite ... recent.
Mixing old/new is typically a source of issue.

Cheers,

Olivier

Revision history for this message
Antonio Sandroni (antoniosandroni) said :
#2

You mean python3.9?
On my local pc it works, on the cluster I uploade the module Python/3.9 and i need it to use madgraph.

Antonio

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#3

But do you really need lhapdf 6.2.3?
I would suggest to use at least lhapdf6.3.0?

Cheers,

Olivier

Revision history for this message
Antonio Sandroni (antoniosandroni) said :
#4

Thank you, I download the 6.5.0 version and the command make is executed withuot problems but "make install" gives me an error

Making install in src
make[1]: Entering directory `/home/users/a/s/asandron/MADGRAPH/LHAPDF-6.5.0/src'
Making install in yamlcpp
make[2]: Entering directory `/home/users/a/s/asandron/MADGRAPH/LHAPDF-6.5.0/src/yamlcpp'
make[3]: Entering directory `/home/users/a/s/asandron/MADGRAPH/LHAPDF-6.5.0/src/yamlcpp'
make[3]: Nessuna operazione da eseguire per «install-exec-am».
make[3]: Nessuna operazione da eseguire per «install-data-am».
make[3]: Leaving directory `/home/users/a/s/asandron/MADGRAPH/LHAPDF-6.5.0/src/yamlcpp'
make[2]: Leaving directory `/home/users/a/s/asandron/MADGRAPH/LHAPDF-6.5.0/src/yamlcpp'
make[2]: Entering directory `/home/users/a/s/asandron/MADGRAPH/LHAPDF-6.5.0/src'
make[3]: Entering directory `/home/users/a/s/asandron/MADGRAPH/LHAPDF-6.5.0/src'
 /usr/bin/mkdir -p '/path/for/installation/lib'
/usr/bin/mkdir: impossibile creare la directory "/path": Permesso negato
make[3]: *** [install-libLTLIBRARIES] Errore 1
make[3]: Leaving directory `/home/users/a/s/asandron/MADGRAPH/LHAPDF-6.5.0/src'
make[2]: *** [install-am] Errore 2
make[2]: Leaving directory `/home/users/a/s/asandron/MADGRAPH/LHAPDF-6.5.0/src'
make[1]: *** [install-recursive] Errore 1
make[1]: Leaving directory `/home/users/a/s/asandron/MADGRAPH/LHAPDF-6.5.0/src'
make: *** [install-recursive] Errore 1

Revision history for this message
Antonio Sandroni (antoniosandroni) said :
#5

Is it better if I run installLHAPDF6.sh in HEPToolsInstallers?
Antonio

Revision history for this message
Best Olivier Mattelaer (olivier-mattelaer) said :
#6

If you type "install lhapdf6" within the MG5aMC terminal, then MG5aMC is going to install lhapdf6.3 locally.
And this is very likely to work.

The issue with your 6.5.0 installation is that you did specify at configure time
--path=/path/for/installation
and you did forget to change
/path/for/installation to a real path that does exists (and where you do have write access)

Cheers,

Olivier

Revision history for this message
Antonio Sandroni (antoniosandroni) said :
#7

Thanks Olivier Mattelaer, that solved my question.