Opened 9 years ago
Closed 9 years ago
#845 closed Bug (fixed)
Installing Delphes
Reported by: | Shibananda Sahoo | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Delphes code | Version: | Delphes 3 |
Keywords: | Cc: |
Description (last modified by )
Why this error message is coming during make ?
> Compiling converters/hepmc2pileup.cpp >> Building hepmc2pileup /home/users/rs/shibananda/RESEARCH/pythia8-master/lib/libpythia8.so: undefined reference to `evolvepdfm_' /home/users/rs/shibananda/RESEARCH/pythia8-master/lib/libpythia8.so: undefined reference to `initpdfm_' /home/users/rs/shibananda/RESEARCH/pythia8-master/lib/libpythia8.so: undefined reference to `setlhaparm_' /home/users/rs/shibananda/RESEARCH/pythia8-master/lib/libpythia8.so: undefined reference to `initpdfsetbynamem_' /home/users/rs/shibananda/RESEARCH/pythia8-master/lib/libpythia8.so: undefined reference to `initpdfsetm_' /home/users/rs/shibananda/RESEARCH/pythia8-master/lib/libpythia8.so: undefined reference to `evolvepdfphotonm_' collect2: error: ld returned 1 exit status make: *** [hepmc2pileup] Error 1
Attachments (1)
Change History (9)
comment:1 by , 9 years ago
Description: | modified (diff) |
---|
comment:2 by , 9 years ago
comment:3 by , 9 years ago
Thanks.
- I am using Delphes-3.3.2. I am using "make" command to make.
Is there any Launchpad platform for Delphes like Madgraph 5 and Madanalysis 5 ?
comment:4 by , 9 years ago
Thanks for the details.
I'm not sure if I understand why the Pythia8 libraries are linked with hepmc2pileup. Normally, if Delphes compiled with make without any parameters, then it does not require the Pythia8 and LHAPDF libraries.
Anyway, all the undefined references are to the functions from the LHAPDF library. Could you try to add LHAPDF to the list of libraries used by Makefile? It can be done by editing the lines 47-48 in Makefile to make the them look as the following:
OPT_LIBS += -lLHAPDF DELPHES_LIBS += $(OPT_LIBS) DISPLAY_LIBS += $(OPT_LIBS)
What do you mean by "Launchpad platform"?
by , 9 years ago
comment:6 by , 9 years ago
Thanks for the test.
I think that the problem could be with the lines 40-45 in Makefile. Attached is a new version that I expect to work better in your case. Could you try to compile Delphes with this new Makefile?
There is no https://answers.launchpad.net/delphes. We are using this trac system and github.
comment:7 by , 9 years ago
Hi,
Yes, the new makefile is working.
Thanks for your help.
Regards,
Shiba
comment:8 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Thanks for the test. I've just committed the new version to our git repository:
14de0c09614362289a125db1dd9710d62aee91aa/git:
Could you please provide more details? What Delphes version are you installing? What command are you using to run make?
For example, with Delphes 3.3.2, I'd expect this kind of error message only if when running make with the HAS_PYTHIA8 parameter set to true: