While running a madanalysis code using a root file located in a separate delphes folder, I get the following error. Can anyone tell me the reason?
Error in cling::AutoloadingVisitor::InsertIntoAutoloadingState:
Missing FileEntry for ExRootAnalysis/ExRootTreeReader.h
requested to autoload type ExRootTreeReader
Error in cling::AutoloadingVisitor::InsertIntoAutoloadingState:
Missing FileEntry for ExRootAnalysis/ExRootTreeWriter.h
requested to autoload type ExRootTreeWriter
Error in cling::AutoloadingVisitor::InsertIntoAutoloadingState:
Missing FileEntry for ExRootAnalysis/ExRootTreeBranch.h
requested to autoload type ExRootTreeBranch
Error in cling::AutoloadingVisitor::InsertIntoAutoloadingState:
Missing FileEntry for ExRootAnalysis/ExRootResult.h
requested to autoload type ExRootResult
Error in cling::AutoloadingVisitor::InsertIntoAutoloadingState:
Missing FileEntry for ExRootAnalysis/ExRootClassifier.h
requested to autoload type ExRootClassifier
Error in cling::AutoloadingVisitor::InsertIntoAutoloadingState:
Missing FileEntry for ExRootAnalysis/ExRootFilter.h
requested to autoload type ExRootFilter
Error in cling::AutoloadingVisitor::InsertIntoAutoloadingState:
Missing FileEntry for ExRootAnalysis/ExRootProgressBar.h
requested to autoload type ExRootProgressBar
Error in cling::AutoloadingVisitor::InsertIntoAutoloadingState:
Missing FileEntry for ExRootAnalysis/ExRootConfReader.h
requested to autoload type ExRootConfParam
Error in cling::AutoloadingVisitor::InsertIntoAutoloadingState:
Missing FileEntry for ExRootAnalysis/ExRootConfReader.h
requested to autoload type ExRootConfReader
Error in cling::AutoloadingVisitor::InsertIntoAutoloadingState:
Missing FileEntry for ExRootAnalysis/ExRootTask.h
requested to autoload type ExRootTask
=> file size: 883.50 Mo
=> sample format: Delphes-ROOT file produced by Delphes.
=> progress: [> ]
*** Break *** segmentation violation
hi Axel
when I use Root directly, I managed to solve the problem by specifying the path to libDelphes.so. But when I’m on madanalysis and I want to treat a root file in another directory I get the error message quoted below
Error in cling::AutoloadingVisitor::InsertIntoAutoloadingState:
Missing FileEntry for ExRootAnalysis/ExRootTreeReader.h
requested to autoload type ExRootTreeReader
Error in cling::AutoloadingVisitor::InsertIntoAutoloadingState:
Missing FileEntry for ExRootAnalysis/ExRootTreeWriter.h
requested to autoload type ExRootTreeWriter
Error in cling::AutoloadingVisitor::InsertIntoAutoloadingState:
Missing FileEntry for ExRootAnalysis/ExRootTreeBranch.h
requested to autoload type ExRootTreeBranch
Error in cling::AutoloadingVisitor::InsertIntoAutoloadingState:
Missing FileEntry for ExRootAnalysis/ExRootResult.h
requested to autoload type ExRootResult
Error in cling::AutoloadingVisitor::InsertIntoAutoloadingState:
Missing FileEntry for ExRootAnalysis/ExRootClassifier.h
requested to autoload type ExRootClassifier
Error in cling::AutoloadingVisitor::InsertIntoAutoloadingState:
Missing FileEntry for ExRootAnalysis/ExRootFilter.h
requested to autoload type ExRootFilter
Error in cling::AutoloadingVisitor::InsertIntoAutoloadingState:
Missing FileEntry for ExRootAnalysis/ExRootProgressBar.h
requested to autoload type ExRootProgressBar
Error in cling::AutoloadingVisitor::InsertIntoAutoloadingState:
Missing FileEntry for ExRootAnalysis/ExRootConfReader.h
requested to autoload type ExRootConfParam
Error in cling::AutoloadingVisitor::InsertIntoAutoloadingState:
Missing FileEntry for ExRootAnalysis/ExRootConfReader.h
requested to autoload type ExRootConfReader
Error in cling::AutoloadingVisitor::InsertIntoAutoloadingState:
Missing FileEntry for ExRootAnalysis/ExRootTask.h
requested to autoload type ExRootTask
=> file size: 883.50 Mo
=> sample format: Delphes-ROOT file produced by Delphes.
=> progress: [> ]
*** Break *** segmentation violation
So first of all - the crash is very likely unrelated; you might want to use a debugger to find out what the problem is.
Even if madanalysis is the binary you run, it should still support ROOT_INCLUDE_PATH… But you need to specify ROOT_INCLUDE_PATH pointing to the directory that containsExRootAnalysis/ExRootTreeReader.h (i.e. the parent directory of ExRootAnalysis).
I started madanalysis in debug mode and he sent me this
MA5: Package used for graphical rendering: Root
MA5-DEBUG: Creating symbolic link from /home/hep-ph/ROOT/bin/root-config
MA5-DEBUG: to /home/hep-ph/MG5_aMC_v2_6_1/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/ExternalSymLink/Bin/root-config …
MA5-DEBUG: Creating symbolic link from /home/hep-ph/MG5_aMC_v2_6_1/HEPTools/madanalysis5/madanalysis5/tools/fastjet/bin/fastjet-config
MA5-DEBUG: to /home/hep-ph/MG5_aMC_v2_6_1/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/ExternalSymLink/Bin/fastjet-config …
MA5-DEBUG: Creating symbolic link from /home/hep-ph/MG5_aMC_v2_6_1/HEPTools/madanalysis5/madanalysis5/tools/zlib/lib/libz.so
MA5-DEBUG: to /home/hep-ph/MG5_aMC_v2_6_1/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/ExternalSymLink/Lib/libz.so …
MA5-DEBUG: Creating symbolic link from /home/hep-ph/MG5_aMC_v2_6_1/HEPTools/madanalysis5/madanalysis5/tools/zlib/lib/libz.a
MA5-DEBUG: to /home/hep-ph/MG5_aMC_v2_6_1/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/ExternalSymLink/Lib/libz.a …
MA5-DEBUG: Creating symbolic link from /home/hep-ph/MG5_aMC_v2_6_1/HEPTools/madanalysis5/madanalysis5/tools/zlib/lib/libz.so.1.2.11
MA5-DEBUG: to /home/hep-ph/MG5_aMC_v2_6_1/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/ExternalSymLink/Lib/libz.so.1.2.11 …
MA5-DEBUG: Creating symbolic link from /home/hep-ph/MG5_aMC_v2_6_1/HEPTools/madanalysis5/madanalysis5/tools/zlib/lib/libz.so.1
MA5-DEBUG: to /home/hep-ph/MG5_aMC_v2_6_1/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/ExternalSymLink/Lib/libz.so.1 …
MA5-DEBUG: Creating symbolic link from /home/hep-ph/MG5_aMC_v2_6_1/HEPTools/madanalysis5/madanalysis5/tools/delphes/libDelphes.so
MA5-DEBUG: to /home/hep-ph/MG5_aMC_v2_6_1/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/ExternalSymLink/Lib/libDelphes.so …
MA5-DEBUG: Creating symbolic link from /home/hep-ph/MG5_aMC_v2_6_1/HEPTools/madanalysis5/madanalysis5/tools/delphes/ModulesDict_rdict.pcm
MA5-DEBUG: to /home/hep-ph/MG5_aMC_v2_6_1/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/ExternalSymLink/Lib/ModulesDict_rdict.pcm …
MA5-DEBUG: Creating symbolic link from /home/hep-ph/MG5_aMC_v2_6_1/HEPTools/madanalysis5/madanalysis5/tools/delphes/ClassesDict_rdict.pcm
MA5-DEBUG: to /home/hep-ph/MG5_aMC_v2_6_1/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/ExternalSymLink/Lib/ClassesDict_rdict.pcm …
MA5-DEBUG: Creating symbolic link from /home/hep-ph/MG5_aMC_v2_6_1/HEPTools/madanalysis5/madanalysis5/tools/delphes/ExRootAnalysisDict_rdict.pcm
MA5-DEBUG: to /home/hep-ph/MG5_aMC_v2_6_1/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/ExternalSymLink/Lib/ExRootAnalysisDict_rdict.pcm …
MA5-DEBUG: Creating symbolic link from /home/hep-ph/MG5_aMC_v2_6_1/HEPTools/madanalysis5/madanalysis5/tools/delphes/FastJetDict_rdict.pcm
MA5-DEBUG: to /home/hep-ph/MG5_aMC_v2_6_1/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/ExternalSymLink/Lib/FastJetDict_rdict.pcm …
MA5-DEBUG: -------- BEGIN: set environment variables --------
MA5-DEBUG: before PATH=/home/hep-ph/ROOT/bin:/home/hep-ph/bin:/home/hep-ph/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
MA5-DEBUG: --------
MA5-DEBUG: after PATH=/home/hep-ph/MG5_aMC_v2_6_1/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/ExternalSymLink/Bin:/home/hep-ph/ROOT/bin:/home/hep-ph/MG5_aMC_v2_6_1/HEPTools/madanalysis5/madanalysis5/tools/fastjet/bin:/home/hep-ph/ROOT/bin:/home/hep-ph/bin:/home/hep-ph/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:
MA5-DEBUG: --------
MA5-DEBUG: before LD_LIBRARY_PATH=/home/hep-ph/ROOT/lib::/usr/lib::/usr/lib/x86_64-linux-gnu::/usr/local/lib::/home/hep-ph/MG5_aMC_v2_6_1/HEPTools/lib::/home/hep-ph/MG5_aMC_v2_6_1/HEPTools/lhapdf6/lib::/home/hep-ph/MG5_aMC_v2_6_1/HEPTools/lhapdf6/include::/home/hep-ph/MG5_aMC_v2_6_1/HEPTools/include::/home/hep-ph/MG5_aMC_v2_6_1/HEPTools/madanalysis5/madanlysis5/tools/delphes::/home/hep-ph/ROOT/include:/home/hep-ph/MG5_aMC_v2_6_1/HEPTools/madanalysis5/madanlysis5/tools/delphes
MA5-DEBUG: --------
MA5-DEBUG: after LD_LIBRARY_PATH=/home/hep-ph/MG5_aMC_v2_6_1/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/Lib:/home/hep-ph/MG5_aMC_v2_6_1/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/ExternalSymLink/Lib:/home/hep-ph/ROOT/lib:/home/hep-ph/MG5_aMC_v2_6_1/HEPTools/madanalysis5/madanalysis5/tools/fastjet/lib:/home/hep-ph/ROOT/lib::/usr/lib::/usr/lib/x86_64-linux-gnu::/usr/local/lib::/home/hep-ph/MG5_aMC_v2_6_1/HEPTools/lib::/home/hep-ph/MG5_aMC_v2_6_1/HEPTools/lhapdf6/lib::/home/hep-ph/MG5_aMC_v2_6_1/HEPTools/lhapdf6/include::/home/hep-ph/MG5_aMC_v2_6_1/HEPTools/include::/home/hep-ph/MG5_aMC_v2_6_1/HEPTools/madanalysis5/madanlysis5/tools/delphes::/home/hep-ph/ROOT/include:/home/hep-ph/MG5_aMC_v2_6_1/HEPTools/madanalysis5/madanlysis5/tools/delphes:
MA5-DEBUG: --------
MA5-DEBUG: before DYLD_LIBRARY_PATH=
MA5-DEBUG: --------
MA5-DEBUG: after DYLD_LIBRARY_PATH=
MA5-DEBUG: --------
MA5-DEBUG: -------- END: set environment variables --------