Project

General

Profile

Feature #19451

Request G4 MT build for Mu2e

Added by Rob Kutschke over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
-
Target version:
-
Start date:
03/21/2018
Due date:
% Done:

100%

Estimated time:
Spent time:
Scope:
Internal
Experiment:
Mu2e
SSI Package:
Duration:

Description

Please make a ups product with an MT build of Geant4 v4_10_2_p03e at high-ish priority. We need prof and debug for SLF6. SLF7 can follow later if that makes your life easier. If you have not already done so, please work with Lisa to understand what she means by an MT build.

History

#1 Updated by Lisa Goodenough over 2 years ago

The only changes needed are in build_geant.sh. Two lines are added and one line is removed in the build flags.

add:
-DGEANT4_BUILD_MULTITHREADED=ON \
-DGEANT4_BUILD_TLS_MODEL=global-dynamic \

remove:
-DGEANT4_USE_OPENGL_X11=ON \

flag section of script should look like this:
env CC=gcc CXX=g++ FC=gfortran cmake -DGEANT4_BUILD_CXXSTD="${cxxflg}" \
-DCMAKE_INSTALL_PREFIX=${GEANT4_FQ_DIR} \
-DGEANT4_USE_SYSTEM_CLHEP=ON \
-DCLHEP_ROOT_DIR:STRING="${CLHEP_BASE_DIR}" \
-DBUILD_STATIC_LIBS=ON \
-DGEANT4_USE_GDML=ON \
${use_usolids} \
${use_qt} \
-DXERCESC_ROOT_DIR:STRING="${XERCESCROOT}" \
-DCMAKE_BUILD_TYPE=${build_type} \
-DGEANT4_BUILD_MULTITHREADED=ON \
-DGEANT4_BUILD_TLS_MODEL=global-dynamic \
${GEANT4_SOURCE}
(( $? == 0 )) || ssi_die "ERROR: cmake failed."

#2 Updated by Lynn Garren over 2 years ago

  • Status changed from New to Resolved
  • Assignee set to Lynn Garren
  • % Done changed from 0 to 100

geant4 v4_10_2_p03f is now available. There is a regular build and a mt qualified build.
http://scisoft.fnal.gov/scisoft/bundles/geant4/v4_10_2_p03f/geant4-v4_10_2_p03f.html

#3 Updated by Lynn Garren over 2 years ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF