Message: Re: shared library problem with QGSP_BIC Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Agree Re: shared library problem with QGSP_BIC 

Forum: Installation and Configuration
Re: Question shared library problem with QGSP_BIC (Tom Roberts)
Re: Ok Re: shared library problem with QGSP_BIC (Tom Roberts)
Date: 31 Jul, 2009
From: Gabriele Cosmo <Gabriele Cosmo>

Hi Tom,

good to know that!
The problem in the hadronic RPG model is already fixed in 9.3-beta,
as well as for similar static initialisation issues addressed for problem
report #1056. 9.3-beta should work for you then!

Cheers, Gabriele

--------------
On Fri, 31 Jul 2009 20:36:57 GMT, Tom Roberts wrote:
> I have (finally!) figured this out. There is an invalid dependency on
> static initializer order. I have reported this as problem 1075 in the
> Geant4 bugzilla; there are more details there.
> 
> I do not know why I get a different link order than Gabriele and other
> people.
> 
> I have a workaround for all physics lists that don't use the RPG model:
> in processes/hadronic/models/rpg/src/G4RPGInelastic.cc there are 18
> static initializers near the end, all of the form:
>   G4ParticleDefinition* p0 = G4PionZero::PionZero();
>   ...
> Change them to 0 instead of a particle initializer. If you use this
> model, you could probably move them to the class constructor; I haven't
> tried that and don't know if it works.
> 
> NOTE: it is certainly possible that other classes have a similar
> disease. But this one workaround resolves my current problem.

 Add Message Add Message
to: "Re: shared library problem with QGSP_BIC"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]