Skip to content

Conversation

@fwyzard
Copy link
Contributor

@fwyzard fwyzard commented Mar 29, 2025

PR description:

Add a test to check that the framework handles correctly the case of edm::Wrapper<T> where:

  • T has a dictionary
  • edm::Wrapper<T> does not have a dictionary
  • the corresponding classes.h file includes CUDA headers

PR validation:

The new unit test currently fails, due to a known issue in the ROOT distribution (#47400).
Updating the ROOT build to generate the cuda.pcm file (cms-sw/cmsdist#9766) avoids the fatal exception, and lets ROOT report a missing dictionary normally.

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:

Backport of #47731 and #47743.

Add a test to check that the framework handles correctly the case of
edm::Wrapper<T> where:
  - T has a dictionary
  - edm::Wrapper<T> does not have a dictionary
  - the corresponding classes.h file includes CUDA headers
@fwyzard
Copy link
Contributor Author

fwyzard commented Mar 29, 2025

backport #47731

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 29, 2025

A new Pull Request was created by @fwyzard for CMSSW_15_0_X.

It involves the following packages:

  • HeterogeneousCore/CUDATest (heterogeneous)

@cmsbuild, @fwyzard, @makortel can you please review it and eventually sign? Thanks.
@makortel, @missirol, @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 Mar 29, 2025

cms-bot internal usage

@fwyzard
Copy link
Contributor Author

fwyzard commented Mar 29, 2025

please test with cms-sw/cmsdist#9766

@fwyzard
Copy link
Contributor Author

fwyzard commented Mar 29, 2025

+heterogeneous

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_15_0_X IBs after it passes the integration tests and once validation in the development release cycle CMSSW_15_1_X is complete. This pull request will now be reviewed by the release team before it's merged. @sextonkennedy, @mandrenguyen, @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-sw/cmsdist#9766

@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-47b605/45281/summary.html
COMMIT: facc142
CMSSW: CMSSW_15_0_X_2025-03-28-2300/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/47732/45281/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • You potentially added 15 lines to the logs
  • Reco comparison results: 2 differences found in the comparisons
  • DQMHistoTests: Total files compared: 50
  • DQMHistoTests: Total histograms compared: 3999716
  • DQMHistoTests: Total failures: 65
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3999631
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 49 files compared)
  • Checked 218 log files, 189 edm output root files, 50 DQM output files
  • TriggerResults: no differences found

@cmsbuild
Copy link
Contributor

cmsbuild commented May 6, 2025

+1

Size: This PR adds an extra 16KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-47b605/45865/summary.html
COMMIT: 765b823
CMSSW: CMSSW_15_0_X_2025-05-05-2300/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/47732/45865/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • You potentially added 21 lines to the logs
  • Reco comparison results: 6 differences found in the comparisons
  • DQMHistoTests: Total files compared: 50
  • DQMHistoTests: Total histograms compared: 4012378
  • DQMHistoTests: Total failures: 105
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 4012253
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 49 files compared)
  • Checked 218 log files, 189 edm output root files, 50 DQM output files
  • TriggerResults: no differences found

@smuzaffar
Copy link
Contributor

@fwyzard , cms-sw/cmssw-config#116 might not work as it will set CLING_MODULES_CACHE_PATH as comma separated list of cmssw lib dirs which clang might not like ( I guess clang needs this to be a directory instead of PATH type variable). Instead of letting root dynamically generate pcm in cmssw I would like to control it during the build phase. I am looking in to CLING_PREBUILT_MODULE_PATH which rootcling uses to search for pre-build modules. May be we should use it and build cuda.pcm with in cmssw and add CMSSW_*/lib/arch paths in to CLING_PREBUILT_MODULE_PATH

@fwyzard
Copy link
Contributor Author

fwyzard commented May 6, 2025

OK, at this point please suggest whatever fix is needed to get this PR merged.

@fwyzard
Copy link
Contributor Author

fwyzard commented May 6, 2025

I still have no idea why cms-sw/cmsdist#9765 is not OK, though.

@fwyzard
Copy link
Contributor Author

fwyzard commented May 30, 2025

please test with cms-sw/cmsdist#9899

@cmsbuild
Copy link
Contributor

-1

Failed Tests: UnitTests
Size: This PR adds an extra 16KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-47b605/46461/summary.html
COMMIT: 765b823
CMSSW: CMSSW_15_0_X_2025-05-30-1100/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/47732/46461/install.sh to create a dev area with all the needed externals and cmssw changes.

Unit Tests

I found 1 errors in the following unit tests:

---> test TestDQMGUIUpload had ERRORS

Comparison Summary

Summary:

@fwyzard
Copy link
Contributor Author

fwyzard commented Jun 3, 2025

please test with cms-sw/cmsdist#9909

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 4, 2025

+1

Size: This PR adds an extra 16KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-47b605/46529/summary.html
COMMIT: 765b823
CMSSW: CMSSW_15_0_X_2025-06-03-1100/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/47732/46529/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-47b605/46529/git-recent-commits.json
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-47b605/46529/git-merge-result

Comparison Summary

Summary:

@fwyzard
Copy link
Contributor Author

fwyzard commented Jun 4, 2025

unhold

This should go together with cms-sw/cmsdist#9909 , that has just been merged.

@fwyzard
Copy link
Contributor Author

fwyzard commented Jun 4, 2025

ah... @mandrenguyen can you unhold this ?

@mandrenguyen
Copy link
Contributor

unhold

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 4, 2025

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

@mandrenguyen
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit bf80339 into cms-sw:CMSSW_15_0_X Jun 4, 2025
9 checks passed
@fwyzard fwyzard deleted the add_CUDA_dictionary_test_150x branch August 13, 2025 15:12
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.

4 participants