Fork me on GitHub

Opened 7 years ago

Closed 7 years ago

#1123 closed Bug (fixed)

Fresh install compiles but won't run

Reported by: Patrick Fox Owned by:
Priority: minor Milestone:
Component: Delphes code Version: Delphes 3
Keywords: Cc:

Description (last modified by Pavel Demin)

I have recently purchased a new Mac laptop. After install root, Madgraph etc I installed Delphes through MadGraph and it installed and compiled. However, if I generate events through MadGraph Delphes fails with "Abort trap: 6". The same thing occurs if I try to run Delphes independently.

The full output of the delphes log is

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
../bin/internal/run_delphes3: line 41: 29532 Abort trap: 6           $delphesdir/DelphesHepMC ../Cards/delphes_card.dat ${run}/${tag}_delphes_events.root $file

Change History (4)

comment:1 by Pavel Demin, 7 years ago

Please provide more information about your system (OS version, name and version of the C++ compiler, ROOT version and how ROOT was built/installed).

comment:2 by Pavel Demin, 7 years ago

Description: modified (diff)

comment:3 by Patrick Fox, 7 years ago

Sorry for lack of info: I have MACOS--Sierra (10.12.5). Here is some output that hopefully answers your questions.

$g++ --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 8.1.0 (clang-802.0.42)
Target: x86_64-apple-darwin16.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

$gcc --version:
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 8.1.0 (clang-802.0.42)
Target: x86_64-apple-darwin16.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

$root --version

------------------------------------------------------------

| Welcome to ROOT 6.08/06 http://root.cern.ch |
| (c) 1995-2016, The ROOT Team |
| Built for macosx64 |
| From tag v6-08-06, 2 March 2017 |
| Try '.help', '.demo', '.license', '.credits', '.quit'/'.q' |

------------------------------------------------------------

Root was installed through homebrew. Everything else (i.e. MadGraph, pythia, ExRootanalysis, Delphes etc) was installed through the MG frontend. Thanks for the help!

comment:4 by Pavel Demin, 7 years ago

Resolution: fixed
Status: newclosed

The solution for this problem is to replace char string[4]; with char string[1]; on line 797 in external/tcl/tcl.h. This fix is now in the master branch and in Delphes-3.4.1.tar.gz.

Note: See TracTickets for help on using tickets.