Message: Re: GEANT4_BUILD_GRANULAR_LIBRARIES Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Note Re: GEANT4_BUILD_GRANULAR_LIBRARIES 

Forum: Installation and Configuration
Re: Question GEANT4_BUILD_GRANULAR_LIBRARIES (Dragos Constantin)
Date: 04 Jan, 2013
From: Ben Morgan <Ben Morgan>

Hi Dragos,

On Wed, 19 Dec 2012 23:05:14 GMT, Dragos Constantin wrote:
> Hi,
> 
> Why is this option deprecated?
> 
> It is extremely important to have granular libraries especially when one
> is using the statically linked version.
>

Granular libraries have been deprecated for the following main reasons:

  • Maintaining two different ways to build (and then use) the libraries is awkward and confusing for developers and users.
  • Of the two, global libraries are easier to use, test and maintain.

In general, statically linking to global libraries should not be too different from linking to granular ones. My limited understanding is that compilers (in most cases) will only link in those objects needed, so you won't get a copy of the whole library in your executable, just the bits that are needed.

Having said all of this, we are investigating new modularization schemes for the Geant4 libraries to better group and isolate functionality. This is still a work in progress, and depends on other aspects of the architecture and user domains.

Cheers,

Ben.

 Add Message Add Message
to: "Re: GEANT4_BUILD_GRANULAR_LIBRARIES"

 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 ]