Skip to content

Conversation

@fwyzard
Copy link
Contributor

@fwyzard fwyzard commented Jan 24, 2026

PR description:

Let multiple CMSSW processes on the same or different machines coordinate event processing and transfer data products over MPI.

The implementation is based on four CMSSW modules. Two are responsible for setting up the communication channels and coordinate the event processing:

  • a "remote controller" called MPIController;
  • a "remote source" called MPISource; and two are responsible for the transfer of data products:
  • a "sender" called MPISender;
  • a "receiver" called MPIReceiver.

Data products can be serialised and transferred using the trivial serialisation from HeterogeneousCore/TrivialSerialisation - if available - or the ROOT-based serialisation.

Various tests are used to validate the implementation: matching the local and remote event id, transferring SoA products with trivial serialisation, and transferring legacy product with ROOT serialisation.

PR validation:

See #32632.

If this PR is a backport please specify the original PR and why you need to backport that PR.

Backport of #32632 to 16.0.x for testing online in parallel to the 2026 data taking.

Let multiple CMSSW processes on the same or different machines coordinate event
processing and transfer data products over MPI.

The implementation is based on four CMSSW modules. Two are responsible for
setting up the communication channels and coordinate the event processing:
  - a "remote controller" called MPIController;
  - a "remote source" called MPISource;
and two are responsible for the transfer of data products:
  - a "sender" called MPISender;
  - a "receiver" called MPIReceiver.

Data products can be serialised and transferred using the trivial serialisation
from HeterogeneousCore/TrivialSerialisation - if available - or the ROOT-based
serialisation.

Various tests are used to validate the implementation: matching the local and
remote event id, transferring SoA products with trivial serialisation, and
transferring legacy product with ROOT serialisation.

Co-authored-by: Andrea Bocci <[email protected]>
Co-authored-by: Anna Polova <[email protected]>
Co-authored-by: Mario Gonzalez <[email protected]>
@cmsbuild
Copy link
Contributor

cmsbuild commented Jan 24, 2026

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

It involves the following packages:

  • HeterogeneousCore/MPICore (heterogeneous)

@cmsbuild, @fwyzard, @makortel can you please review it and eventually sign? Thanks.
@makortel, @rovere this is something you requested to watch as well.
@ftenchini, @mandrenguyen, @sextonkennedy you are the release manager for this.

cms-bot commands are listed here

@cmsbuild
Copy link
Contributor

cmsbuild commented Jan 24, 2026

cms-bot internal usage

@fwyzard fwyzard changed the title Extend CMSSW to a distributed application over MPI Extend CMSSW to a distributed application over MPI [16.0.x] Jan 24, 2026
@fwyzard
Copy link
Contributor Author

fwyzard commented Jan 24, 2026

please test with #49882

@fwyzard
Copy link
Contributor Author

fwyzard commented Jan 24, 2026

+heterogeneous

@cmsbuild
Copy link
Contributor

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

@fwyzard
Copy link
Contributor Author

fwyzard commented Jan 24, 2026

type ngt

@cmsbuild cmsbuild added the ngt label Jan 24, 2026
@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-ca6da2/50873/summary.html
COMMIT: c4ae7ce
CMSSW: CMSSW_16_0_X_2026-01-23-2300/el8_amd64_gcc13
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/49930/50873/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • You potentially removed 13 lines from the logs
  • ROOTFileChecks: Some differences in event products or their sizes found
  • Reco comparison results: 9 differences found in the comparisons
  • DQMHistoTests: Total files compared: 53
  • DQMHistoTests: Total histograms compared: 4149103
  • DQMHistoTests: Total failures: 73
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 4149010
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 52 files compared)
  • Checked 227 log files, 198 edm output root files, 53 DQM output files
  • TriggerResults: no differences found

@fwyzard fwyzard closed this Jan 26, 2026
@fwyzard fwyzard deleted the MPI_updates_160x branch January 26, 2026 08:14
@fwyzard fwyzard restored the MPI_updates_160x branch January 26, 2026 17:22
@fwyzard
Copy link
Contributor Author

fwyzard commented Jan 26, 2026

Ops, looks like I deleted the branch by mistake :-/

@fwyzard
Copy link
Contributor Author

fwyzard commented Jan 26, 2026

please test

@cmsbuild
Copy link
Contributor

-1

Failed Tests: UnitTests
Size: This PR adds an extra 28KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-ca6da2/50908/summary.html
COMMIT: 8ba3e94
CMSSW: CMSSW_16_0_X_2026-01-26-1100/el8_amd64_gcc13
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/49930/50908/install.sh to create a dev area with all the needed externals and cmssw changes.

Failed Unit Tests

I found 1 errors in the following unit tests:

---> test testMPISoATransfer had ERRORS

Comparison Summary

Summary:

  • You potentially removed 1 lines from the logs
  • ROOTFileChecks: Some differences in event products or their sizes found
  • Reco comparison results: 9 differences found in the comparisons
  • DQMHistoTests: Total files compared: 53
  • DQMHistoTests: Total histograms compared: 4149103
  • DQMHistoTests: Total failures: 6
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 4149077
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 52 files compared)
  • Checked 227 log files, 198 edm output root files, 53 DQM output files
  • TriggerResults: no differences found

@fwyzard
Copy link
Contributor Author

fwyzard commented Jan 27, 2026

+heterogeneous

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_16_0_X IBs after it passes the integration tests and once validation in the development release cycle CMSSW_16_1_X is complete. This pull request will now be reviewed by the release team before it's merged. @sextonkennedy, @mandrenguyen, @ftenchini (and backports should be raised in the release meeting by the corresponding L2)

@fwyzard
Copy link
Contributor Author

fwyzard commented Jan 27, 2026

please test with #49882

@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-ca6da2/50938/summary.html
COMMIT: c4ae7ce
CMSSW: CMSSW_16_0_X_2026-01-27-1100/el8_amd64_gcc13
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/49930/50938/install.sh to create a dev area with all the needed externals and cmssw changes.

Failed Unit Tests

I found 1 errors in the following unit tests:

---> test testMPISoATransfer had ERRORS

Comparison Summary

Summary:

  • You potentially removed 1 lines from the logs
  • ROOTFileChecks: Some differences in event products or their sizes found
  • Reco comparison results: 12 differences found in the comparisons
  • DQMHistoTests: Total files compared: 53
  • DQMHistoTests: Total histograms compared: 4149103
  • DQMHistoTests: Total failures: 101
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 4148982
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 52 files compared)
  • Checked 227 log files, 198 edm output root files, 53 DQM output files
  • TriggerResults: no differences found

@fwyzard
Copy link
Contributor Author

fwyzard commented Jan 28, 2026

urgent

aimed at CMSSW_16_0_0

@fwyzard
Copy link
Contributor Author

fwyzard commented Jan 28, 2026

Unit tests worked locally with CMSSW_16_0_X_2026-01-27-2300, on top of #49882 and #49953.
Let's get those merged and re-run here.

@fwyzard
Copy link
Contributor Author

fwyzard commented Jan 28, 2026

hold

Need to merge #49882 first.

@cmsbuild
Copy link
Contributor

Pull request has been put on hold by @fwyzard
They need to issue an unhold command to remove the hold state or L1 can unhold it for all

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.

2 participants