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)
Change History (3)
by , 9 years ago
comment:1 by , 9 years ago
comment:2 by , 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
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