Removal of ofast-flag (AMD/Intel differences)#40649
Removal of ofast-flag (AMD/Intel differences)#40649silviodonato wants to merge 1 commit intocms-sw:masterfrom
Conversation
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-40649/33971
|
|
A new Pull Request was created by @silviodonato (Silvio Donato) for master. It involves the following packages:
@cmsbuild, @mandrenguyen, @clacaputo can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
|
Shouldn't we first see what |
|
IIUC, this was tested locally, but perhaps a |
|
enable profiling |
|
please test |
|
I think we should first get results on reproducibility of |
|
Good news @gparida finished the test using |
@silviodonato , maybe you missed 1 file; that flag is also used in |
|
Closing this PR in favor of cms-sw/cmsdist#8280 |
|
please abort |
PR description:
About one year ago we discovered differences of few percents between AMD and Intel in few HLT paths when rerunning the HLT [1]. The situation got worse when we added the parking di-electron paths with dZ path, which gave a difference of ~8% [2].
Given that:
I propose to remove Ofast from all CMSSW package (except
DataFormat/Math/test) since 13_0_0_pre4.The impact on reco time is 1.1%-1.2% from @cms-sw/reconstruction-l2 measurement [5].
The impact on the HLT timing is negligible.
Caveat: there is an ongoing test by @gparida following @VinInn suggestion [6] about using
-Ofast -fno-reciprocal-math -mno-recip.Warning to release managers: this PR changes many BuildFiles.xml and therefore the compilation takes a lot of time. This might be a problem for people who will need to rebase their PR including this PR.
[1] https://its.cern.ch/jira/browse/CMSHLT-2257
[2] https://docs.google.com/spreadsheets/d/1XRu1sfIYJUQ0e7Z_yJWdGrxTDA31zr33uWPFY54-APc
[3] https://its.cern.ch/jira/browse/PDMVRELVALS-159
[4] #39982 and #30044
[5] #40089
[6] https://its.cern.ch/jira/browse/CMSHLT-2257?focusedCommentId=4686018&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-4686018
cc: @dpiparo @gparida @cms-sw/hlt-l2 @sanuvarghese
PR validation:
Still ongoing