Delphes problem

Asked by Nico

Hi, I just recently set up MadGraph5 on my Ubuntu 16.04, but it is not correctly working.
Delphes didn't install on MadGrpah5.
I just tried above command.
Command "install Delphes " interrupted in sub-command:
 "install Delphes" with error:

 What is the problem?

Question information

Language:
English Edit question
Status:
Answered
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#1

Hi,

Which error is reported? Like this no clue what the problem can be.
Note that in general Delphes installation problem are not handle by us but by Delphes author.
So even if you paste the error here, it is likely that my answer will be "Ask Delphes author"
But this should not refrain you to post the error, maybe this is something that I know how to fix.

Cheers,

Olivier

> On 31 Aug 2017, at 05:23, bulgaa <email address hidden> wrote:
>
> New question #657155 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/657155
>
> Hi, I just recently set up MadGraph5 on my Ubuntu 16.04, but it is not correctly working.
> Delphes didn't install on MadGrpah5.
> I just tried above command.
> Command "install Delphes " interrupted in sub-command:
> "install Delphes" with error:
>
> What is the problem?
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
Nico (nico818) said :
#2

Hi Olivier,

Thanks your

I just tried 2 ways.

1. Writing install Delphes code is displayed that error.

MG5_aMC>install Delphes
Command "install Delphes" interrupted with error:
InvalidCmd : The environment variable ROOTSYS is not configured.
 You can set it by adding the following lines in your .bashrc [.bash_profile for mac]:
 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
 This will take effect only in a NEW terminal.

2. Second one is downloading from source.

wget http://cp3.irmp.ucl.ac.be/downloads/Delphes-3.2.0.tar.gz
tar -xf Delphes-3.2.0.tar.gz
cd Delphes-3.2.0/
make
>> Generating tmp/classes/ClassesDict.cc
Error: cannot open file "TLorentzVector.h" classes/DelphesClasses.h:38:
Error: Symbol TLorentzVector Momentum,Position,Area is not defined in current scope classes/DelphesClasses.h:466:
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:1975: recipe for target 'tmp/classes/ClassesDict.cc' failed
make: *** [tmp/classes/ClassesDict.cc] Error 1

Cheers,
Bulgaa.

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#3

Hi,

So did you include the line:
"
> 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
"
in your .bashrc profile (or better the one suggested by root when you install it)

The problem is that without those lines, Delphes is not able to find root library needed to be compiled.

Cheers,

Olivier

> On 31 Aug 2017, at 10:54, bulgaa <email address hidden> wrote:
>
> Question #657155 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/657155
>
> Status: Answered => Open
>
> bulgaa is still having a problem:
> Hi Olivier,
>
> Thanks your
>
> I just tried 2 ways.
>
> 1. Writing install Delphes code is displayed that error.
>
> MG5_aMC>install Delphes
> Command "install Delphes" interrupted with error:
> InvalidCmd : The environment variable ROOTSYS is not configured.
> You can set it by adding the following lines in your .bashrc [.bash_profile for mac]:
> 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
> This will take effect only in a NEW terminal.
>
> 2. Second one is downloading from source.
>
> wget http://cp3.irmp.ucl.ac.be/downloads/Delphes-3.2.0.tar.gz
> tar -xf Delphes-3.2.0.tar.gz
> cd Delphes-3.2.0/
> make
>>> Generating tmp/classes/ClassesDict.cc
> Error: cannot open file "TLorentzVector.h" classes/DelphesClasses.h:38:
> Error: Symbol TLorentzVector Momentum,Position,Area is not defined in current scope classes/DelphesClasses.h:466:
> 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:1975: recipe for target 'tmp/classes/ClassesDict.cc' failed
> make: *** [tmp/classes/ClassesDict.cc] Error 1
>
>
> Cheers,
> Bulgaa.
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Can you help with this problem?

Provide an answer of your own, or ask Nico for more information if necessary.

To post a message you must log in.