Navigation Menu

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

Use phase1PixelTopology::numberOfLayers where appropriate #33244

Merged

Conversation

czangela
Copy link
Contributor

@czangela czangela commented Mar 22, 2021

PR description:

Change hardcoded number of layer values.

Related to the issues listed in #32483, and this comment.

PR validation:

if this PR is a backport please specify the original PR and why you need to backport that PR:

@cmsbuild
Copy link
Contributor

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33244/21696

  • This PR adds an extra 16KB to repository

Code check has found code style and quality issues which could be resolved by applying following patch(s)

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33244/21697

  • This PR adds an extra 16KB to repository

@cmsbuild
Copy link
Contributor

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

It involves the following packages:

Geometry/TrackerGeometryBuilder
RecoLocalTracker/SiPixelRecHits

@perrotta, @civanch, @Dr15Jones, @makortel, @cvuosalo, @ianna, @mdhildreth, @cmsbuild, @slava77, @jpata can you please review it and eventually sign? Thanks.
@mtosi, @makortel, @felicepantaleo, @GiacomoSguazzoni, @JanFSchulte, @rovere, @VinInn, @OzAmram, @ferencek, @dkotlins, @gpetruc, @ebrondol, @venturia, @threus, @fabiocos, @tvami this is something you requested to watch as well.
@silviodonato, @dpiparo, @qliphy you are the release manager for this.

cms-bot commands are listed here

@perrotta
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

-1

Failed Tests: Build
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-9446e7/13658/summary.html
COMMIT: 4d1f89a
CMSSW: CMSSW_11_3_X_2021-03-21-2300/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/33244/13658/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-9446e7/13658/git-recent-commits.json
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-9446e7/13658/git-merge-result

Build

I found compilation error when building:

>> Building LCG reflex dict from header file src/DataFormats/CLHEP/src/classes.h
>> Compiling LCG dictionary: tmp/slc7_amd64_gcc900/src/DataFormats/CLHEP/src/DataFormatsCLHEP/a/DataFormatsCLHEP_xr.cc
>> Building  shared library tmp/slc7_amd64_gcc900/src/DataFormats/CLHEP/src/DataFormatsCLHEP/libDataFormatsCLHEP.so
Copying tmp/slc7_amd64_gcc900/src/DataFormats/CLHEP/src/DataFormatsCLHEP/libDataFormatsCLHEP.so to productstore area:
>> Checking EDM Class Version for src/DataFormats/CLHEP/src/classes_def.xml in libDataFormatsCLHEP.so
error: class 'CLHEP::Hep3Vector' has a different checksum for ClassVersion 11. Increment ClassVersion to 12 and assign it to checksum 3040806103
Suggestion: You can run 'scram build updateclassversion' to generate src/DataFormats/CLHEP/src/classes_def.xml.generated with updated ClassVersion
gmake: *** [tmp/slc7_amd64_gcc900/src/DataFormats/CLHEP/src/DataFormatsCLHEP/libDataFormatsCLHEP.so] Error 1
Leaving library rule at DataFormats/CLHEP
>> Leaving Package DataFormats/CLHEP
>> Package DataFormats/CLHEP built


@mmusich
Copy link
Contributor

mmusich commented Mar 22, 2021

the build failure looks related to #33234

@perrotta
Copy link
Contributor

the build failure looks related to #33234

yeah: let wait for the next IB, to re-launch the tests when that PR will have been already merged

@perrotta
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

-1

Failed Tests: Build
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-9446e7/13667/summary.html
COMMIT: 4d1f89a
CMSSW: CMSSW_11_3_X_2021-03-21-2300/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/33244/13667/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-9446e7/13667/git-recent-commits.json
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-9446e7/13667/git-merge-result

Build

I found compilation error when building:

>> Building LCG reflex dict from header file src/DataFormats/CLHEP/src/classes.h
>> Compiling LCG dictionary: tmp/slc7_amd64_gcc900/src/DataFormats/CLHEP/src/DataFormatsCLHEP/a/DataFormatsCLHEP_xr.cc
>> Building  shared library tmp/slc7_amd64_gcc900/src/DataFormats/CLHEP/src/DataFormatsCLHEP/libDataFormatsCLHEP.so
Copying tmp/slc7_amd64_gcc900/src/DataFormats/CLHEP/src/DataFormatsCLHEP/libDataFormatsCLHEP.so to productstore area:
>> Checking EDM Class Version for src/DataFormats/CLHEP/src/classes_def.xml in libDataFormatsCLHEP.so
error: class 'CLHEP::Hep3Vector' has a different checksum for ClassVersion 11. Increment ClassVersion to 12 and assign it to checksum 3040806103
Suggestion: You can run 'scram build updateclassversion' to generate src/DataFormats/CLHEP/src/classes_def.xml.generated with updated ClassVersion
gmake: *** [tmp/slc7_amd64_gcc900/src/DataFormats/CLHEP/src/DataFormatsCLHEP/libDataFormatsCLHEP.so] Error 1
Leaving library rule at DataFormats/CLHEP
>> Leaving Package DataFormats/CLHEP
>> Package DataFormats/CLHEP built


@perrotta
Copy link
Contributor

(Still building on top of CMSSW_11_3_X_2021-03-21-2300: let wait for some more time...)

@smuzaffar
Copy link
Contributor

please test
newer IB is available now

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-9446e7/13670/summary.html
COMMIT: 4d1f89a
CMSSW: CMSSW_11_3_X_2021-03-22-1100/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/33244/13670/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 9 differences found in the comparisons
  • DQMHistoTests: Total files compared: 37
  • DQMHistoTests: Total histograms compared: 2639935
  • DQMHistoTests: Total failures: 12
  • DQMHistoTests: Total nulls: 1
  • DQMHistoTests: Total successes: 2639900
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: -0.004 KiB( 36 files compared)
  • DQMHistoSizes: changed ( 312.0 ): -0.004 KiB MessageLogger/Warnings
  • Checked 155 log files, 37 edm output root files, 37 DQM output files
  • TriggerResults: no differences found

output->iphi(),
output->hitsLayerStart(),
numberOfHits,
256,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

256 should probably be a declared constant.

Copy link
Contributor Author

@czangela czangela Mar 23, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, but not just here. 256 as the number of threads is hardcoded in many places.
Should this be added as an issue to #32483 ? @fwyzard @mmusich @VinInn
edit: By "this" I meant making the number of threads / threadsPerBlock constants configurable, or setting them in one place? Also, if there were previous discussions about this, could you guide me to them?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd say that this is a more general issue, that applies to all CUDA kernels, not just the Pixel ones

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When/if anybody will come with a good reason to make configurable it will be done. Until then no reason to name it.

@cvuosalo
Copy link
Contributor

+1

@perrotta
Copy link
Contributor

+1

  • Use (already existing) named constants instead of hardcoded number of layers
  • Jenkins tests pass, with no (relevant) differences)

@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. @silviodonato, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2)

@silviodonato
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 8c93a85 into cms-sw:master Mar 23, 2021
@czangela czangela deleted the pixel_local_reco_refactorings_22_03_2021 branch March 23, 2021 10:00
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.

None yet

9 participants