Skip to content

Conversation

@fwyzard
Copy link
Contributor

@fwyzard fwyzard commented Feb 21, 2023

PR description:

CUDA, ROCm and Alpaka-related updates:

  • add PortableTestObjects data formats for the ROCm Alpaka backend
  • add support for AMD GPUs via the ProcessAcceleratorROCm
  • update the description of the "backend" parameter
  • introduce different exit status codes for cudaIsEnabled and rocmIsEnabled
  • add abstract interfaces for the CUDA and ROCm services
  • do not load the CUDA or ROCm services if the backends are not available
  • update the PhysicsTools/TensorFlow tests accordingly

PR validation:

All unit tests should pass.

Backport status

To be backported to CMSSW 13.0.x for data taking.

@fwyzard
Copy link
Contributor Author

fwyzard commented Feb 21, 2023

please test

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-40832/34287

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @fwyzard (Andrea Bocci) for master.

It involves the following packages:

  • Configuration/StandardSequences (operations)
  • DataFormats/PortableTestObjects (heterogeneous)
  • HeterogeneousCore/AlpakaCore (heterogeneous)
  • HeterogeneousCore/CUDACore (heterogeneous)
  • HeterogeneousCore/CUDAServices (heterogeneous)
  • HeterogeneousCore/CUDAUtilities (heterogeneous)
  • HeterogeneousCore/Common (heterogeneous)
  • HeterogeneousCore/ROCmCore (heterogeneous)
  • HeterogeneousCore/ROCmUtilities (heterogeneous)
  • PhysicsTools/TensorFlow (reconstruction)

@perrotta, @rappoccio, @makortel, @clacaputo, @fwyzard, @mandrenguyen, @fabiocos, @davidlange6 can you please review it and eventually sign? Thanks.
@fabiocos, @VourMa, @makortel, @felicepantaleo, @riga, @GiacomoSguazzoni, @JanFSchulte, @rovere, @VinInn, @Martin-Grunewald, @missirol, @mmusich, @sameasy, @mtosi, @dgulhan, @slomeo this is something you requested to watch as well.
@perrotta, @dpiparo, @rappoccio you are the release manager for this.

cms-bot commands are listed here

@cmsbuild
Copy link
Contributor

-1

Failed Tests: UnitTests RelVals RelVals-INPUT AddOn
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-9dbeaa/30774/summary.html
COMMIT: 3ac1296
CMSSW: CMSSW_13_1_X_2023-02-20-2300/el8_amd64_gcc11
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/40832/30774/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-9dbeaa/30774/git-recent-commits.json
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-9dbeaa/30774/git-merge-result

Unit Tests

I found errors in the following unit tests:

---> test testHeterogeneousCoreCUDATestWriteRead had ERRORS
---> test testHeterogeneousCoreAlpakaTestModules had ERRORS
---> test testHeterogeneousCoreAlpakaTestWriteRead had ERRORS
---> test TestCUDATest had ERRORS
and more ...

RelVals

----- Begin Fatal Exception 21-Feb-2023 11:04:07 CET-----------------------
An exception of category 'PluginLibraryLoadError' occurred while
   [0] Constructing the EventProcessor
   [1] While attempting to load plugin CUDAService
Exception Message:
unable to load /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/40832/30774/CMSSW_13_1_X_2023-02-20-2300/lib/el8_amd64_gcc11/poisoned/plugin-poisoned-HeterogeneousCoreCUDAServicesPlugins.so because /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/40832/30774/CMSSW_13_1_X_2023-02-20-2300/lib/el8_amd64_gcc11/poisoned/plugin-poisoned-HeterogeneousCoreCUDAServicesPlugins.so: cannot open shared object file: No such file or directory
----- End Fatal Exception -------------------------------------------------
----- Begin Fatal Exception 21-Feb-2023 11:17:29 CET-----------------------
An exception of category 'PluginLibraryLoadError' occurred while
   [0] Constructing the EventProcessor
   [1] While attempting to load plugin CUDAService
Exception Message:
unable to load /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/40832/30774/CMSSW_13_1_X_2023-02-20-2300/lib/el8_amd64_gcc11/poisoned/plugin-poisoned-HeterogeneousCoreCUDAServicesPlugins.so because /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/40832/30774/CMSSW_13_1_X_2023-02-20-2300/lib/el8_amd64_gcc11/poisoned/plugin-poisoned-HeterogeneousCoreCUDAServicesPlugins.so: cannot open shared object file: No such file or directory
----- End Fatal Exception -------------------------------------------------
----- Begin Fatal Exception 21-Feb-2023 11:17:29 CET-----------------------
An exception of category 'PluginLibraryLoadError' occurred while
   [0] Constructing the EventProcessor
   [1] While attempting to load plugin CUDAService
Exception Message:
unable to load /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/40832/30774/CMSSW_13_1_X_2023-02-20-2300/lib/el8_amd64_gcc11/poisoned/plugin-poisoned-HeterogeneousCoreCUDAServicesPlugins.so because /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/40832/30774/CMSSW_13_1_X_2023-02-20-2300/lib/el8_amd64_gcc11/poisoned/plugin-poisoned-HeterogeneousCoreCUDAServicesPlugins.so: cannot open shared object file: No such file or directory
----- End Fatal Exception -------------------------------------------------
Expand to see more relval errors ...

RelVals-INPUT

  • 139.002139.002_RunZeroBias2021/step2_RunZeroBias2021.log
  • 139.001139.001_RunMinimumBias2021/step2_RunMinimumBias2021.log
  • 139.004139.004_RunNoBPTX2021/step2_RunNoBPTX2021.log
Expand to see more relval errors ...

AddOn Tests

----- Begin Fatal Exception 21-Feb-2023 11:05:38 CET-----------------------
An exception of category 'PluginLibraryLoadError' occurred while
   [0] Constructing the EventProcessor
   [1] While attempting to load plugin CUDAService
Exception Message:
unable to load /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/40832/30774/CMSSW_13_1_X_2023-02-20-2300/lib/el8_amd64_gcc11/poisoned/plugin-poisoned-HeterogeneousCoreCUDAServicesPlugins.so because /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/40832/30774/CMSSW_13_1_X_2023-02-20-2300/lib/el8_amd64_gcc11/poisoned/plugin-poisoned-HeterogeneousCoreCUDAServicesPlugins.so: cannot open shared object file: No such file or directory
----- End Fatal Exception -------------------------------------------------
----- Begin Fatal Exception 21-Feb-2023 11:06:26 CET-----------------------
An exception of category 'PluginLibraryLoadError' occurred while
   [0] Constructing the EventProcessor
   [1] While attempting to load plugin CUDAService
Exception Message:
unable to load /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/40832/30774/CMSSW_13_1_X_2023-02-20-2300/lib/el8_amd64_gcc11/poisoned/plugin-poisoned-HeterogeneousCoreCUDAServicesPlugins.so because /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/40832/30774/CMSSW_13_1_X_2023-02-20-2300/lib/el8_amd64_gcc11/poisoned/plugin-poisoned-HeterogeneousCoreCUDAServicesPlugins.so: cannot open shared object file: No such file or directory
----- End Fatal Exception -------------------------------------------------
----- Begin Fatal Exception 21-Feb-2023 11:05:33 CET-----------------------
An exception of category 'PluginLibraryLoadError' occurred while
   [0] Constructing the EventProcessor
   [1] While attempting to load plugin CUDAService
Exception Message:
unable to load /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/40832/30774/CMSSW_13_1_X_2023-02-20-2300/lib/el8_amd64_gcc11/poisoned/plugin-poisoned-HeterogeneousCoreCUDAServicesPlugins.so because /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/40832/30774/CMSSW_13_1_X_2023-02-20-2300/lib/el8_amd64_gcc11/poisoned/plugin-poisoned-HeterogeneousCoreCUDAServicesPlugins.so: cannot open shared object file: No such file or directory
----- End Fatal Exception -------------------------------------------------
Expand to see more addon errors ...

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-40832/34377

@cmsbuild
Copy link
Contributor

Pull request #40832 was updated. @perrotta, @malbouis, @rappoccio, @yuanchao, @ChrisMisan, @clacaputo, @tvami, @AdrianoDee, @srimanob, @saumyaphor4252, @francescobrivio, @mandrenguyen, @fabiocos, @davidlange6 can you please check and sign again.

@mandrenguyen
Copy link
Contributor

+1
resign

@tvami
Copy link
Contributor

tvami commented Feb 28, 2023

+alca

@AdrianoDee
Copy link
Contributor

+upgrade
(upgrade-wise only changes to few headers)

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-9dbeaa/30954/summary.html
COMMIT: 1c30d1c
CMSSW: CMSSW_13_1_X_2023-02-27-2300/el8_amd64_gcc11
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/40832/30954/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • You potentially removed 29 lines from the logs
  • Reco comparison results: 9 differences found in the comparisons
  • DQMHistoTests: Total files compared: 49
  • DQMHistoTests: Total histograms compared: 3529699
  • DQMHistoTests: Total failures: 6
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3529671
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 48 files compared)
  • Checked 213 log files, 164 edm output root files, 49 DQM output files
  • TriggerResults: no differences found

@rappoccio
Copy link
Contributor

+1

@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 be automatically merged.

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.

8 participants