sherpa is hosted by Hepforge, IPPP Durham
close Warning: Can't synchronize with repository "(default)" (/hepforge/svn/sherpa does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 12 years ago

Last modified 12 years ago

#243 closed defect

Compiler Error with gcc 4.7.2 — at Version 1

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

Change History (1)

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

Note: See TracTickets for help on using tickets.