You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Building Geant4 Using the Native Compilation Script

Unpack the G4 source, and you will find the Configure script in the top-level directory.

You could set the environment variable G4_NO_VERBOSE in the hopes of improving performance, though to date those improvements have not fully materialized, in fact as of G4 version 8.0.p01, a code modification (see updated G4ParticleDefinition.cc which is attached) is required to prevent the setting of G4_NO_VERBOSE from skipping important code in G4.  Tracy has patched this and it is included in our 8.0.p01-gl4 version of G4, located in $GLAST_EXT/srcExtLibs/geant4.8.0.01-gl4-src.tar.gz

Make sure to install the header files into a single common directory.

Logs of the build are stored in the .config directory

Some interesting things...  the library libG4parameterisations is the product of Tracy's CMT requirements used to build G4 rather than the native G4 build scripts.  G4 calls this same library libG4parmodels

libG4visualizations is the product of Riccardo's addition to the CMT requirements file:  http://www.fisica.uniud.it/~glast/MRStudio/Geant4vis.html

libG4g3tog4 is natively called libG4G3toG4

  • No labels