-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Create new ECAL DQM GpuTask to monitor and compare CPU and GPU generated ECAL Rec Hits #35946
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35946/26352
|
A new Pull Request was created by @alejands (Alejandro Sanchez) for master. It involves the following packages:
@emanueleusai, @ahmad3213, @cmsbuild, @jfernan2, @pmandrik, @pbo0, @rvenditti can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
-1 Failed Tests: UnitTests Unit TestsI found errors in the following unit tests: ---> test TestDQMServicesDemo had ERRORS Comparison SummarySummary:
|
We believe that the tests failed due to the GPU ecalRecHits not being enabled in CMSSW at the moment. The |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35946/26374
|
Pull request #35946 was updated. @emanueleusai, @ahmad3213, @cmsbuild, @jfernan2, @pmandrik, @pbo0, @rvenditti can you please check and sign again. |
ecbe217
to
a47505d
Compare
enable gpu |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35946/26400
|
Pull request #35946 was updated. @emanueleusai, @ahmad3213, @cmsbuild, @jfernan2, @pmandrik, @pbo0, @rvenditti can you please check and sign again. |
please test |
Could this switch me toggled automatically when running on a GPU machine with
? Or maybe even better modify |
@thomreis As far as I know, your toggle example should work. We have a similar switch for running on emulated digis, which is switched OFF in most Offline DQM configs (this switch is set to ON by default)
Could you point me to an example on how to check is a GPU is available? I could take a look and see if this is possible within |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-b82a8c/20231/summary.html GPU Comparison SummarySummary:
Comparison SummarySummary:
|
You would use the same gpu.toModify() method as for the single parameter. More details are in this twiki (it is about eras but I think the mechanism is the same for GPU modifications): https://twiki.cern.ch/twiki/bin/view/CMSPublic/SWGuideCmsDriverEras I think something like this should work:
I guess in this case the |
PR description:
PPD has requested DQM subsystems to monitor several GPU-enabled collections being introduced in CMSSW_12_1_X. We have introduced a new EcalMonitorTask called GpuTask designed to take in CPU and GPU generated rec hits and produce plots comparing several rec hit quantities for each run. We don't explicitly plot the GPU rec hit values for the sake of memory efficiency. Additional plots may be added in the future.
This task will not run by default on the regular Online DQM workflow.
PR validation:
One caveat to this version of the code is that we have not been able to test it on actual GPU rec hits. There appears to be no workflow currently that produces both types of rec hit collections. We have been informed by Thomas Reis that CPU and GPU ECAL rec hits are the same data type, so our testing is done by changing the input tags so that both collections are the CPU rec hits.
This code was run with the runTheMatrix workflow 10842.512 and the new plots look as expected.
A backport to 12_1_X is submitted here #35947