sherpa is hosted by Hepforge, IPPP Durham
close Warning:
  • Error with navigation contributor "BrowserModule"
  • Failed to sync with repository "(default)": instance.__dict__ not accessible in restricted mode; repository information may be out of date. Look in the Trac log for more information including mitigation strategies.
Modify

Opened 12 years ago

Closed 12 years ago

#243 closed defect (fixed)

Compiler Error with gcc 4.7.2

Reported by: Generic User (don't modify these fields) Owned by: support@sherpa-mc.de
Priority: major Milestone: rel-2.0.0
Component: Unknown Version: 2.0.beta
Keywords: Cc: thuer@physik.rwth-aachen.de

Description (last modified by Frank Siegert)

We are encountering the following error when we try to compile Sherpa 2.0.beta with gcc 4.7.2 for the CMS framework. Do you have any idea how to fix it?

make[2]: Entering directory `/user/thuer/work_sherpa_20b/SHERPA-MC-2.0.beta/PHASIC++/Process'
  CXX    SVN_Info.lo
  CXX    Process_Group.lo
In file included from Process_Group.C:1:0:
../../PHASIC++/Process/Process_Group.H:21:25: error: redeclaration of 'size_t PHASIC::PG_TID::m_b'
../../PHASIC++/Process/Process_Group.H:19:17: note: previous declaration 'double PHASIC::PG_TID::m_b'
make[2]: *** [Process_Group.lo] Error 1

Best, Sebastian

Attachments (0)

Change History (2)

comment:1 Changed 12 years ago by Frank Siegert

Description: modified (diff)

Hi Sebastian,

Thanks for the report, this seems to be indeed a clashing variable. We'll look into it and update the 2.0beta as soon as possible.

It seems you are compiling with --enable-multithread. Is that on purpose to speed up the integration? You might be interested in the --enable-mpi option, which you can use together with an MPI implementation like Open MPI to parallelise the integration with a better scaling behaviour, even across multiple machines on a cluster.

Cheers, Frank

comment:2 Changed 12 years ago by Stefan Hoeche

Milestone: rel-2.0.0
Resolution: fixed
Status: newclosed

Hi Sebastian,

could you try an svn update and recompile? The problem should be fixed in revision 20757.

Cheers

Stefan

Modify Ticket

Change Properties
Action
as closed The owner will remain support@sherpa-mc.de.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.