Skip to content

Installing Geant4 in Multithreaded Mode #5556

Discussion options

You must be logged in to vote

To build Geant4 in Multi-threaded mode, you should add (or change) the following line in o2-defaults.sh (or the defaults which you use for your build):

env:
  GEANT4_BUILD_MULTITHREADED: 'ON'

This mode should not break other components (AliRoot, O2, etc.), as using Geant4 in the MT mode in AliRoot or O2 simulation requires its activation in the Geant4 configuration (g4Config.C)

The activation of this option would cause run time problems with both AliRoot and O2, as its support was never done for AliRoot and it was dropped for O2 few years ago, when we moved to run-time parallelism.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ananthapadmanabhan18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants