Fork me on GitHub

Opened 7 years ago

Closed 7 years ago

#1153 closed Bug (fixed)

Error while installing delphes

Reported by: Sayan Owned by:
Priority: major Milestone:
Component: Delphes code Version: Delphes 3
Keywords: Cc:

Description (last modified by Pavel Demin)

Upon typing make the following error is being shown in the end:

tmp/examples/CaloGrid.o: In function `main':
CaloGrid.cpp:(.text.startup+0xd62): undefined reference to `TString::TString(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
CaloGrid.cpp:(.text.startup+0xdf3): undefined reference to `TString::TString(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
collect2: error: ld returned 1 exit status
Makefile:2320: recipe for target 'CaloGrid' failed
make: *** [CaloGrid] Error 1
make: *** Waiting for unfinished jobs....

p.s.: root is working

Change History (7)

comment:1 by Michael Albergo, 7 years ago

Hi,

Did you ever resolve this? I am having the same issue now and would love some advice...

Best,
Michael

comment:2 by Pavel Demin, 7 years ago

Please provide more details about your setup: OS version, C++ compiler version, ROOT version, how ROOT was installed, Delphes version.

in reply to:  2 comment:3 by Michael Albergo, 7 years ago

Replying to pavel:

Please provide more details about your setup: OS version, C++ compiler version, ROOT version, how ROOT was installed, Delphes version.

Hi there: I am using Root 5.34.36, Ubuntu 16.04.5, gcc 5.4.0, I downloaded root from the compiled binaries on the ROOT website, Delphes 3.4.1

comment:4 by Pavel Demin, 7 years ago

Thanks for the information. I've just checked the ROOT 5.34.36 binaries at https://root.cern.ch/content/release-53436. I don't see any binaries for Ubuntu 16.04 and gcc 5.4. If you're using binaries for Ubuntu 14.04 and gcc 4.8, then they are incompatible with your OS and gcc and that's why you obtain the errors when building Delphes.

I'd suggest you to switch to ROOT 6.12.04. The binaries for Ubuntu 16.04 can be downloaded from https://root.cern.ch/content/release-61204.


in reply to:  4 comment:5 by Michael Albergo, 7 years ago

Dear Pavel,

Thanks for the information. That was the realization I had after sending that message. I wound up going with root 6.08 after some issues with the latest version.

My overall goal is to get pythia and delphes running together and I saw this link: https://cp3.irmp.ucl.ac.be/projects/delphes/wiki/WorkBook/Pythia8

where there is a bit of detail about how to unite the two. However, is there a certain directory in which these commands must be run?

Also, if you could point me to a tutorial (either video or not) of an overview of Delphes, I would sincerely appreciate it. I'm just getting my hands into it for the first time..

Thank you for your help! I'm very grateful.

All the best,
Michael

Replying to pavel:

Thanks for the information. I've just checked the ROOT 5.34.36 binaries at https://root.cern.ch/content/release-53436. I don't see any binaries for Ubuntu 16.04 and gcc 5.4. If you're using binaries for Ubuntu 14.04 and gcc 4.8, then they are incompatible with your OS and gcc and that's why you obtain the errors when building Delphes.

I'd suggest you to switch to ROOT 6.12.04. The binaries for Ubuntu 16.04 can be downloaded from https://root.cern.ch/content/release-61204.


comment:6 by Pavel Demin, 7 years ago

However, is there a certain directory in which these commands must be run?

The Pythia installation commands can be run from any directory.

Other command should be run from the Delphes' source directory. The one that is created when you unpack Delphes-3.4.1.tar.gz.

Also, if you could point me to a tutorial (either video or not) of an overview of Delphes, I would sincerely appreciate it.

As far as I know, all the documentation is in the WorkBook section of the wiki pages and in the publication:

https://cp3.irmp.ucl.ac.be/projects/delphes/wiki/WorkBook
https://arxiv.org/abs/1307.6346

Some slides of some past tutorials can be found at

https://cp3.irmp.ucl.ac.be/projects/delphes/wiki/WorkBook/Tutorials

comment:7 by Pavel Demin, 7 years ago

Description: modified (diff)
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.