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 )
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
Description: | modified (diff) |
---|
comment:2 Changed 12 years ago by
Milestone: | → rel-2.0.0 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Hi Sebastian,
could you try an svn update and recompile? The problem should be fixed in revision 20757.
Cheers
Stefan
Note: See
TracTickets for help on using
tickets.
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