Fork me on GitHub

Opened 9 years ago

Last modified 4 years ago

#712 new Bug

Error installing Delphes 3 with MadGraph5.2.3.0_aMC@NLO on lxplus.cern.ch

Reported by: Shu Li Owned by:
Priority: critical Milestone:
Component: Delphes code Version: Delphes 3
Keywords: Cc:

Description

Pre-config:

export ROOTSYS=/usr
export PATH=$PATH:$ROOTSYS/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ROOTSYS/lib
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$ROOTSYS/lib

MG5_aMC>install Delphes
Downloading http://cp3.irmp.ucl.ac.be/downloads/Delphes-3-current.tar.gz
--2015-07-22 16:59:18-- http://cp3.irmp.ucl.ac.be/downloads/Delphes-3-current.tar.gz
Resolving cp3.irmp.ucl.ac.be... 130.104.48.109
Connecting to cp3.irmp.ucl.ac.be|130.104.48.109|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1678203 (1.6M) [application/x-gzip]
Saving to: “Delphes.tgz”

100%[==================================================================================================================================================================>] 1,678,203 2.19M/s in 0.7s

2015-07-22 16:59:19 (2.19 MB/s) - “Delphes.tgz” saved [1678203/1678203]

compile Delphes. This might takes a while.

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
Compiling classes/DelphesHepMCReader.cc

classes/DelphesHepMCReader.cc:28:26: error: TDatabasePDG.h: No such file or directory
classes/DelphesHepMCReader.cc:29:26: error: TParticlePDG.h: No such file or directory
classes/DelphesHepMCReader.cc: In constructor ‘DelphesHepMCReader::DelphesHepMCReader()’:
classes/DelphesHepMCReader.cc:51: error: incomplete type ‘TDatabasePDG’ used in nested name specifier
classes/DelphesHepMCReader.cc: In member function ‘void DelphesHepMCReader::AnalyzeParticle(DelphesFactory*, TObjArray*, TObjArray*, TObjArray*)’:
classes/DelphesHepMCReader.cc:328: error: ‘TParticlePDG’ was not declared in this scope
classes/DelphesHepMCReader.cc:328: error: ‘pdgParticle’ was not declared in this scope
classes/DelphesHepMCReader.cc:338: error: invalid use of incomplete type ‘struct TDatabasePDG’
./classes/DelphesHepMCReader.h:24: error: forward declaration of ‘struct TDatabasePDG’
make: * [tmp/classes/DelphesHepMCReader.o] Error 1
Error detected during the compilation. Please check the compilation error and run make manually.
MG5_aMC>

Any intuition or solution? Many thanks

Change History (4)

comment:1 by Michele Selvaggi, 9 years ago

Hi,

Given your compilation errors, it looks like ROOT was not properly installed before compiling Delphes.

Cheers,
Michele

comment:2 by Shu Li, 9 years ago

Hi Michele,

The ROOT should have been well configured as :
export ROOTSYS=/usr
export PATH=$PATH:$ROOTSYS/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ROOTSYS/lib
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$ROOTSYS/lib

and it runs all fine the ROOT.

So any other intuition or solution?

best,
Shu

comment:3 by Pavel Demin, 9 years ago

Have you tried to configure ROOT as it's recommended on the ROOT download page?

Here is the page:
https://root.cern.ch/drupal/content/production-version-534

and were are the commands:

. /afs/cern.ch/sw/lcg/external/gcc/4.8/x86_64-slc6/setup.sh
. /afs/cern.ch/sw/lcg/app/releases/ROOT/5.34.32/x86_64-slc6-gcc48-opt/root/bin/thisroot.sh

comment:4 by RuhiTMany, 4 years ago

If there was a problem with the installation of these packages, red ... as detector simulator: pgs=OFF 3 Run Delphes as detector simulator: ... production cross section can be found

Lottery winning spell

Note: See TracTickets for help on using tickets.