Opened 6 years ago
#1321 new How to
Delphes Installation Error
Reported by: | SAUMYEN KUNDU | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Delphes miscellaneous | Version: | Delphes 3 |
Keywords: | Cc: |
Description
Hi,
I wanted to install Delphes inside mg5 directory. But it was showing some error report. Initially it was not getting the path to root. I plugged it by adding the following line to the '.bashrc' file:
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
But, after that it's again showing some error messeges. I am quoting the full error message:
Delphes.tgz 100%[===================================================================>] 4.86M 475KB/s in 11s
2018-07-16 19:54:16 (462 KB/s) - ‘Delphes.tgz’ saved [5092986/5092986]
compile Delphes. This might take a while.
Generating tmp/classes/ClassesDict.cc
Error: cannot open file "TLorentzVector.h" classes/DelphesClasses.h:38:
Error: Symbol TLorentzVector TrimmedP4[5] is not defined in current scope classes/DelphesClasses.h:390:
Error: Symbol TLorentzVector PrunedP4[5] is not defined in current scope classes/DelphesClasses.h:391:
Error: Symbol TLorentzVector SoftDroppedP4[5] is not defined in current scope classes/DelphesClasses.h:392:
Error: Symbol TLorentzVector Area is not defined in current scope classes/DelphesClasses.h:405:
Error: Symbol TLorentzVector Momentum,Position,InitialPosition,PositionError,Area is not defined in current scope classes/DelphesClasses.h:562:
Error: Symbol TLorentzVector TrimmedP4[5] is not defined in current scope classes/DelphesClasses.h:627:
Error: Symbol TLorentzVector PrunedP4[5] is not defined in current scope classes/DelphesClasses.h:628:
Error: Symbol TLorentzVector SoftDroppedP4[5] is not defined in current scope classes/DelphesClasses.h:629:
Warning: Error occurred during reading source files
Warning: Error occurred during dictionary source generation
!!!Removing tmp/classes/ClassesDict.cc tmp/classes/ClassesDict.h !!!
Error: rootcint: error loading headers...
Makefile:2258: recipe for target 'tmp/classes/ClassesDict.cc' failed
make: * [tmp/classes/ClassesDict.cc] Error 1
Error detected during the compilation. Please check the compilation error and run make manually.
MG5_aMC>
Can it be related to root's version? I'm using root version 5.34/30. I am absolutely blank what to do. Please help.
Regards,
Saumyen Kundu