-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[G4VECGEOM] Update clhep to 2.4.6.0, vecgeom to 1.2.1 #8211
Conversation
A new Pull Request was created by @iarspider for branch IB/CMSSW_12_6_X/g11_g4_vecgeom. @cmsbuild, @smuzaffar, @aandvalenzuela, @iarspider can you please review it and eventually sign? Thanks. |
@iarspider , base branch for this PR is not correct |
Is base IB OK? |
test parameters:
|
G4 Vengeom IB is bit old , let me re-build a new one which we can use for testing |
@civanch , looks like tests are failing due to vecgeom update here
|
@smuzaffar , I make a ticket to VecGeom and Jonas just report that -O2 with gcc11 resolve the issue. So, it is a very specific VecGeom problem (code seems to be correct but during optimisation non-initialized vector is crashing). Until it s understood -O2 should be used for VecGeom. |
Pull request #8211 was updated. |
please test |
-1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-eac510/29481/summary.html External BuildI found compilation error when building: + '[' -f /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el8_amd64_gcc11/./etc/profile.d/init.sh ']' + export BOOST_ROOT + CMAKE_ARGS='-DCMAKE_INSTALL_PREFIX='\''/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/tmp/BUILDROOT/311365d3eaa0f99a8fdd92609ab78336/opt/cmssw/el8_amd64_gcc11/external/dd4hep/v01-23x-311365d3eaa0f99a8fdd92609ab78336'\'' -DBoost_NO_BOOST_CMAKE=ON -DDD4HEP_USE_XERCESC=ON -DXERCESC_ROOT_DIR=/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el8_amd64_gcc11/external/xerces-c/3.1.3-96261f23c7d6fbfb7d59be544bd882f3 -DDD4HEP_USE_PYROOT=ON -DCMAKE_CXX_STANDARD=17 -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS_RELEASE=-O2' + '-DNDEBUG -DDD4HEP_USE_GEANT4_UNITS=ON -DCMAKE_PREFIX_PATH=/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el8_amd64_gcc11/external/clhep/2.4.6.0-80baf510802496a74335c6030dc0c72b;/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el8_amd64_gcc11/external/xerces-c/3.1.3-96261f23c7d6fbfb7d59be544bd882f3' /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/tmp/rpm-tmp.C4cLqv: line 40: -DNDEBUG -DDD4HEP_USE_GEANT4_UNITS=ON -DCMAKE_PREFIX_PATH=/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el8_amd64_gcc11/external/clhep/2.4.6.0-80baf510802496a74335c6030dc0c72b;/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el8_amd64_gcc11/external/xerces-c/3.1.3-96261f23c7d6fbfb7d59be544bd882f3: No such file or directory error: Bad exit status from /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/tmp/rpm-tmp.C4cLqv (%build) RPM build errors: line 37: It's not recommended to have unversioned Obsoletes: Obsoletes: external+dd4hep+v01-23x-311365d3eaa0f99a8fdd92609ab78336 Bad exit status from /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/tmp/rpm-tmp.C4cLqv (%build) |
please test |
Pull request #8211 was updated. |
It seems comparison is not going to report the results back since it is failing at:
I am writing a small fix for this |
thanks @aandvalenzuela for checking this. cms-sw/cms-bot@25334a8 change should fix the issue. I have restarted the comparison job now |
I first added this extra check https://github.com/cms-sw/cms-bot/blob/master/pr_testing/run-pr-comparisons#L126, should I keep it @smuzaffar? |
thanks for typo fix at cms-sw/cms-bot@06cf850 :-) |
FWIW I opened https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108008, let's see what the GCC people think |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-eac510/29485/summary.html The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:
You can see more details here: Comparison SummarySummary:
|
@civanch , this looks good now. I am merging it for next G4 Vecgeom IB |
@smuzaffar , thanks, it is confirmed by gcc that there is problem in -O3. When new IB will be available will try to check CPU. |
@civanch , CMSSW_13_0_G4VECGEOM_X_2022-12-07-2300 and CMSSW_13_0_GEANT4_X_2022-12-07-2300 IBs are available |
I have check CPU. It turned out that this switch from -O3 to -O2 provide CPU penalty 2.2% for MinBias and 4.9% for ttbar. So, we need -O3 indeed. The solution may be work around for problematic class of VecGeom |
Yes, I can also measure the performance penalty. We may try working around the problem (I can prepare a patch), or we can try compiling Geant4 with |
FWIW the bug in GCC should be fixed, cf. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107323 and https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108008. Once there is an updated compiler with the fixes, we can consider going back to |
Closes #8209, #8210.