Fork me on GitHub

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#1314 closed Bug (fixed)

Makefile:2318: recipe for target 'hepmc2pileup' failed

Reported by: Inga Strümke Owned by:
Priority: major Milestone:
Component: Delphes code Version: Delphes 3
Keywords: Cc:

Description (last modified by Pavel Demin)

I get the following error message quite far into the installation process.

Any help in the matter would be greatly appreciated!

>> Building hepmc2pileup
tmp/classes/ClassesDict.o: In function `(anonymous namespace)::TriggerDictionaryInitialization_ClassesDict_Impl()':
ClassesDict.cc:(.text+0x3e90): undefined reference to `TROOT::RegisterModule(char const*, char const**, char const**, char const*, char const*, void (*)(), std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int> > > const&, char const**)'
tmp/external/ExRootAnalysis/ExRootAnalysisDict.o: In function `(anonymous namespace)::TriggerDictionaryInitialization_ExRootAnalysisDict_Impl()':
ExRootAnalysisDict.cc:(.text+0x2160): undefined reference to `TROOT::RegisterModule(char const*, char const**, char const**, char const*, char const*, void (*)(), std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int> > > const&, char const**)'
tmp/modules/ModulesDict.o: In function `(anonymous namespace)::TriggerDictionaryInitialization_ModulesDict_Impl()':
ModulesDict.cc:(.text+0xedd0): undefined reference to `TROOT::RegisterModule(char const*, char const**, char const**, char const*, char const*, void (*)(), std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int> > > const&, char const**)'
tmp/modules/FastJetDict.o: In function `(anonymous namespace)::TriggerDictionaryInitialization_FastJetDict_Impl()':
FastJetDict.cc:(.text+0x1b10): undefined reference to `TROOT::RegisterModule(char const*, char const**, char const**, char const*, char const*, void (*)(), std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int> > > const&, char const**)'
collect2: error: ld returned 1 exit status
Makefile:2318: recipe for target 'hepmc2pileup' failed
make: *** [hepmc2pileup] Error 1

Attachments (1)

Makefile (79.1 KB ) - added by Inga Strümke 6 years ago.
Makefile

Download all attachments as: .zip

Change History (9)

by Inga Strümke, 6 years ago

Attachment: Makefile added

Makefile

comment:1 by Pavel Demin, 6 years ago

Description: modified (diff)

Please provide more details about your setup. What is the Delphes version, what is the ROOT version, how ROOT was installed, what is the OS?

comment:2 by Inga Strümke, 6 years ago

Thank you for the reply.
Delphes is version 3.4.1, ROOT is 6.12/04 and was built for linuxx8664gcc in Deceber 2017, the OS is Ubuntu 16.04.4 LTS.

comment:3 by Pavel Demin, 6 years ago

Thank you for the details.

Have you built ROOT from the sources or downloaded the pre-built binaries from https://root.cern.ch/content/release-61204?

comment:4 by Inga Strümke, 6 years ago

I have built from the sources

comment:5 by Pavel Demin, 6 years ago

I have built from the sources

OK. In this case, I suspect that the undefined reference to `TROOT::RegisterModule` error message indicates that something is wrong with the ROOT installation.

I'd suggest to try the binary distribution built by the ROOT developers:

https://root.cern.ch/download/root_v6.12.04.Linux-ubuntu16-x86_64-gcc5.4.tar.gz

comment:6 by Pavel Demin, 6 years ago

Resolution: fixed
Status: newclosed

comment:7 by Inga Strümke, 6 years ago

Hello again
I finally managed to install the most recent Delphes version, but can't really test it. The README-file's test example with Z->ee yields the output pasted below.
Is this due to a faulty installation or something else?
Thanks!

** INFO: adding module        ParticlePropagator       ParticlePropagator       
** INFO: adding module        Efficiency               ChargedHadronTrackingEfficiency
** INFO: adding module        Efficiency               ElectronTrackingEfficiency
** INFO: adding module        Efficiency               MuonTrackingEfficiency   
** INFO: adding module        MomentumSmearing         ChargedHadronMomentumSmearing
** INFO: adding module        MomentumSmearing         ElectronMomentumSmearing 
** INFO: adding module        MomentumSmearing         MuonMomentumSmearing     
** INFO: adding module        Merger                   TrackMerger              
** INFO: adding module        SimpleCalorimeter        ECal                     
** INFO: adding module        SimpleCalorimeter        HCal                     
** INFO: adding module        PdgCodeFilter            ElectronFilter           
** INFO: adding module        PdgCodeFilter            ChargedHadronFilter      
** INFO: adding module        Merger                   Calorimeter              
** INFO: adding module        Merger                   EFlowMerger              
** INFO: adding module        PdgCodeFilter            EFlowFilter              
** INFO: adding module        Efficiency               PhotonEfficiency         
** INFO: adding module        Isolation                PhotonIsolation          
** INFO: adding module        Efficiency               ElectronEfficiency       
** INFO: adding module        Isolation                ElectronIsolation        
** INFO: adding module        Efficiency               MuonEfficiency           
** INFO: adding module        Isolation                MuonIsolation            
** INFO: adding module        Merger                   MissingET                
** INFO: adding module        Merger                   ScalarHT                 
** INFO: adding module        PdgCodeFilter            NeutrinoFilter           
** INFO: adding module        FastJetFinder            GenJetFinder             
** INFO: adding module        Merger                   GenMissingET             
** INFO: adding module        FastJetFinder            FastJetFinder            
** INFO: adding module        FastJetFinder            FatJetFinder             
** INFO: adding module        EnergyScale              JetEnergyScale           
** INFO: adding module        JetFlavorAssociation     JetFlavorAssociation     
** INFO: adding module        BTagging                 BTagging                 
** INFO: adding module        TauTagging               TauTagging               
** INFO: adding module        UniqueObjectFinder       UniqueObjectFinder       
** INFO: adding module        TreeWriter               TreeWriter               
** INFO: initializing module  Delphes                  
** INFO: initializing module  ParticlePropagator       
** INFO: initializing module  ChargedHadronTrackingEfficiency
** INFO: initializing module  ElectronTrackingEfficiency
** INFO: initializing module  MuonTrackingEfficiency   
** INFO: initializing module  ChargedHadronMomentumSmearing
** INFO: initializing module  ElectronMomentumSmearing 
** INFO: initializing module  MuonMomentumSmearing     
** INFO: initializing module  TrackMerger              
** INFO: initializing module  ECal                     
** INFO: initializing module  HCal                     
** INFO: initializing module  Calorimeter              
** INFO: initializing module  EFlowMerger              
** INFO: initializing module  EFlowFilter              
** INFO: initializing module  PhotonEfficiency         
** INFO: initializing module  PhotonIsolation          
** INFO: initializing module  ElectronFilter           
** INFO: initializing module  ElectronEfficiency       
** INFO: initializing module  ElectronIsolation        
** INFO: initializing module  ChargedHadronFilter      
** INFO: initializing module  MuonEfficiency           
** INFO: initializing module  MuonIsolation            
** INFO: initializing module  MissingET                
** INFO: initializing module  NeutrinoFilter           
** INFO: initializing module  GenJetFinder             
#--------------------------------------------------------------------------
#                         FastJet release 3.2.1
#                 M. Cacciari, G.P. Salam and G. Soyez                  
#     A software package for jet finding and analysis at colliders      
#                           http://fastjet.fr                           
#	                                                                      
# Please cite EPJC72(2012)1896 [arXiv:1111.6097] if you use this package
# for scientific work and optionally PLB641(2006)57 [hep-ph/0512210].   
#                                                                       
# FastJet is provided without warranty under the terms of the GNU GPLv2.
# It uses T. Chan's closest pair algorithm, S. Fortune's Voronoi code
# and 3rd party plugin jet algorithms. See COPYING file for details.
#--------------------------------------------------------------------------
** INFO: initializing module  GenMissingET             
** INFO: initializing module  FastJetFinder            
** INFO: initializing module  FatJetFinder             
** INFO: initializing module  JetEnergyScale           
** INFO: initializing module  JetFlavorAssociation     
** INFO: initializing module  BTagging                 
** INFO: initializing module  TauTagging               
** INFO: initializing module  UniqueObjectFinder       
** INFO: initializing module  ScalarHT                 
** INFO: initializing module  TreeWriter               
** Reading z_ee.hep
** [################################################################] (100.00%)
** Exiting...
Error in <TList::Clear>: A list is accessing an object (0x34ef750) already deleted (list name = TList)
Last edited 6 years ago by Pavel Demin (previous) (diff)

comment:8 by Pavel Demin, 6 years ago

This error is already fixed in our git repository. Here is a link to the fix:
https://github.com/delphes/delphes/commit/2fedc726ee59739a21376817ca09ac05849e2f12

Since the error appears after the output file is already written to the disk, it's safe to use Delphes without applying this fix.

Note: See TracTickets for help on using tickets.