Build Art with CLHEP 22.214.171.124
Now that Geant4 version 10.7 (latests public release) requires CLHEP 126.96.36.199 would it be possible to build Art with this version of CLHEP ?
#2 Updated by Julia Yarba about 2 months ago
Hello Lynn, all,
Yes, I'm able to build Geant4 10.7 with CLHEP 188.8.131.52a although it requires a (local) patch.
However, CLHEP 184.108.40.206 features updates to a number of physics constants, thus it's likely to be of interest to the users community.
Here is from the change log: ==============================
09.11.20 Release CLHEP-220.127.116.11 ==============================
14 July 2020 - K.Savvidis, G.Cosmo
- Random: Use 32-bit internal seeds types coherently in MixMaxRng.
Addressing CLHEP JIRA ticket #156.
2020-07-20 Gabriele Cosmo <Gabriele.Cosmo@cern.ch>
- Units: Updated values in SystemOfUnits.h and PhysicalConstants.h for:
e_SI, electron charge
h_Planck, Planck constant
Avogadro, Avogadro constant
k_Boltzmann, Boltzmann constant
based on May 2019 redefinition of SI units. References:
#5 Updated by Lynn Garren about 1 month ago
LArSoft is currently using geant4 v4_10_6_p01. NOvA is, I believe, using v4_10_4_p02d. We need to ensure that it is possible to build these older releases of geant4 with clhep 18.104.22.168 and 22.214.171.124. Note that if there are no problems building with 126.96.36.199, I do not anticipate any problems building with 188.8.131.52. Would the geant team please test?
#8 Updated by Julia Yarba about 1 month ago
In a quick try, Geant4 10.6.p01, 10.6.p02, and 10.4.p02 all build fine against clhep v2_4_4_1 (at least if using gcc 9.3.0 compiler and specifying c++17 standard). We are also checking with relevant Geant4 experts if any objections/obstacles can be anticipated when using clhep 2.4.4.x-series with earlier Geant4 releases.
#9 Updated by Julia Yarba about 1 month ago
With the above said, the Geant4 experts state that minor releases of CLHEP are always backward compatible. This means that e.g. Geant4.10.7 should be safe with e.g. CLHEP 184.108.40.206 (required is 220.127.116.11). However, as a general rule, Geant4 is not guaranteed to work with CLHEP release that's notably different from the recommended one. Again, based on our so far experience, Geant4 10.6.p01/p02 or even 10.4.p02 do build with the latest CLHEP 18.104.22.168. However, we can not attest how every particular application based on such build(s) may behave.
#11 Updated by Lynn Garren about 1 month ago
I've tagged geant4 v4_10_6_p02c (mu2e) and geant4 v4_10_6_p01d (larsoft) with clhep v2_4_4_1. Source code tarballs are available on SciSoft. The SciSoft team is in the process of providing an art release with clhep v2_4_4_1, and will update this ticket when that is complete.