Fork me on GitHub

Opened 7 years ago

Closed 7 years ago

#1127 closed Bug (fixed)

Fail to run DelphesHepMC to convert .hepmc to .root

Reported by: ytchien Owned by:
Priority: major Milestone:
Component: Delphes code Version: Delphes 3
Keywords: Cc:

Description

Hello,

I recently installed Delphes on my MacBook Pro (macOS Sierra 10.12.5) and wanted to transform some .hepmc files to .root files. I had root-6.08.06 installed and configured using the bin/thisroot.sh, and ROOT run without problem in any other usage.

When I do

./DelphesHepMC cards/delphes_card_CMS.tcl output.root input.hepmc

I got

Abort trap: 6

I will appreciate it if you can point me to where I should check and fix it.

Thanks a lot

Change History (2)

comment:1 by Pavel Demin, 7 years ago

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.

comment:2 by Pavel Demin, 7 years ago

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