Fork me on GitHub

Opened 3 years ago

Last modified 3 years ago

#1526 new Bug

make Delphes

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

Description (last modified by Pavel Demin)

Dear experts,
When I try to do

bash-4.2$ wget http://cp3.irmp.ucl.ac.be/downloads/Delphes-3.1.2.tar.gz
bash-4.2$ tar -zxf Delphes-3.1.2.tar.gz
bash-4.2$ cd Delphes-3.1.2/

bash-4.2$ make
Unknown argument "--dicttype"!
Usage: root-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--cflags] [--auxcflags] [--ldflags] [--new] [--nonew] [--libs] [--glibs] [--evelibs] [--bindir] [--libdir] [--incdir] [--etcdir] [--srcdir] [--noauxcflags] [--noauxlibs] [--noldflags] [--has-<feature>] [--arch] [--platform] [--config] [--features] [--ncpu] [--git-revision] [--python-version] [--cc] [--cxx] [--f77] [--ld ] [--help]
>> Generating tmp/classes/ClassesDict.cc
>> Compiling tmp/classes/ClassesDict.cc
>> Generating tmp/modules/ModulesDict.cc
>> Compiling tmp/modules/ModulesDict.cc
>> Generating tmp/external/ExRootAnalysis/ExRootAnalysisDict.cc
>> Compiling tmp/external/ExRootAnalysis/ExRootAnalysisDict.cc
In file included from /cvmfs/sft.cern.ch/lcg/releases/LCG_94/ROOT/6.14.04/x86_64-slc6-gcc62-opt/include/ROOT/TIOFeatures.hxx:19:0,
                 from /cvmfs/sft.cern.ch/lcg/releases/LCG_94/ROOT/6.14.04/x86_64-slc6-gcc62-opt/include/TTree.h:29,
                 from /cvmfs/sft.cern.ch/lcg/releases/LCG_94/ROOT/6.14.04/x86_64-slc6-gcc62-opt/include/TChain.h:24,
                 from external/ExRootAnalysis/ExRootTreeReader.h:18,
                 from tmp/external/ExRootAnalysis/ExRootAnalysisDict.cc:16:
/cvmfs/sft.cern.ch/lcg/releases/gcc/6.2.0-b9934/x86_64-slc6/include/c++/6.2.0/sstream:300:7: error: ‘struct std::__cxx11::basic_stringbuf<_CharT, _Traits, _Alloc>::__xfer_bufptrs’ redeclared with different access
       struct __xfer_bufptrs
       ^~~~~~
make: *** [tmp/external/ExRootAnalysis/ExRootAnalysisDict.o] Error 1

Please could you help me with the error?
Thank you,
Ana

Change History (6)

comment:1 by Ana, 3 years ago

I do

export ATLAS_LOCAL_ROOT_BASE=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase
source ${ATLAS_LOCAL_ROOT_BASE}/user/atlasLocalSetup.sh

lsetup "root 6.14.04-x86_64-slc6-gcc62-opt"


comment:2 by Pavel Demin, 3 years ago

Dear Ana,

Delphes-3.1.2 is a very old version.

Please try a more recent version:

http://cp3.irmp.ucl.ac.be/downloads/Delphes-3.5.0.tar.gz

or

https://github.com/delphes/delphes/archive/master.tar.gz

Best regards,

Pavel

comment:3 by Pavel Demin, 3 years ago

Description: modified (diff)

comment:4 by Ana, 3 years ago

I did what you told me but I get the following error:
root [0] gSystem->Load("../../../MG5_aMC_v3_2_0/Delphes-3.5.0/libDelphes.so");
Error in cling::AutoloadingVisitor::InsertIntoAutoloadingState:

Missing FileEntry for ExRootAnalysis/ExRootTreeReader.h
requested to autoload type ExRootTreeReader

Error in cling::AutoloadingVisitor::InsertIntoAutoloadingState:

Missing FileEntry for ExRootAnalysis/ExRootTreeWriter.h
requested to autoload type ExRootTreeWriter

Error in cling::AutoloadingVisitor::InsertIntoAutoloadingState:

Missing FileEntry for ExRootAnalysis/ExRootTreeBranch.h
requested to autoload type ExRootTreeBranch

Error in cling::AutoloadingVisitor::InsertIntoAutoloadingState:

Missing FileEntry for ExRootAnalysis/ExRootResult.h
requested to autoload type ExRootResult

Error in cling::AutoloadingVisitor::InsertIntoAutoloadingState:

Missing FileEntry for ExRootAnalysis/ExRootClassifier.h
requested to autoload type ExRootClassifier

Error in cling::AutoloadingVisitor::InsertIntoAutoloadingState:

Missing FileEntry for ExRootAnalysis/ExRootFilter.h
requested to autoload type ExRootFilter

Error in cling::AutoloadingVisitor::InsertIntoAutoloadingState:

Missing FileEntry for ExRootAnalysis/ExRootProgressBar.h
requested to autoload type ExRootProgressBar

Error in cling::AutoloadingVisitor::InsertIntoAutoloadingState:

Missing FileEntry for ExRootAnalysis/ExRootConfReader.h
requested to autoload type ExRootConfParam

Error in cling::AutoloadingVisitor::InsertIntoAutoloadingState:

Missing FileEntry for ExRootAnalysis/ExRootConfReader.h
requested to autoload type ExRootConfReader

Error in cling::AutoloadingVisitor::InsertIntoAutoloadingState:

Missing FileEntry for ExRootAnalysis/ExRootTask.h
requested to autoload type ExRootTask

root [1]

comment:5 by Pavel Demin, 3 years ago

I think that gSystem->Load() only works in the Delphes-3.5.0 directory. So, you'll need to go to the Delphes-3.5.0 directory before starting root:

cd ../../../MG5_aMC_v3_2_0/Delphes-3.5.0
root
gSystem->Load("libDelphes.so");

comment:6 by Ana, 3 years ago

That works,thank you!

Note: See TracTickets for help on using tickets.