Fork me on GitHub

Opened 9 years ago

Last modified 9 years ago

#828 new How to

compiling ExternalFastJet

Reported by: Marianna Testa Owned by:
Priority: minor Milestone:
Component: Delphes code Version: Delphes 3
Keywords: Cc:

Description

Dear experts,
I'm trying to compile Delphes with fastjet.
In the MakeFile in examples/ExternalFastJet
I set the following directories:

FASTJET_DIR = /data02/testa/fastjet_test/fastjet-install
ROOT_DIR = /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.12-x86_64-slc6-gcc48-opt
DELPHES_DIR = /data02/testa/Delphes/Delphes-3.3.2

I got a compilation errors (see log file) like:
/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.12-x86_64-slc6-gcc48-opt/include/Rtypes.h:37:18: error: atomic: No such file or directory

Is the ROOT version ok?

Cheers,
Marianna.

Attachments (1)

log_make (39.6 KB ) - added by Marianna Testa 9 years ago.

Download all attachments as: .zip

Change History (3)

by Marianna Testa, 9 years ago

Attachment: log_make added

comment:1 by Michele Selvaggi, 9 years ago

Hi Marianna,

can you try with a more recent ROOT version?
6.02 is not compatible with Delphes.

Did you succeed in compiling Delphes standalone?

Cheers,
Michele

comment:2 by Michele Selvaggi, 9 years ago

Hi,

It is not related to the ROOT version, but to the flags used for compiling.
You have to replace in the Makefile the CXXFLAG for root like this:

https://github.com/delphes/delphes/commit/173a9df8d9cb5704135d7a6a0df5980c9cd323eb

Please do the following:

1) Edit the Makefile as stated above
2) go to main Delphes dir (../..)
3) Type:

source /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/Gcc/gcc484_x86_64_slc6/setup.sh
source /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.02.12-x86_64-slc6-gcc48-opt/bin/thisroot.sh
make clean
make
cd examples/ExternalFastJet
make clean
make

Can you try this ?

Michele

Note: See TracTickets for help on using tickets.