Opened 9 years ago
Last modified 9 years ago
#658 new Bug
Error installing Delphes from Madgraph
Reported by: | Siddharth | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Delphes code | Version: | Delphes 3 |
Keywords: | Cc: |
Description (last modified by )
Dear Delhphes Team,
I am facing following problem while compilation of Delphes therough Madgraph Interface (MG5 v2.2.3). I have root 6.04 on my system:
Compiling classes/DelphesTF2.cc classes/DelphesTF2.cc: In member function ‘Int_t DelphesTF2::DefinedVariable(TString&, Int_t&)’: classes/DelphesTF2.cc:32:12: error: ‘kVariable’ was not declared in this scope action = kVariable; make: * [tmp/classes/DelphesTF2.o] Error 1
Please give some solution.
Thanks.
Cheers,
Siddharth
Change History (5)
comment:2 by , 9 years ago
Description: | modified (diff) |
---|
comment:3 by , 9 years ago
Hi,
Thanks fro your reply. The relevant details are :
Operating System: Ubuntu 14.04
ROOT version 6.04
Installed ROOT from source
regards
Siddharth
comment:4 by , 9 years ago
Thanks for the information about your system.
I've just tested Delphes 3.2.0 with ROOT 6.02.05 and ROOT 6.04.00.
With ROOT 6.02.05 everything works.
With ROOT 6.04.00 I can reproduce the problem.
Here are the commands that I used:
cd /work/root/ wget http://root.cern.ch/download/root_v6.04.00.Linux-ubuntu14-x86_64-gcc4.8.tar.gz tar -zxf root_v6.04.00.Linux-ubuntu14-x86_64-gcc4.8.tar.gz mv root root_6.04.00 export ROOTSYS=/work/root/root_6.04.00 export PATH=$ROOTSYS/bin:$PATH export PYTHONPATH=$ROOTSYS/lib:$PYTHONPATH export LD_LIBRARY_PATH=$ROOTSYS/lib:$LD_LIBRARY_PATH cd /work/delphes/ wget http://cp3.irmp.ucl.ac.be/downloads/Delphes-3.2.0.tar.gz cd Delphes-3.2.0 make
comment:5 by , 9 years ago
Looking at the ROOT 6.04 release notes
https://root.cern.ch/root/html604/notes/release-notes.html#tformula
I've found that a new version of the TFormula class was introduced and this version is not backward compatible with the old TFormula class.
As a workaround, I can propose to use Delphes 3.2.0 with ROOT 6.02.
There are already two tickets about the same problem: #431 and #632.
However, I can't reproduce this problem.
I tried on Linux and MacOSX with pre-built ROOT binaries and building ROOT from sources.
If you could describe the exact steps (starting from the OS and compiler versions) to reproduce this problem, then I could try to reproduce them myself.
Regards,
Pavel