cms-externals / geant4

CMS mirror of Geant4 sources. Not endorsed by Geant4 organization itself under any circumstance.
Other
2 stars 6 forks source link

Fixed run time problem in hadron elastic process #68

Closed civanch closed 1 year ago

civanch commented 1 year ago

Two fixes are added, which are available in Geant4 master: 1) fixed run time computations for hadron elastic process 2) fixed warning on "unused variable" in G4CoupledTransportation

Both are useful for CMSSW.

cmsbuild commented 1 year ago

A new Pull Request was created by @civanch (Vladimir Ivantchenko) for branch cms/v11.1.0.

@cmsbuild, @smuzaffar, @aandvalenzuela, @iarspider can you please review it and eventually sign? Thanks. @perrotta, @dpiparo, @rappoccio you are the release manager for this. cms-bot commands are listed here

smuzaffar commented 1 year ago

please test for CMSSW_13_0_GEANT4_X

civanch commented 1 year ago

@smuzaffar , is it possible to test these fixes before the pre-release is out?

cmsbuild commented 1 year ago

Pull request #68 was updated.

smuzaffar commented 1 year ago

Only testing we can do is to build/run G4 IB, once PR tests are done then we can merge and build an IB for you to do the testing

smuzaffar commented 1 year ago

please test for CMSSW_13_0_GEANT4_X

civanch commented 1 year ago

@smuzaffar , yes, it is clear. Unfortunately, I was too fast - one file should be redone and recommitted, because inside Geant4 branch there was also development, not only bug fix. I will try make it and update the PR.

cmsbuild commented 1 year ago

Pull request #68 was updated.

cmsbuild commented 1 year ago

Pull request #68 was updated.

smuzaffar commented 1 year ago

@smuzaffar , yes, it is clear. Unfortunately, I was too fast - one file should be redone and recommitted, because inside Geant4 branch there was also development, not only bug fix. I will try make it and update the PR.

ok, feel free to start the tests (using please test for CMSSW_13_0_GEANT4_X comment ) once you are done with your changes

civanch commented 1 year ago

please test for CMSSW_13_0_GEANT4_X

smuzaffar commented 1 year ago

@civanch , which PR tests are running, you can use /cvmfs/cms-ci.cern.ch/week0/cms-externals/geant4/68/30029/CMSSW_13_0_GEANT4_X_2023-01-15-2300 area to run local tests e.g. you can run the following to set the env

cd /cvmfs/cms-ci.cern.ch/week0/cms-externals/geant4/68/30029/CMSSW_13_0_GEANT4_X_2023-01-15-2300
cmsenv
cd /tmp
# run tests
smuzaffar commented 1 year ago

@civanch , build and relvals look good, if this is OK then I would like to merge it and build an IB based on it now

civanch commented 1 year ago

@smuzaffar , would be great

cmsbuild commented 1 year ago

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-c9de80/30029/summary.html COMMIT: 977cf77e11b417458ad56fe9177777e9a3fd618e CMSSW: CMSSW_13_0_GEANT4_X_2023-01-15-2300/el8_amd64_gcc11 User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-externals/geant4/68/30029/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

smuzaffar commented 1 year ago

@civanch , GEANT4, G4VECGEOM and LTOG$VECGEOM IBs are now available with this change. Please run your tests as we might have to build 13.0.0.pre3 today.

civanch commented 1 year ago

@smuzaffar , I have run simple tests for 13_0_0_G4VECGEOM_X_2023_01-17-23 - results as expected. 13_0_0_LTOG4VECGEOM_X_2023-01-17-2300 give similar results but much less CPU advantage than expected 3.5%. Of course, my tests are not ideal and I saw similar effects for other SIM improvements - performance of SIM does not want to be improved.