Fork me on GitHub

Opened 14 years ago

Closed 13 years ago

Last modified 12 years ago

#31 closed Bug (fixed)

Delphes & HepMC 2.06

Reported by: Xavier Rouby Owned by: cp3-support
Priority: major Milestone:
Component: Delphes code Version: all recent versions (> 1.8)
Keywords: Cc:

Description (last modified by cp3-support)

Compatibility issue with hepmc 2.06

Mail from Dean Horton, (april 2010)


Hi,

I'm trying to use Delphes (v. 1.8) with some HepMC output I've generated using Pythia8. Unfortunately some errors occur whilst Delphes tries to convert the HepMC file. I've managed to get Delphes to work with some stdhep format files, so I know my installation is working. I notice that the current version of Delphes uses HepMC 2.04, whilst the current HepMC version is 2.06. Are you aware of any problems with reading any files produced using HepMC 2.06?

Attachments (1)

delphes_output.log (32.7 KB ) - added by sourav.mandal@… 13 years ago.
Delphes output with HepMC errors

Download all attachments as: .zip

Change History (10)

by sourav.mandal@…, 13 years ago

Attachment: delphes_output.log added

Delphes output with HepMC errors

comment:1 by cp3-support, 13 years ago

Description: modified (diff)
Milestone: Publication v1.9
Owner: set to cp3-support
Status: newassigned

comment:2 by cp3-support, 13 years ago

Priority: majorcritical
Type: archiveBug

comment:3 by cp3-support, 13 years ago

Priority: criticalmajor

comment:4 by Sourav Mandal, 13 years ago

Here is the comment I wanted to make originally with my log output above; I put it here now for completeness:

The HepMC interface appears to have changed between versions 2.04, 2.05 and 2.06. This may be why the dynamic library version changed from 2 to 3 to 4 across these releases.

Downgrading my system HepMC to 2.04 worked around the problem -- ThePEG-1.7.0/Herwig++-2.5.0 is able to use it.

comment:5 by cp3-support, 13 years ago

Starting to recompile delphes with hepmc 2.06.05 for tests.

comment:6 by cp3-support, 13 years ago

What I did :

  • import the hepmc structure into Utilities/HepMC
  • change in the genmakefile Utilities/HepMC/interface to Utilities/HepMC/HepMC (this way we don't have to change the hepmc structure)
  • change in .h and .cc files the includes as they fail: remove the /hepmc/ in front of includes.

This fails:

>> Building Resolutions_ATLAS
tmp/src/HepMCConverter.o: In function `HepMCConverter::HepMCConverter(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, PdgTable const&, int const&)':
HepMCConverter.cc:(.text+0x11c4): undefined reference to `HepMC::Units::default_momentum_unit()'
HepMCConverter.cc:(.text+0x11cf): undefined reference to `HepMC::Units::default_length_unit()'

more to come in the next issue

comment:7 by cp3-support, 13 years ago

Succeeded in compiling w/ hepmc 2.06. After checks, it will be included in the next bugfix release.

comment:8 by cp3-support, 13 years ago

Resolution: fixed
Status: assignedclosed

comment:9 by anonymous, 12 years ago

Fix the problem Joomla 3 Templates Free

Note: See TracTickets for help on using tickets.