Unable to install lhapdf6 for use of pythia8
Hello, I am trying to install lhapdf6 in order to then be able to install pythia8. I have tried to do this directly through MadGraph, but continually run into the same error:
MG5_aMC>install pythia8
You are installing 'pythia8', please cite ref(s): arXiv:1410.3012.
Downloading the HEPToolInstaller at:
http://
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:
curl -OL https:/
% Total % Received % Xferd Average Speed Time Time Time Current
100 107 100 107 0 0 48 0 0:00:02 0:00:02 --:--:-- 48
100 107 100 107 0 0 39 0 0:00:02 0:00:02 --:--:-- 104k
100 752k 0 752k 0 0 110k 0 --:--:-- 0:00:06 --:--:-- 245k
Installing tool 'lhapdf6'...
> Follow the installation progress by running the command below in a separate terminal)
> tail -f /Users/
A problem occured during the installation of 'lhapdf6'.
Content of the installation log file '/Users/
Set environment variables
Unpack LHAPDF
x LHAPDF-6.3.0/
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-6.3.0/bin/
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-6.3.0/doc/
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-6.3.0/m4/
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-6.3.0/src/
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-6.3.0/tests/
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-
x LHAPDF-6.3.0/NEWS
x LHAPDF-6.3.0/TODO
x LHAPDF-6.3.0/README
Enter LHAPDF6 directory
Configure LHAPDF
configure: WARNING: unrecognized options: --with-boost
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... config/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for sw_vers... sw_vers
./configure: line 3174: test: -O: binary operator expected
checking for style of include used by make... GNU
checking whether to compile using MPI... no
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... configure: error: in `/private/
configure: error: cannot run C++ compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
Compile LHAPDF6
make: *** No targets specified and no makefile found. Stop.
Install LHAPDF6
make: Nothing to be done for `install'.
copy index and conf file
usage: cp [-R [-H | -L | -P]] [-fi | -n] [-aclpsvXx] source_file target_file
cp [-R [-H | -L | -P]] [-fi | -n] [-aclpsvXx] source_file ... target_directory
usage: cp [-R [-H | -L | -P]] [-fi | -n] [-aclpsvXx] source_file target_file
cp [-R [-H | -L | -P]] [-fi | -n] [-aclpsvXx] source_file ... target_directory
/Users/
/Users/
tar: Error opening archive: Failed to open 'NNPDF23_
Finished LHAPDF6 installation
Command "install pythia8" interrupted with error:
InvalidCmd : Installation of lhapdf6 failed.
How can I get around this issue? I am on a Mac with an M1 Pro chip, I have Python3, and have tried externally downloading the LHAPDF-6.5.3 set but cannot get Madgraph to find the download.
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Hi,
So far I have not succeed to have a working version of LHADPF compiled with arm (so for M1).
On my M1 machine, I have kept a pure intel installation but this has issue as well (like numpy not working, so no re-weighting/...).
So I do not have a good solution for such computer for the moment.
Cheers,
Olivier
Revision history for this message
|
#2 |
Hello Olivier,
That explains a lot, thank you for the clarification. As a followup, could you briefly explain how Pythia8 will be affected if I download it without LHAPDF? Would you suggest that I do this, or instead go with an Intel installation?
Thanks,
Andrew
Revision history for this message
|
#3 |
All initial state radiation will then be simulated with a different pdf set which will impact the radiation pattern.
Since such radiation pattern depends obviously on the ratio of the pdf, the dependence should be mild.
Now this can lead to breaking NLO accuracy for NLO computation.
I do not know if this has impact for the tuning of the hadronization model.
Cheers,
Olivier
Revision history for this message
|
#4 |
Thanks Olivier Mattelaer, that solved my question.
Revision history for this message
|
#5 |
Moroccan Khamsa Sconce made of iron with a rustic finish add a comfortable Moroccan feel to any space, indoors or out. With our selection of light fixtures, you’ll notice a difference in your home’s decor! Thanks to the skill of our Moroccan artisans, their features create unique cuts on the surrounding walls. Our Handmade Moroccan Wall Lamp is offered in a range of styles and dimensions to match any interior design.
Revision history for this message
|
#6 |
Hello,
I wanted to revisit the question of LHAPDF complied with arm. Has this bug been sorted yet? I am having a miserable time trying to get Madgraph working with Pythia on either of my Mac devices for separate reasons, even though one of them uses Intel chip.
Revision history for this message
|
#7 |
Hi,
I think that I did succeed to install it by hand (not via the install command)
and not fully sure how I did it.
But for sure I
1) installed python3.11 (via brew)
2) installed gfortran/gcc via https:/
3) change a lot of file on /usr/... to ensure that gcc is always linked to the above one.
4) installed lhapdf (with hacking the installation script of lhapdf for stuff related to python linking
Good Luck,
Olivier
> On 24 Jun 2023, at 07:45, Andrew Fee <email address hidden> wrote:
>
> Question #705035 on MadGraph5_aMC@NLO changed:
> https:/
>
> Status: Solved => Open
>
> Andrew Fee is still having a problem:
> Hello,
>
> I wanted to revisit the question of LHAPDF complied with arm. Has this
> bug been sorted yet? I am having a miserable time trying to get Madgraph
> working with Pythia on either of my Mac devices for separate reasons,
> even though one of them uses Intel chip.
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.
Revision history for this message
|
#8 |
Hi,
This is very helpful. I have completed the first two steps - may you elaborate more on what you did in steps 3 and 4? I am not well versed in these types of steps.
Revision history for this message
|
#9 |
To be honest, I'm not sure anymore what I did. I have tried so many stuff that likely some step were not needed
and/or were due to a mistake in a previous trial.
So for 3, I had to change some link/symlink in /usr/local/bin such that all gcc/gfortran/
where always using the one installed in step 2. Maybe (hopefully) this is not needed (but I had to do it).
For step 4, you have to follow the README of lhapdf installation and in my case those instructions were failing due to some python issue and I know that at some point I hacked the code that was testing python to make it trough and that time I had lhapdf compiled, but I think I was also able to compile it in a different way but do not remember.
Olivier
> On 24 Jun 2023, at 20:20, Andrew Fee <email address hidden> wrote:
>
> Question #705035 on MadGraph5_aMC@NLO changed:
> https:/
>
> Status: Answered => Open
>
> Andrew Fee is still having a problem:
> Hi,
>
> This is very helpful. I have completed the first two steps - may you
> elaborate more on what you did in steps 3 and 4? I am not well versed in
> these types of steps.
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.
Revision history for this message
|
#10 |
Hi,
I believe I'm having a similar problem. Do you know how I might go about finding what program is testing python and failing? Here is what I got on my most recent attempt:
checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for x86_64-
Here is the config.log:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by LHAPDF configure 6.5.4, which was
generated by GNU Autoconf 2.71. Invocation command line was
$ ./configure LIBS=-L/
## --------- ##
## Platform. ##
## --------- ##
hostname = login2
uname -m = x86_64
uname -r = 5.4.0-167-generic
uname -s = Linux
uname -v = #184-Ubuntu SMP Tue Oct 31 09:21:49 UTC 2023
/usr/bin/uname -p = x86_64
/bin/uname -X = unknown
/bin/arch = x86_64
/usr/bin/arch -k = unknown
/usr/convex/
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /home/dkennedy_
PATH: /home/dkennedy_
PATH: /modules/
PATH: /usr/local/sbin/
PATH: /usr/local/bin/
PATH: /usr/sbin/
PATH: /usr/bin/
PATH: /sbin/
PATH: /bin/
PATH: /usr/games/
PATH: /usr/local/games/
PATH: /snap/bin/
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2834: looking for aux files: config.guess config.sub ltmain.sh compile missing install-sh
configure:2847: trying ./config/
configure:2876: ./config/
configure:2876: ./config/config.sub found
configure:2876: ./config/ltmain.sh found
configure:2876: ./config/compile found
configure:2876: ./config/missing found
configure:2858: ./config/install-sh found
configure:3010: checking for a BSD-compatible install
configure:3083: result: /usr/bin/install -c
configure:3094: checking whether build environment is sane
configure:3149: result: yes
configure:3306: checking for a race-free mkdir -p
configure:3350: result: /usr/bin/mkdir -p
configure:3357: checking for gawk
configure:3378: found /usr/bin/gawk
configure:3389: result: gawk
configure:3400: checking whether make sets $(MAKE)
configure:3423: result: yes
configure:3453: checking whether make supports nested variables
configure:3471: result: yes
configure:3619: checking whether make supports nested variables
configure:3637: result: yes
configure:3667: checking for x86_64-
configure:3702: result: no
configure:3712: checking for sw_vers
configure:3747: result: no
configure:3822: checking whether make supports the include directive
configure:3837: make -f confmf.GNU && cat confinc.out
this is the am__doit target
configure:3840: $? = 0
configure:3859: result: yes (GNU style)
configure:3885: checking whether to compile using MPI
configure:3892: result: no
configure:4133: checking for C++ compiler version
configure:4142: /home/dkennedy_
x86_64-
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:4153: $? = 0
configure:4142: /home/dkennedy_
Reading specs from /home/dkennedy_
could not find specs file conda.specs
COLLECT_
COLLECT_
Target: x86_64-
Configured with: ../configure --prefix=
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 10.4.0 (conda-forge gcc 10.4.0-19)
configure:4153: $? = 0
configure:4142: /home/dkennedy_
x86_64-
x86_64-
compilation terminated.
configure:4153: $? = 1
configure:4142: /home/dkennedy_
x86_64-
x86_64-
compilation terminated.
configure:4153: $? = 1
configure:4173: checking whether the C++ compiler works
configure:4195: /home/dkennedy_
configure:4199: $? = 0
configure:4249: result: yes
configure:4252: checking for C++ compiler default output file name
configure:4254: result: a.out
configure:4260: checking for suffix of executables
configure:4267: /home/dkennedy_
configure:4271: $? = 0
configure:4294: result:
configure:4316: checking whether we are cross compiling
configure:4324: /home/dkennedy_
configure:4328: $? = 0
configure:4335: ./conftest
configure:4339: $? = 0
configure:4327: result: no
configure:4332: checking for suffix of object files
configure:4355: /home/dkennedy_
configure:4359: $? = 0
configure:4381: result: o
configure:4385: checking whether the compiler supports GNU C++
configure:4405: /home/dkennedy_
configure:4405: $? = 0
configure:4415: result: yes
configure:4426: checking whether /home/dkennedy_
configure:4447: /home/dkennedy_
configure:4447: $? = 0
configure:4491: result: yes
configure:4511: checking for /home/dkennedy_
configure:4526: /home/dkennedy_
configure:4526: $? = 0
configure:4544: result: none needed
configure:4610: checking dependency style of /home/dkennedy_
configure:4722: result: gcc3
configure:4888: checking whether /home/dkennedy_
configure:5183: /home/dkennedy_
configure:5183: $? = 0
configure:5191: result: yes
configure:5570: checking for x86_64-
configure:5602: result: /home/dkennedy_
configure:6000: checking for C compiler version
configure:6009: /home/dkennedy_
x86_64-
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:6020: $? = 0
configure:6009: /home/dkennedy_
Reading specs from /home/dkennedy_
could not find specs file conda.specs
COLLECT_
COLLECT_
Target: x86_64-
Configured with: ../configure --prefix=
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 10.4.0 (conda-forge gcc 10.4.0-19)
configure:6020: $? = 0
configure:6009: /home/dkennedy_
x86_64-
x86_64-
compilation terminated.
configure:6020: $? = 1
configure:6009: /home/dkennedy_
x86_64-
x86_64-
compilation terminated.
configure:6020: $? = 1
configure:6009: /home/dkennedy_
x86_64-
x86_64-
compilation terminated.
configure:6020: $? = 1
configure:6024: checking whether the compiler supports GNU C
configure:6044: /home/dkennedy_
configure:6044: $? = 0
configure:6054: result: yes
configure:6065: checking whether /home/dkennedy_
configure:6086: /home/dkennedy_
configure:6086: $? = 0
configure:6130: result: yes
configure:6150: checking for /home/dkennedy_
configure:6165: /home/dkennedy_
configure:6165: $? = 0
configure:6183: result: none needed
configure:6299: checking whether /home/dkennedy_
configure:6322: /home/dkennedy_
configure:6325: $? = 0
configure:6322: /home/dkennedy_
configure:6325: $? = 0
configure:6337: result: yes
configure:6356: checking dependency style of /home/dkennedy_
configure:6468: result: gcc3
configure:6484: checking whether ln -s works
configure:6488: result: yes
configure:6527: checking build system type
configure:6542: result: x86_64-
configure:6562: checking host system type
configure:6576: result: x86_64-
configure:6617: checking how to print strings
configure:6644: result: printf
configure:6665: checking for a sed that does not truncate output
configure:6735: result: /usr/bin/sed
configure:6753: checking for grep that handles long lines and -e
configure:6817: result: /usr/bin/grep
configure:6822: checking for egrep
configure:6890: result: /usr/bin/grep -E
configure:6895: checking for fgrep
configure:6963: result: /usr/bin/grep -F
configure:6999: checking for ld used by /home/dkennedy_
configure:7067: result: /home/dkennedy_
configure:7074: checking if the linker (/home/
configure:7090: result: yes
configure:7102: checking for BSD- or MS-compatible name lister (nm)
configure:7157: result: /home/dkennedy_
configure:7297: checking the name lister (/home/
configure:7305: /home/dkennedy_
configure:7308: /home/dkennedy_
configure:7311: output
0000000000000000 B some_variable
configure:7312: result: BSD nm
configure:7316: checking the maximum length of command line arguments
configure:7448: result: 1572864
configure:7496: checking how to convert x86_64-
configure:7537: result: func_convert_
configure:7544: checking how to convert x86_64-
configure:7565: result: func_convert_
configure:7572: checking for /home/dkennedy_
configure:7580: result: -r
configure:7614: checking for x86_64-
configure:7649: result: no
configure:7659: checking for file
configure:7680: found /usr/bin/file
configure:7691: result: file
configure:7722: checking for x86_64-
configure:7754: result: /home/dkennedy_
configure:7831: checking how to recognize dependent libraries
configure:8032: result: pass_all
configure:8077: checking for x86_64-
configure:8112: result: no
configure:8122: checking for dlltool
configure:8157: result: no
configure:8187: checking how to associate runtime and link libraries
configure:8215: result: printf %s\n
configure:8231: checking for x86_64-
configure:8263: result: /home/dkennedy_
configure:8365: checking for archiver @FILE support
configure:8383: /home/dkennedy_
configure:8383: $? = 0
configure:8387: /home/dkennedy_
configure:8390: $? = 0
configure:8395: /home/dkennedy_
/home/dkennedy_
configure:8398: $? = 1
configure:8397: result: @
configure:8415: checking for x86_64-
configure:8447: result: /home/dkennedy_
configure:8524: checking for x86_64-
configure:8556: result: /home/dkennedy_
configure:8703: checking command to parse /home/dkennedy_
configure:8857: /home/dkennedy_
configure:8860: $? = 0
configure:8864: /home/dkennedy_
configure:8867: $? = 0
configure:8933: /home/dkennedy_
configure:8936: $? = 0
configure:8974: result: ok
configure:9021: checking for sysroot
configure:9052: result: no
configure:9059: checking for a working dd
configure:9103: result: /usr/bin/dd
configure:9107: checking how to truncate binary pipes
configure:9123: result: /usr/bin/dd bs=4096 count=1
configure:9261: /home/dkennedy_
configure:9264: $? = 0
configure:9416: checking for x86_64-
configure:9451: result: no
configure:9461: checking for mt
configure:9482: found /usr/bin/mt
configure:9493: result: mt
configure:9516: checking if mt is a manifest tool
configure:9523: mt '-?'
configure:9531: result: no
configure:10256: checking for stdio.h
configure:10256: /home/dkennedy_
configure:10256: $? = 0
configure:10256: result: yes
configure:10256: checking for stdlib.h
configure:10256: /home/dkennedy_
configure:10256: $? = 0
configure:10256: result: yes
configure:10256: checking for string.h
configure:10256: /home/dkennedy_
configure:10256: $? = 0
configure:10256: result: yes
configure:10256: checking for inttypes.h
configure:10256: /home/dkennedy_
configure:10256: $? = 0
configure:10256: result: yes
configure:10256: checking for stdint.h
configure:10256: /home/dkennedy_
configure:10256: $? = 0
configure:10256: result: yes
configure:10256: checking for strings.h
configure:10256: /home/dkennedy_
configure:10256: $? = 0
configure:10256: result: yes
configure:10256: checking for sys/stat.h
configure:10256: /home/dkennedy_
configure:10256: $? = 0
configure:10256: result: yes
configure:10256: checking for sys/types.h
configure:10256: /home/dkennedy_
configure:10256: $? = 0
configure:10256: result: yes
configure:10256: checking for unistd.h
configure:10256: /home/dkennedy_
configure:10256: $? = 0
configure:10256: result: yes
configure:10281: checking for dlfcn.h
configure:10281: /home/dkennedy_
configure:10281: $? = 0
configure:10281: result: yes
configure:10550: checking for objdir
configure:10566: result: .libs
configure:10830: checking if /home/dkennedy_
configure:10849: /home/dkennedy_
cc1: warning: command-line option '-fno-rtti' is valid for C++/D/ObjC++ but not for C
configure:10853: $? = 0
configure:10866: result: no
configure:11224: checking for /home/dkennedy_
configure:11232: result: -fPIC -DPIC
configure:11240: checking if /home/dkennedy_
configure:11259: /home/dkennedy_
configure:11263: $? = 0
configure:11276: result: yes
configure:11305: checking if /home/dkennedy_
configure:11334: result: yes
configure:11349: checking if /home/dkennedy_
configure:11371: /home/dkennedy_
configure:11375: $? = 0
configure:11397: result: yes
configure:11405: checking if /home/dkennedy_
configure:11453: result: yes
configure:11486: checking whether the /home/dkennedy_
configure:12754: result: yes
configure:12791: checking whether -lc should be explicitly linked in
configure:12800: /home/dkennedy_
configure:12803: $? = 0
configure:12818: /home/dkennedy_
configure:12821: $? = 0
configure:12835: result: no
configure:12995: checking dynamic linker characteristics
configure:13577: /home/dkennedy_
configure:13577: $? = 0
configure:13816: result: GNU/Linux ld.so
configure:13938: checking how to hardcode library paths into programs
configure:13963: result: immediate
configure:14515: checking whether stripping libraries is possible
configure:14524: result: yes
configure:14566: checking if libtool supports shared libraries
configure:14568: result: yes
configure:14571: checking whether to build shared libraries
configure:14596: result: yes
configure:14599: checking whether to build static libraries
configure:14603: result: yes
configure:11389: checking how to run the C++ preprocessor
configure:11411: /home/dkennedy_
configure:11411: $? = 0
configure:11426: /home/dkennedy_
conftest.cpp:26:10: fatal error: ac_nonexistent.h: No such file or directory
26 | #include <ac_nonexistent.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:11426: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "LHAPDF"
| #define PACKAGE_TARNAME "LHAPDF"
| #define PACKAGE_VERSION "6.5.4"
| #define PACKAGE_STRING "LHAPDF 6.5.4"
| #define PACKAGE_BUGREPORT "<email address hidden>"
| #define PACKAGE_URL ""
| #define PACKAGE "LHAPDF"
| #define VERSION "6.5.4"
| #define LHAPDF_VERSION "6.5.4"
| #define LHAPDF_VERSION_CODE 60504
| #define HAVE_CXX11 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:11453: result: /home/dkennedy_
configure:11467: /home/dkennedy_
configure:11467: $? = 0
configure:11482: /home/dkennedy_
conftest.cpp:26:10: fatal error: ac_nonexistent.h: No such file or directory
26 | #include <ac_nonexistent.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:11482: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "LHAPDF"
| #define PACKAGE_TARNAME "LHAPDF"
| #define PACKAGE_VERSION "6.5.4"
| #define PACKAGE_STRING "LHAPDF 6.5.4"
| #define PACKAGE_BUGREPORT "<email address hidden>"
| #define PACKAGE_URL ""
| #define PACKAGE "LHAPDF"
| #define VERSION "6.5.4"
| #define LHAPDF_VERSION "6.5.4"
| #define LHAPDF_VERSION_CODE 60504
| #define HAVE_CXX11 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:11647: checking for ld used by /home/dkennedy_
configure:11715: result: /home/dkennedy_
configure:11722: checking if the linker (/home/
configure:11738: result: yes
configure:11793: checking whether the /home/dkennedy_
configure:12871: result: yes
configure:12907: /home/dkennedy_
configure:12910: $? = 0
configure:13391: checking for /home/dkennedy_
configure:13399: result: -fPIC -DPIC
configure:13407: checking if /home/dkennedy_
configure:13426: /home/dkennedy_
configure:13430: $? = 0
configure:13443: result: yes
configure:13466: checking if /home/dkennedy_
configure:13495: result: yes
configure:13507: checking if /home/dkennedy_
configure:13529: /home/dkennedy_
configure:13533: $? = 0
configure:13555: result: yes
configure:13560: checking if /home/dkennedy_
configure:13608: result: yes
configure:13638: checking whether the /home/dkennedy_
configure:13678: result: yes
configure:13820: checking dynamic linker characteristics
configure:14568: result: GNU/Linux ld.so
configure:14633: checking how to hardcode library paths into programs
configure:14658: result: immediate
configure:13580: building LHAGLUE Fortran wrappers
configure:13583: building LHAGLUE C++ wrappers
configure:13631: checking for doxygen
configure:13654: found /usr/bin/doxygen
configure:13666: result: /usr/bin/doxygen
configure:13706: checking for python
configure:13729: found /home/dkennedy_
configure:13741: result: /home/dkennedy_
configure:13757: checking for a version of Python >= '2.1.0'
configure:13783: result: yes
configure:13791: checking for a version of Python >= '2.7.3'
configure:13818: result: yes
configure:13835: checking for the sysconfig Python package
configure:13839: result: yes
configure:13864: checking for Python include path
configure:13893: result: -I/home/
configure:13900: checking for Python library path
configure:13975: result: -L/home/
configure:13982: checking for Python site-packages path
configure:13994: result: /home/dkennedy_
configure:14001: checking for Python platform specific site-packages path
configure:14013: result:
configure:14020: checking python extra libraries
configure:14027: result: -lpthread -ldl -lutil -lrt -lm
configure:14034: checking python extra linking flags
configure:14041: result: -Xlinker -export-dynamic
configure:14048: checking consistency of all components of python development environment
configure:14076: /home/dkennedy_
In file included from conftest.c:30:
/home/dkennedy_
44 | #include <crypt.h>
| ^~~~~~~~~
compilation terminated.
configure:14076: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "LHAPDF"
| #define PACKAGE_TARNAME "LHAPDF"
| #define PACKAGE_VERSION "6.5.4"
| #define PACKAGE_STRING "LHAPDF 6.5.4"
| #define PACKAGE_BUGREPORT "<email address hidden>"
| #define PACKAGE_URL ""
| #define PACKAGE "LHAPDF"
| #define VERSION "6.5.4"
| #define LHAPDF_VERSION "6.5.4"
| #define LHAPDF_VERSION_CODE 60504
| #define HAVE_CXX11 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define LHAPDF_PDFLIB 1
| #define LHAPDF_LHA5CXX 1
| #define HAVE_PYTHON "3.7"
| /* end confdefs.h. */
|
| #include <Python.h>
| int
| main (void)
| {
| Py_Initialize();
| ;
| return 0;
| }
|
configure:14095: result: no
configure:14099: error: in `/home/
configure:14101: error:
Could not link test program to Python. Maybe the main Python library has been
installed in some non-standard library path. If so, pass it to configure,
via the LIBS environment variable.
Example: ./configure LIBS="-
=====
ERROR!
You probably have to install the development version of the Python package
for your distribution. The exact name of this package varies among them.
=====
See `config.log' for more details
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=
ac_cv_c_
ac_cv_cxx_
ac_cv_env_CCC_set=
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_header_
ac_cv_header_
ac_cv_header_
ac_cv_header_
ac_cv_header_
ac_cv_header_
ac_cv_header_
ac_cv_header_
ac_cv_header_
ac_cv_header_
ac_cv_host=
ac_cv_objext=o
ac_cv_path_
ac_cv_path_
ac_cv_path_
ac_cv_path_
ac_cv_path_
ac_cv_path_
ac_cv_path_
ac_cv_path_
ac_cv_path_
ac_cv_prog_
ac_cv_prog_AWK=gawk
ac_cv_prog_
ac_cv_prog_
ac_cv_prog_
ac_cv_prog_
ac_cv_prog_
ac_cv_prog_
ac_cv_prog_
ac_cv_prog_cc_c11=
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_
ac_cv_prog_
ac_cv_prog_
ac_cv_prog_
ac_cv_prog_
am_cv_CC_
am_cv_CXX_
am_cv_make_
am_cv_prog_
ax_cv_cxx_
lt_cv_ar_at_file=@
lt_cv_archive_
lt_cv_deplibs_
lt_cv_file_
lt_cv_file_
lt_cv_ld_
lt_cv_nm_
lt_cv_objdir=.libs
lt_cv_path_
lt_cv_path_
lt_cv_path_
lt_cv_path_
lt_cv_prog_
lt_cv_prog_
lt_cv_prog_
lt_cv_prog_
lt_cv_prog_
lt_cv_prog_
lt_cv_prog_
lt_cv_prog_
lt_cv_prog_
lt_cv_prog_
lt_cv_prog_
lt_cv_sharedlib
lt_cv_shlibpath
lt_cv_sys_
lt_cv_sys_
lt_cv_sys_
lt_cv_sys_
lt_cv_sys_
lt_cv_sys_
lt_cv_to_
lt_cv_to_
lt_cv_truncate_
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} '\''/home/
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_CPPFLAGS=''
AM_CXXFLAGS=''
AM_DEFAULT_
AM_DEFAULT_
AM_LDFLAGS=''
AM_V='$(V)'
AR='/home/
AUTOCONF='${SHELL} '\''/home/
AUTOHEADER=
AUTOMAKE='${SHELL} '\''/home/
AWK='gawk'
CC='/home/
CCDEPMODE=
CFLAGS=
CPPFLAGS='-DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/dkennedy_
CSCOPE='cscope'
CTAGS='ctags'
CXX='/home/
CXXCPP=
CXXDEPMODE=
CXXFLAGS=
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DLLTOOL='false'
DOXYGEN=
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='
ENABLE_
ENABLE_
ENABLE_
ENABLE_
ETAGS='etags'
EXEEXT=''
FGREP='
FILECMD='file'
GREP='/
HAVE_CXX11='1'
INSTALL_
INSTALL_
INSTALL_
INSTALL_
LD='/home/
LDFLAGS='-Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--disable-
LHAPDF_
LHAPDF_
LIBOBJS=''
LIBS='-
LIBTOOL='$(SHELL) $(top_builddir)
LIPO=''
LN_S='ln -s'
LTLIBOBJS=''
LT_SYS_
MAKEINFO='${SHELL} '\''/home/
MANIFEST_TOOL=':'
MKDIR_P=
MPICXX=''
NM='/home/
NMEDIT=''
OBJDUMP=
OBJEXT='o'
OTOOL64=''
OTOOL=''
PACKAGE='LHAPDF'
<email address hidden>'
PACKAGE_
PACKAGE_
PACKAGE_
PACKAGE_URL=''
PACKAGE_
PATH_SEPARATOR=':'
PYTHON=
PYTHON_
PYTHON_
PYTHON_
PYTHON_
PYTHON_
PYTHON_
PYTHON_
PYTHON_PATH=''
PYTHON_PLATFORM=''
PYTHON_
PYTHON_PREFIX=''
PYTHON_
PYTHON_VERSION=''
RANLIB=
SED='/usr/bin/sed'
SET_MAKE=''
SHELL='/bin/bash'
STRIP='
SWVERS=''
USING_MPI_FALSE=''
USING_MPI_TRUE='#'
VERSION='6.5.4'
WITH_CYTHON_
WITH_CYTHON_TRUE=''
WITH_DOXYGEN_
WITH_DOXYGEN_
WITH_OSX_FALSE=''
WITH_OSX_TRUE='#'
WITH_PYTHON_
WITH_PYTHON_TRUE=''
ac_ct_AR=''
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_
am__fastdepCC_
am__fastdepCXX_
am__fastdepCXX_
am__include=
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar=
am__untar=
bindir=
build='
build_alias=
build_cpu='x86_64'
build_os=
build_vendor=
datadir=
datarootdir=
docdir=
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_
host_alias=
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='conda'
htmldir='${docdir}'
includedir=
infodir=
install_
libdir=
libexecdir=
localedir=
localstatedir=
mandir=
mkdir_p=
oldincludedir=
pdfdir='${docdir}'
pkgpyexecdir=''
pkgpythondir=''
prefix='NONE'
program_
psdir='${docdir}'
pyexecdir=''
pythondir=''
runstatedir=
sbindir=
sharedstatedir=
sysconfdir=
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "LHAPDF"
#define PACKAGE_TARNAME "LHAPDF"
#define PACKAGE_VERSION "6.5.4"
#define PACKAGE_STRING "LHAPDF 6.5.4"
#define PACKAGE_BUGREPORT "<email address hidden>"
#define PACKAGE_URL ""
#define PACKAGE "LHAPDF"
#define VERSION "6.5.4"
#define LHAPDF_VERSION "6.5.4"
#define LHAPDF_VERSION_CODE 60504
#define HAVE_CXX11 1
#define HAVE_STDIO_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_STRINGS_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_UNISTD_H 1
#define STDC_HEADERS 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define LHAPDF_PDFLIB 1
#define LHAPDF_LHA5CXX 1
#define HAVE_PYTHON "3.7"
configure: exit 1
Revision history for this message
|
#11 |
But you are not on ARM mac (are you?)
If not your solution is typically simple, you need to install the python-dev package from your repo manager.
(The exact name will depend of your OS)
Cheers,
Olivier
Revision history for this message
|
#12 |
HI Olivier,
Thank you for your response.
I'm on a cluster that uses Ubuntu. I have installed the python dev tools and it hasn't changed the error. Is there anything you suggest in order to check that the g++ compiler is working properly?
I tried running
./configure LIBS="-
but It just gives me the same error about connecting python
Revision history for this message
|
#13 |
Hi,
I was able to install LHAPDF via conda separately and the rest went smoothly.
https:/
https:/
Can you help with this problem?
Provide an answer of your own, or ask Andrew Fee for more information if necessary.