Fork me on GitHub

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 Pavel Demin)

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)

Makefile (74.0 KB ) - added by Pavel Demin 9 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 by Pavel Demin, 9 years ago

Description: modified (diff)

comment:2 by Pavel Demin, 9 years ago

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:

make HAS_PYTHIA8=true

comment:3 by Shibananda Sahoo, 9 years ago

Thanks.

  1. 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 Pavel Demin, 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"?

comment:5 by Shibananda Sahoo, 9 years ago

by Pavel Demin, 9 years ago

Attachment: Makefile added

comment:6 by Pavel Demin, 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 Shibananda Sahoo, 9 years ago

Hi,

Yes, the new makefile is working.

Thanks for your help.

Regards,
Shiba

comment:8 by Pavel Demin, 9 years ago

Resolution: fixed
Status: newclosed

Thanks for the test. I've just committed the new version to our git repository:
14de0c09614362289a125db1dd9710d62aee91aa/git:

Note: See TracTickets for help on using tickets.