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

MTD geometry: fix RecoMTD/DetLayers unit test #45310

Merged
merged 2 commits into from
Jun 27, 2024

Conversation

fabiocos
Copy link
Contributor

PR description:

As a consequence of the move of all MTD geometry unit tests to scenario D110 in #45211 , the unit test for the tracking geometry navigation in RecoMTD/DetLayers starts to fail on aarch64 architecture #45211 (comment) , due to some numerical differences in the output of operations displayed in the reference file.

The underlying geometry calculations are made using float for performance reasons, and on operations involving space measurements of a size O(100 cm) does not always guarantee to display identical results at the micron level on both amd64 and aarch64. For this reason:

  • a better formatting and rounding is adopted in this test, with a configurable precision;
  • a 4 decimal digits precision is kept for direct inspection, but a safer 2 digits precision is used in the unit test (and corresponding reference, that needs to be updated in parallel to this PR)

PR validation:

The unit test comparison succeed on both amd64 and aarch64 (lxplus-arm.cern.ch).

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 26, 2024

cms-bot internal usage

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-45310/40724

  • This PR adds an extra 24KB to repository

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @fabiocos for master.

It involves the following packages:

  • RecoMTD/DetLayers (upgrade, reconstruction)

@cmsbuild, @jfernan2, @mandrenguyen, @srimanob, @subirsarkar can you please review it and eventually sign? Thanks.
@missirol this is something you requested to watch as well.
@antoniovilela, @rappoccio, @sextonkennedy you are the release manager for this.

cms-bot commands are listed here

@fabiocos
Copy link
Contributor Author

please test with cms-data/Geometry-TestReference#15

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-3a4ff4/40083/summary.html
COMMIT: a6c1431
CMSSW: CMSSW_14_1_X_2024-06-26-1200/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/45310/40083/install.sh to create a dev area with all the needed externals and cmssw changes.

  • DAS Queries: The DAS query tests failed, see the summary page for details.

Comparison Summary

Summary:

@fabiocos
Copy link
Contributor Author

please test with cms-data/Geometry-TestReference#15 for el8_aarch64_gcc12

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-3a4ff4/40103/summary.html
COMMIT: a6c1431
CMSSW: CMSSW_14_1_X_2024-06-25-2300/el8_aarch64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/45310/40103/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-3a4ff4/40103/git-recent-commits.json
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-3a4ff4/40103/git-merge-result

@mandrenguyen
Copy link
Contributor

type mtd

@mandrenguyen
Copy link
Contributor

+1

@fabiocos
Copy link
Contributor Author

fabiocos commented Jun 27, 2024

@cms-sw/upgrade-l2 @cms-sw/orp-l2 this PR (and the corresponding cms-data/Geometry-TestReference#15 ) will prevent the unit test crash in IB observed for aarch64 architecture, reported by @aandvalenzuela

@srimanob
Copy link
Contributor

+Upgrade

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @sextonkennedy, @rappoccio, @antoniovilela (and backports should be raised in the release meeting by the corresponding L2)
Notice This PR was tested with additional Pull Request(s), please also merge them if necessary: cms-data/Geometry-TestReference#15

@antoniovilela
Copy link
Contributor

cms-data/Geometry-TestReference#15 merged.
cmsdist tag PR: cms-sw/cmsdist#9274.

@antoniovilela
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit d52e3a5 into cms-sw:master Jun 27, 2024
17 checks passed
@fabiocos fabiocos deleted the fc-fixdetlayers20240625 branch June 28, 2024 08:58
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.

5 participants