Fork me on GitHub

Opened 11 years ago

Closed 10 years ago

#263 closed Bug (fixed)

Delphes (via MadGraph) no longer functions with RooFit enabled

Reported by: Travis Martin Owned by:
Priority: critical Milestone:
Component: Delphes code Version: Delphes 3
Keywords: Cc:

Description

I recently enabled RooFit on my computers (3 of them) in order to use some of the functionality. After doing so, however, I found that I was unable to run Delphes (through MadGraph5, I have not tried Delphes stand-alone, but the MG5 people don't help with Delphes problems) any longer.

The error I get on our computing cluster is:

WARNING: /data/data069/tmartin/madgraph/Delphes/DelphesSTDHEP: error while loading shared libraries: libCore.so: cannot open shared object file: No such file or directory
/data/data069/tmartin/madgraph/Delphes/root2lhco: error while loading shared libraries: libCore.so: cannot open shared object file: No such file or directory

Fail to create LHCO events from DELPHES

I tried disabling RooFit on my personal laptop, but am still unable to get Delphes to run. I now get this error in the delphes.log file:

dyld: lazy symbol binding failed: Symbol not found: ZN5TMath4NintEf

Referenced from: /Users/mactop/madgraph/Delphes/root2lhco
Expected in: /Users/mactop/root/lib/libMathCore.so

dyld: Symbol not found: ZN5TMath4NintEf

Referenced from: /Users/mactop/madgraph/Delphes/root2lhco
Expected in: /Users/mactop/root/lib/libMathCore.so

../bin/internal/run_delphes3: line 30: 65682 Trace/BPT trap: 5 $delphesdir/root2lhco delphes.root delphes_events.lhco

And when I try to delete and recompile Delphes, I get this error:

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=/home/tmartin/root
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

Of note, my $ROOTSYS and $PATH variables are set correctly, and I can run ROOT fine for everything else. I use ROOT libraries for my own code development, and those codes do run just fine. Talking with the ROOT people they say that ROOT is working correctly and that they cannot see any problems.

Thus, I must resign myself to Delphes being the problem.

Change History (3)

comment:1 by Pavel Demin, 11 years ago

From the first error messages, I'd say that you installed a more recent ROOT version and Delphes should be rebuilt.

It's strange why MG5 does not see your ROOTSYS etc environment variables. I suggest to ask MadGraph developers to help you with this environment variables problem.

Could you, please try to build Delphes without running MG5?

Here are the commands:

# setup ROOT environment variables

wget http://cp3.irmp.ucl.ac.be/downloads/Delphes-3.0.12.tar.gz
tar -zxf Delphes-3.0.12.tar.gz

cd Delphes-3.0.12
make

More instructions can be found at

https://cp3.irmp.ucl.ac.be/projects/delphes/wiki/WorkBook/QuickTour

comment:2 by Travis Martin, 11 years ago

Okay, so I keep getting the error within MG5, but I do not get that error when I use the commands you provided.

Thanks for the help! I will take this up with them.

comment:3 by Pavel Demin, 10 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.