Skip to content
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

simplify micro arch selection; set default micro arch to x86-64-v2 #9166

Merged
merged 3 commits into from
May 8, 2024

Conversation

smuzaffar
Copy link
Contributor

@smuzaffar smuzaffar commented Apr 29, 2024

This PR simplify the selection of default micro archtitecture which is now defined in cmsdist/microarch_flags.file file. Every package which needs to be enable micro-instraction should include it and pass %{selected_microarch} to the its build system.

This also updates the default micro arch to x86-64-v2 ( previously it was sse3)

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @smuzaffar for branch IB/CMSSW_14_1_X/master.

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

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 29, 2024

cms-bot internal usage

@cmsbuild
Copy link
Contributor

Pull request #9166 was updated.

@smuzaffar
Copy link
Contributor Author

smuzaffar commented Apr 29, 2024

test parameters:

  • full_cmssw = true

@smuzaffar
Copy link
Contributor Author

please test for CMSSW_14_1_MULTIARCHS_X/el8_amd64_gcc12

@cmsbuild
Copy link
Contributor

-1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-aa37cc/39135/summary.html
COMMIT: 56d942a
CMSSW: CMSSW_14_1_MULTIARCHS_X_2024-04-28-2300/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmsdist/9166/39135/install.sh to create a dev area with all the needed externals and cmssw changes.

External Build

I found compilation error when building:

+ CFLAGS='-fPIC -O3 -DUSE_MMAP -DUNALIGNED_OK -D_LARGEFILE64_SOURCE=1 -mx86-64-v2'
+ ./configure --prefix=/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/tmp/BUILDROOT/84956533166d4eef7141f08703457f8b/opt/cmssw/el8_amd64_gcc12/external/zlib/1.2.11-84956533166d4eef7141f08703457f8b
Checking for gcc...
Compiler error reporting is too harsh for ./configure (perhaps remove -Werror).
** ./configure aborting.
error: Bad exit status from /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/tmp/rpm-tmp.wuboyp (%build)


RPM build errors:
line 36: It's not recommended to have unversioned Obsoletes: Obsoletes: external+zlib+1.2.11-84956533166d4eef7141f08703457f8b
Bad exit status from /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/tmp/rpm-tmp.wuboyp (%build)


@smuzaffar
Copy link
Contributor Author

please test for CMSSW_14_1_MULTIARCHS_X/el8_amd64_gcc12

@cmsbuild
Copy link
Contributor

Pull request #9166 was updated.

@smuzaffar
Copy link
Contributor Author

please test for CMSSW_14_1_MULTIARCHS_X/el8_amd64_gcc12

@smuzaffar
Copy link
Contributor Author

please test for CMSSW_14_1_MULTIARCHS_X/el8_amd64_gcc12

@cmsbuild
Copy link
Contributor

Pull request #9166 was updated.

@smuzaffar
Copy link
Contributor Author

please test for CMSSW_14_1_MULTIARCHS_X/el8_amd64_gcc12

@cmsbuild
Copy link
Contributor

cmsbuild commented May 1, 2024

-1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-aa37cc/39193/summary.html
COMMIT: d32a009
CMSSW: CMSSW_14_1_MULTIARCHS_X_2024-04-30-2300/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmsdist/9166/39193/install.sh to create a dev area with all the needed externals and cmssw changes.

External Build

I found compilation error when building:

+ perl -p -i -e 's|\@([a-zA-Z0-9_-]*)\@|$ENV{$1}|g' /pool/condor/dir_2920405/jenkins/workspace/ib-run-pr-tests/testBuildDir/tmp/BUILDROOT/190a2a634f77e746b58b37be4193442d/opt/cmssw/el8_amd64_gcc12/cms/coral-tool-conf/10.0-190a2a634f77e746b58b37be4193442d/tools/selected/x11.xml
+ echo '  Copied x11.xml'
Copied x11.xml
+ '[' -d /etc/scram.d ']'
/pool/condor/dir_2920405/jenkins/workspace/ib-run-pr-tests/testBuildDir/tmp/rpm-tmp.Rm5yHV: line 62: syntax error near unexpected token `<<<'
error: Bad exit status from /pool/condor/dir_2920405/jenkins/workspace/ib-run-pr-tests/testBuildDir/tmp/rpm-tmp.Rm5yHV (%install)


RPM build errors:
line 37: It's not recommended to have unversioned Obsoletes: Obsoletes: cms+coral-tool-conf+10.0-190a2a634f77e746b58b37be4193442d
Bad exit status from /pool/condor/dir_2920405/jenkins/workspace/ib-run-pr-tests/testBuildDir/tmp/rpm-tmp.Rm5yHV (%install)


@smuzaffar
Copy link
Contributor Author

please test for CMSSW_14_1_MULTIARCHS_X/el8_amd64_gcc12

@smuzaffar
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented May 2, 2024

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-aa37cc/39197/summary.html
COMMIT: b7bf40b
CMSSW: CMSSW_14_1_MULTIARCHS_X_2024-04-30-2300/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmsdist/9166/39197/install.sh to create a dev area with all the needed externals and cmssw changes.

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:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-aa37cc/39197/git-recent-commits.json
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-aa37cc/39197/git-merge-result

Comparison Summary

Summary:

  • You potentially removed 274 lines from the logs
  • Reco comparison results: 70759 differences found in the comparisons
  • DQMHistoTests: Total files compared: 48
  • DQMHistoTests: Total histograms compared: 3326929
  • DQMHistoTests: Total failures: 305847
  • DQMHistoTests: Total nulls: 268
  • DQMHistoTests: Total successes: 3020794
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: -2.0850000000000004 KiB( 47 files compared)
  • DQMHistoSizes: changed ( 10224.0 ): -0.586 KiB SiStrip/MechanicalView
  • DQMHistoSizes: changed ( 13034.0 ): -2.906 KiB SiStrip/MechanicalView
  • DQMHistoSizes: changed ( 140.043,... ): -0.016 KiB JetMET/SUSYDQM
  • DQMHistoSizes: changed ( 140.063 ): -0.070 KiB JetMET/SUSYDQM
  • DQMHistoSizes: changed ( 141.044 ): 0.086 KiB JetMET/SUSYDQM
  • DQMHistoSizes: changed ( 141.046 ): 0.016 KiB JetMET/SUSYDQM
  • DQMHistoSizes: changed ( 250202.181 ): -0.836 KiB SiStrip/MechanicalView
  • DQMHistoSizes: changed ( 25202.0 ): 0.469 KiB SiStrip/MechanicalView
  • DQMHistoSizes: changed ( 7.3 ): 1.774 KiB SiStrip/MechanicalView
  • Checked 202 log files, 165 edm output root files, 48 DQM output files
  • TriggerResults: found differences in 18 / 46 workflows

@cmsbuild
Copy link
Contributor

cmsbuild commented May 2, 2024

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-aa37cc/39204/summary.html
COMMIT: b7bf40b
CMSSW: CMSSW_14_1_X_2024-05-01-2300/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmsdist/9166/39204/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

@smuzaffar
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented May 3, 2024

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-aa37cc/39220/summary.html
COMMIT: b7bf40b
CMSSW: CMSSW_14_1_X_2024-05-02-1100/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmsdist/9166/39220/install.sh to create a dev area with all the needed externals and cmssw changes.

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:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-aa37cc/39220/git-recent-commits.json
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-aa37cc/39220/git-merge-result

Comparison Summary

Summary:

@smuzaffar
Copy link
Contributor Author

please test for slc7_amd64_gcc12

@smuzaffar
Copy link
Contributor Author

please test for el9_amd64_gcc12

@cmsbuild
Copy link
Contributor

cmsbuild commented May 4, 2024

-1

Failed Tests: UnitTests
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-aa37cc/39224/summary.html
COMMIT: b7bf40b
CMSSW: CMSSW_14_1_X_2024-05-02-2300/el9_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmsdist/9166/39224/install.sh to create a dev area with all the needed externals and cmssw changes.

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:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-aa37cc/39224/git-recent-commits.json
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-aa37cc/39224/git-merge-result

Unit Tests

I found 1 errors in the following unit tests:

---> test testHGCalMapFileParser had ERRORS

Comparison Summary

Summary:

  • You potentially removed 217 lines from the logs
  • Reco comparison results: 56443 differences found in the comparisons
  • DQMHistoTests: Total files compared: 48
  • DQMHistoTests: Total histograms compared: 3331548
  • DQMHistoTests: Total failures: 146376
  • DQMHistoTests: Total nulls: 392
  • DQMHistoTests: Total successes: 3184760
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 1007.6629999999999 KiB( 47 files compared)
  • DQMHistoSizes: changed ( 10224.0,... ): 34.812 KiB CTPPS/TimingDiamond
  • DQMHistoSizes: changed ( 10224.0 ): -0.903 KiB SiStrip/MechanicalView
  • DQMHistoSizes: changed ( 11634.0,... ): 69.500 KiB CTPPS/TimingDiamond
  • DQMHistoSizes: changed ( 13034.0 ): 0.862 KiB SiStrip/MechanicalView
  • DQMHistoSizes: changed ( 141.044 ): -0.012 KiB JetMET/SUSYDQM
  • DQMHistoSizes: changed ( 141.046 ): 0.004 KiB JetMET/SUSYDQM
  • DQMHistoSizes: changed ( 250202.181 ): -0.288 KiB SiStrip/MechanicalView
  • DQMHistoSizes: changed ( 25202.0 ): 0.064 KiB SiStrip/MechanicalView
  • Checked 202 log files, 165 edm output root files, 48 DQM output files

@cmsbuild
Copy link
Contributor

cmsbuild commented May 4, 2024

-1

Failed Tests: UnitTests
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-aa37cc/39223/summary.html
COMMIT: b7bf40b
CMSSW: CMSSW_14_1_X_2024-05-02-2300/slc7_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmsdist/9166/39223/install.sh to create a dev area with all the needed externals and cmssw changes.

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:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-aa37cc/39223/git-recent-commits.json
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-aa37cc/39223/git-merge-result

Unit Tests

I found 1 errors in the following unit tests:

---> test testHGCalMapFileParser had ERRORS

Comparison Summary

Summary:

  • You potentially removed 148 lines from the logs
  • Reco comparison results: 62220 differences found in the comparisons
  • DQMHistoTests: Total files compared: 48
  • DQMHistoTests: Total histograms compared: 3331548
  • DQMHistoTests: Total failures: 222502
  • DQMHistoTests: Total nulls: 411
  • DQMHistoTests: Total successes: 3108615
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 1010.516 KiB( 47 files compared)
  • DQMHistoSizes: changed ( 10224.0,... ): 34.812 KiB CTPPS/TimingDiamond
  • DQMHistoSizes: changed ( 10224.0 ): 0.308 KiB SiStrip/MechanicalView
  • DQMHistoSizes: changed ( 11634.0,... ): 69.500 KiB CTPPS/TimingDiamond
  • DQMHistoSizes: changed ( 13034.0 ): 2.381 KiB SiStrip/MechanicalView
  • DQMHistoSizes: changed ( 141.042 ): 0.023 KiB JetMET/SUSYDQM
  • DQMHistoSizes: changed ( 141.044 ): -0.023 KiB JetMET/SUSYDQM
  • DQMHistoSizes: changed ( 141.046 ): 0.008 KiB JetMET/SUSYDQM
  • DQMHistoSizes: changed ( 250202.181 ): -0.182 KiB SiStrip/MechanicalView
  • DQMHistoSizes: changed ( 25202.0 ): 0.064 KiB SiStrip/MechanicalView
  • Checked 202 log files, 165 edm output root files, 48 DQM output files
  • TriggerResults: found differences in 14 / 46 workflows

@smuzaffar
Copy link
Contributor Author

+externals

looks good, tested via #9156 for el8/el9 and slc7

@cmsbuild
Copy link
Contributor

cmsbuild commented May 8, 2024

This pull request is fully signed and it will be integrated in one of the next IB/CMSSW_14_1_X/master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @antoniovilela, @sextonkennedy, @rappoccio (and backports should be raised in the release meeting by the corresponding L2)

@smuzaffar smuzaffar merged commit 9d01795 into IB/CMSSW_14_1_X/master May 8, 2024
26 of 28 checks passed
@smuzaffar smuzaffar deleted the microarch-x86-64-v2 branch May 8, 2024 22:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants