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

ECAL DQM - Add WF .513 for ECAL GPU vs. CPU validation #37123

Merged
merged 5 commits into from
Mar 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Configuration/PyReleaseValidation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,17 @@ The offsets currently in use are:
* 0.5: Pixel tracking only + 0.1
* 0.501: Patatrack, pixel only quadruplets, on CPU
* 0.502: Patatrack, pixel only quadruplets, with automatic offload to GPU if available
* 0.504: Patatrack, pixel only quadruplets, GPU profiling
* 0.505: Patatrack, pixel only triplets, on CPU
* 0.506: Patatrack, pixel only triplets, with automatic offload to GPU if available
* 0.508: Patatrack, pixel only triplets, GPU profiling
* 0.511: Patatrack, ECAL only, on CPU
* 0.512: Patatrack, ECAL only, with automatic offload to GPU if available
* 0.513: Patatrack, ECAL only, GPU vs. CPU validation
* 0.514: Patatrack, ECAL only, GPU profiling
* 0.521: Patatrack, HCAL only, on CPU
* 0.522: Patatrack, HCAL only, with automatic offload to GPU if available
* 0.524: Patatrack, HCAL only, GPU profiling
* 0.591: Patatrack, full reco with pixel quadruplets, on CPU
* 0.592: Patatrack, full reco with pixel quadruplets, with automatic offload to GPU if available
* 0.595: Patatrack, full reco with pixel triplets, on CPU
Expand Down
64 changes: 32 additions & 32 deletions Configuration/PyReleaseValidation/python/relval_gpu.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,39 +14,39 @@
#just define all of them

#WFs to run in IB:
# mc 2018 (Patatrack pixel-only quadruplets: ZMM - on GPU, both CPU and GPU, auto)
# (Patatrack pixel-only triplets: ZMM - on GPU, both CPU and GPU, auto)
# (Patatrack pixel-only quadruplets: TTbar - on GPU, both CPU and GPU, auto)
# (Patatrack pixel-only triplets: TTbar - on GPU, both CPU and GPU, auto)
# (Patatrack ECAL-only: TTbar - on GPU, both CPU and GPU, auto)
# (Patatrack HCAL-only: TTbar - on GPU, both CPU and GPU, auto)
# (Patatrack full reco with pixel quadruplets: TTbar - on GPU, both CPU and GPU, auto)
# (Patatrack full reco with pixel triplets: TTbar - on GPU, both CPU and GPU, auto)
# mc 2021 (Patatrack pixel-only quadruplets: ZMM - on GPU, both CPU and GPU, auto)
# (Patatrack pixel-only triplets: ZMM - on GPU, both CPU and GPU, auto)
# (Patatrack pixel-only quadruplets: TTbar - on GPU, both CPU and GPU, auto)
# (Patatrack pixel-only triplets: TTbar - on GPU, both CPU and GPU, auto)
# (Patatrack ECAL-only: TTbar - on GPU, both CPU and GPU, auto)
# (Patatrack HCAL-only: TTbar - on GPU, both CPU and GPU, auto)
# (Patatrack full reco with pixel quadruplets: TTbar - on GPU, both CPU and GPU, auto)
# (Patatrack full reco with pixel triplets: TTbar - on GPU, both CPU and GPU, auto)
# mc 2018 (Patatrack pixel-only quadruplets: ZMM - on GPU, both CPU and GPU, profiling)
# (Patatrack pixel-only triplets: ZMM - on GPU, both CPU and GPU, profiling)
# (Patatrack pixel-only quadruplets: TTbar - on GPU, both CPU and GPU, profiling)
# (Patatrack pixel-only triplets: TTbar - on GPU, both CPU and GPU, profiling)
# (Patatrack ECAL-only: TTbar - on GPU, both CPU and GPU, profiling)
# (Patatrack HCAL-only: TTbar - on GPU, both CPU and GPU, profiling)
# (Patatrack full reco with pixel quadruplets: TTbar - on GPU, both CPU and GPU, profiling)
# (Patatrack full reco with pixel triplets: TTbar - on GPU, both CPU and GPU, profiling)
# mc 2021 (Patatrack pixel-only quadruplets: ZMM - on GPU, both CPU and GPU, profiling)
# (Patatrack pixel-only triplets: ZMM - on GPU, both CPU and GPU, profiling)
# (Patatrack pixel-only quadruplets: TTbar - on GPU, both CPU and GPU, profiling)
# (Patatrack pixel-only triplets: TTbar - on GPU, both CPU and GPU, profiling)
# (Patatrack ECAL-only: TTbar - on GPU, both CPU and GPU, profiling)
# (Patatrack HCAL-only: TTbar - on GPU, both CPU and GPU, profiling)
# (Patatrack full reco with pixel quadruplets: TTbar - on GPU, both CPU and GPU, profiling)
# (Patatrack full reco with pixel triplets: TTbar - on GPU, both CPU and GPU, profiling)
numWFIB = [
10842.502, # 10842.503,10842.504,
10842.506, # 10842.507,10842.508,
10824.502, # 10824.503,10824.504,
10824.506, # 10824.507,10824.508,
10824.512, # 10824.513,10824.514,
10824.522, # 10824.523,10824.524,
10824.592, # 10824.593,10824.594,
10824.596, # 10824.597,10824.598,
11650.502, # 11650.503,11650.504,
11650.506, # 11650.507,11650.508,
11634.502, # 11634.503,11634.504,
11634.506, # 11634.507,11634.508,
11634.512, # 11634.513,11634.514,
11634.522, # 11634.523,11634.524
11634.592, # 11634.593,11634.594,
11634.596, # 11634.597,11634.598,
10842.502, # 10842.503, 10842.504,
10842.506, # 10842.507, 10842.508,
10824.502, # 10824.503, 10824.504,
10824.506, # 10824.507, 10824.508,
10824.512, 10824.513, # 10824.514,
10824.522, # 10824.523, 10824.524,
10824.592, # 10824.593, 10824.594,
10824.596, # 10824.597, 10824.598,
11650.502, # 11650.503, 11650.504,
11650.506, # 11650.507, 11650.508,
11634.502, # 11634.503, 11634.504,
11634.506, # 11634.507, 11634.508,
11634.512, 11634.513, # 11634.514,
11634.522, # 11634.523, 11634.524,
11634.592, # 11634.593, 11634.594,
11634.596, # 11634.597, 11634.598,
]
for numWF in numWFIB:
if not numWF in _upgrade_workflows: continue
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,22 @@ def setup_(self, step, stepName, stepDict, k, properties):
offset = 0.512,
)

# add here a .513 workflow for GPU vs CPU validation
upgradeWFs['PatatrackECALOnlyGPUValidation'] = PatatrackWorkflow(
digi = {
'--accelerators': 'gpu-nvidia',
'--procModifiers': 'gpu'
},
reco = {
'-s': 'RAW2DIGI:RawToDigi_ecalOnly,RECO:reconstruction_ecalOnly,VALIDATION:@ecalOnlyValidation,DQM:@ecalOnly',
'--accelerators': 'gpu-nvidia',
'--procModifiers': 'gpuValidation'
},
harvest = {
'-s': 'HARVESTING:@ecalOnlyValidation+@ecal'
},
suffix = 'Patatrack_ECALOnlyGPU_Validation',
offset = 0.513,
)

upgradeWFs['PatatrackECALOnlyGPUProfiling'] = PatatrackWorkflow(
digi = {
Expand Down
2 changes: 1 addition & 1 deletion DQM/EcalMonitorTasks/python/EcalMonitorTask_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
from Configuration.ProcessModifiers.gpuValidationEcal_cff import gpuValidationEcal
from DQM.EcalMonitorTasks.ecalGpuTask_cfi import ecalGpuTask

gpuValidationEcal.toModify(ecalGpuTask.params, runGpuTask = cms.untracked.bool(True))
gpuValidationEcal.toModify(ecalGpuTask.params, runGpuTask = True)
gpuValidationEcal.toModify(ecalMonitorTask.workers, func = lambda workers: workers.append("GpuTask"))
gpuValidationEcal.toModify(ecalMonitorTask, workerParameters = dict(GpuTask = ecalGpuTask))