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

[14.0.X] initialise phiBinner in device-to-host copy of TrackingRecHitsSoACollection<TrackerTraits> #45744

Merged
merged 1 commit into from
Aug 23, 2024

Conversation

mmusich
Copy link
Contributor

@mmusich mmusich commented Aug 19, 2024

backport of #45743

PR description:

Originally as missirol@62620da
This PR is meant as a fix for #45708.
Fix to the device-to-host copy of TrackingRecHitsSoACollection<TrackerTraits>, in order to initialise the phiBinner data member on the host side.

A more complete explanation of the issue is provided by @makortel in #45708 (comment)

PR validation:

Executed the following script:

#!/bin/bash

[ $# -ge 1 ] || exit 1

hltLabel=hlt
outDir="${1}"

[ ! -d "${outDir}" ] || exit 1

mkdir -p "${outDir}"
cd "${outDir}"

hltGetConfiguration /dev/CMSSW_14_0_0/GRun/V173 \
  --globaltag 140X_dataRun3_HLT_v3 \
  --data \
  --no-prescale \
  --output none \
  --max-events -1 \
  --paths MC_*Tracking* \
  --input root://eoscms.cern.ch//eos/cms/store/group/tsg/STEAM/validations/GPUVsCPU/240814/raw_pickevents.root \
  > "${hltLabel}".py

cat <<@EOF >> "${hltLabel}".py
process.options.numberOfThreads = 1
process.options.numberOfStreams = 0
process.options.wantSummary = True

for foo in ['HLTAnalyzerEndpath', 'dqmOutput', 'MessageLogger']:
    if hasattr(process, foo):
        process.__delattr__(foo)

process.load('FWCore.MessageLogger.MessageLogger_cfi')

#process.options.accelerators = ['cpu']

#process.hltEcalDigisSoA.alpaka.backend = 'serial_sync'
#process.hltEcalUncalibRecHitSoA.alpaka.backend = 'serial_sync'
#process.hltHbheRecoSoA.alpaka.backend = 'serial_sync'
#process.hltParticleFlowRecHitHBHESoA.alpaka.backend = 'serial_sync'
#process.hltParticleFlowClusterHBHESoA.alpaka.backend = 'serial_sync'
#process.hltOnlineBeamSpotDevice.alpaka.backend = 'serial_sync'
#process.hltSiPixelClustersSoA.alpaka.backend = 'serial_sync'
#process.hltSiPixelRecHitsSoA.alpaka.backend = 'serial_sync'
process.hltPixelTracksSoA.alpaka.backend = 'serial_sync'
process.hltPixelVerticesSoA.alpaka.backend = 'serial_sync'
@EOF

CUDA_LAUNCH_BLOCKING=1 \
cmsRun "${hltLabel}".py &> "${hltLabel}".log

(originally from @missirol - thanks!) and verified that with this patch (N.B. only after having run git cms-checkdeps -a ) it runs, whereas it failed in a plain CMSSW_14_0_14_MULTIARCHS.

If this PR is a backport please specify the original PR and why you need to backport that PR. If this PR will be backported please specify to which release cycle the backport is meant for:

verbatim backport of #45743 in order to use it for building the 2024 HIon HLT menu (see CMSHLT-3284 for more details).

…ection<TrackerTraits>

Fix to the device-to-host copy of TrackingRecHitsSoACollection<TrackerTraits>,
in order to initialise the phiBinner data member on the host side.

A more complete explanation of the issue is provided by @makortel in
cms-sw#45708 (comment)
@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 19, 2024

A new Pull Request was created by @mmusich for CMSSW_14_0_X.

It involves the following packages:

  • DataFormats/TrackingRecHitSoA (heterogeneous, reconstruction)

@cmsbuild, @fwyzard, @jfernan2, @makortel, @mandrenguyen can you please review it and eventually sign? Thanks.
@JanFSchulte, @VinInn, @VourMa, @gpetruc, @missirol, @mmusich, @mtosi, @rovere this is something you requested to watch as well.
@antoniovilela, @mandrenguyen, @rappoccio, @sextonkennedy you are the release manager for this.

cms-bot commands are listed here

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 19, 2024

cms-bot internal usage

@mmusich
Copy link
Contributor Author

mmusich commented Aug 19, 2024

type bug-fix

@mmusich
Copy link
Contributor Author

mmusich commented Aug 19, 2024

enable gpu

@mmusich
Copy link
Contributor Author

mmusich commented Aug 19, 2024

@cmsbuild, please test

@cmsbuild
Copy link
Contributor

+1

Size: This PR adds an extra 20KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-159c66/41018/summary.html
COMMIT: d50e7b0
CMSSW: CMSSW_14_0_X_2024-08-19-1100/el8_amd64_gcc12
Additional Tests: GPU
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/45744/41018/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

GPU Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 6
  • DQMHistoTests: Total histograms compared: 37022
  • DQMHistoTests: Total failures: 84
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 36938
  • DQMHistoTests: Total skipped: 0
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 5 files compared)
  • Checked 20 log files, 25 edm output root files, 6 DQM output files
  • TriggerResults: no differences found

@jfernan2
Copy link
Contributor

+1

@mmusich
Copy link
Contributor Author

mmusich commented Aug 21, 2024

@cms-sw/heterogeneous-l2 I see there is still discussion on this topic at #45708 (comment). In the meanwhile the master version of this PR (#45743) was already merged. Is there any action item left here, or can we merge this as-is?

@fwyzard
Copy link
Contributor

fwyzard commented Aug 21, 2024

+heterogeneous

Let's go ahead as is, and follow up afterwards.

@cmsbuild
Copy link
Contributor

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

@mmusich
Copy link
Contributor Author

mmusich commented Aug 22, 2024

type hlt-int

@mmusich
Copy link
Contributor Author

mmusich commented Aug 22, 2024

@cms-sw/orp-l2 can this be merged? We need this for the next 14.0.x (we'll request it at the next ORP meeting).

@mandrenguyen
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 45cbe31 into cms-sw:CMSSW_14_0_X Aug 23, 2024
12 checks passed
@mmusich mmusich deleted the mm_devel_cmssw45708_14_0_X branch August 23, 2024 07:47
@mmusich
Copy link
Contributor Author

mmusich commented Aug 29, 2024

This PR is the culprit of #45834

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.

6 participants