Skip to content

Commit

Permalink
Use initial-exec as threading model for G4(MT) mode (#1258)
Browse files Browse the repository at this point in the history
There is a performance problem with `global-dynamic` as reported in https://alice.its.cern.ch/jira/browse/O2-172 and
`initial-exec` is the suggested and working solution.

Note that this change does not affect any production as it will only take effect when MT is enabled (which is not the case by default yet).
  • Loading branch information
sawenzel authored and ktf committed Aug 23, 2018
1 parent 80bfee1 commit 86ed665
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geant4.sh
Expand Up @@ -31,7 +31,7 @@ cmake $SOURCEDIR \
-DCMAKE_INSTALL_PREFIX:PATH="$INSTALLROOT" \
-DCMAKE_INSTALL_LIBDIR="lib" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DGEANT4_BUILD_TLS_MODEL:STRING="global-dynamic" \
-DGEANT4_BUILD_TLS_MODEL:STRING="initial-exec" \
-DGEANT4_ENABLE_TESTING=OFF \
-DBUILD_SHARED_LIBS=ON \
-DGEANT4_INSTALL_EXAMPLES=OFF \
Expand Down

0 comments on commit 86ed665

Please sign in to comment.