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

implement Concurrent GeneratorFilter technique #33883

Merged
merged 5 commits into from Jun 8, 2021

Conversation

PhyM73
Copy link
Contributor

@PhyM73 PhyM73 commented May 28, 2021

PR description:

The concurrent version of GeneratorFilter is implemented for GEN workflows. This global module mimics the ConcurrentHadronizerFilter and replicates the Generator for each stream in order to run them concurrently. This only works for thread-friendly hadronizers, decayers, and filters.

  • Nothing changed in output; expects improved CPU time.
  • None of other PRs or externals it depends upon.
  • Add a concurrent module of Pythia8 generator, Pythia8ConcurrentGeneratorFilter.
  • Provide a unit test in GeneratorInterface/Pythia8Interface/test/BuildFile.xml and a test file as GeneratorInterface/Core/test/ConcurrentGeneratorFilter_WZ_TuneCP5_13TeV-pythia8_cfg.py.
  • #25090(comment).

PR validation:

Tested on BTV-RunIISummer20UL17GEN-00002 with 2, 4, and 8 threads and with 1 and 2 ConcurrentLuminosityBlocks respectively. All of them succeed.

Implement Concurrent GeneratorFilter technique, which can replicate the Generator for each stream in order to run them concurrently. Add a concurrent module of pythia8 generator and a python _cfg file for test.
Clean the redundance in `GeneratorInterface/Pythia8Interface/plugins/BuildFile.xml`.
@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33883/22920

  • This PR adds an extra 28KB to repository

  • Found files with invalid states:

    • GeneratorInterface/Core/test/ConcurrentGeneratorFilter_WZ_TuneCP5_13TeV-pythia8_cfg.py:

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @PhyM73 (Frank M) for master.

It involves the following packages:

GeneratorInterface/Core
GeneratorInterface/Pythia8Interface

@SiewYan, @mkirsano, @cmsbuild, @GurpreetSinghChahal, @agrohsje, @alberto-sanchez can you please review it and eventually sign? Thanks.
@alberto-sanchez, @mkirsano this is something you requested to watch as well.
@silviodonato, @dpiparo, @qliphy you are the release manager for this.

cms-bot commands are listed here

@SiewYan
Copy link
Contributor

SiewYan commented May 28, 2021

please test

@PhyM73
Copy link
Contributor Author

PhyM73 commented May 28, 2021

@makortel @Dr15Jones FYI. : )

@Dr15Jones
Copy link
Contributor

@PhyM73 Thanks!

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-bb2040/15391/summary.html
COMMIT: fc9f8db
CMSSW: CMSSW_12_0_X_2021-05-28-1100/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/33883/15391/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 37
  • DQMHistoTests: Total histograms compared: 2650486
  • DQMHistoTests: Total failures: 6
  • DQMHistoTests: Total nulls: 1
  • DQMHistoTests: Total successes: 2650457
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: -0.004 KiB( 36 files compared)
  • DQMHistoSizes: changed ( 312.0 ): -0.004 KiB MessageLogger/Warnings
  • Checked 155 log files, 37 edm output root files, 37 DQM output files
  • TriggerResults: no differences found

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33883/22932

  • This PR adds an extra 28KB to repository

  • Found files with invalid states:

    • GeneratorInterface/Core/test/ConcurrentGeneratorFilter_WZ_TuneCP5_13TeV-pythia8_cfg.py:

@cmsbuild
Copy link
Contributor

Pull request #33883 was updated. @SiewYan, @mkirsano, @cmsbuild, @GurpreetSinghChahal, @agrohsje, @alberto-sanchez can you please check and sign again.

@SiewYan
Copy link
Contributor

SiewYan commented May 29, 2021

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 7, 2021

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33883/23108

  • This PR adds an extra 32KB to repository

  • Found files with invalid states:

    • GeneratorInterface/Core/test/ConcurrentGeneratorFilter_WZ_TuneCP5_13TeV-pythia8_cfg.py:

Code check has found code style and quality issues which could be resolved by applying following patch(s)

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 7, 2021

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33883/23109

  • This PR adds an extra 32KB to repository

  • Found files with invalid states:

    • GeneratorInterface/Core/test/ConcurrentGeneratorFilter_WZ_TuneCP5_13TeV-pythia8_cfg.py:

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 7, 2021

Pull request #33883 was updated. @SiewYan, @mkirsano, @cmsbuild, @GurpreetSinghChahal, @agrohsje, @alberto-sanchez can you please check and sign again.

@SiewYan
Copy link
Contributor

SiewYan commented Jun 7, 2021

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 7, 2021

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-bb2040/15717/summary.html
COMMIT: 6e43c45
CMSSW: CMSSW_12_0_X_2021-06-06-2300/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/33883/15717/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 37
  • DQMHistoTests: Total histograms compared: 2648335
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2648312
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 36 files compared)
  • Checked 155 log files, 37 edm output root files, 37 DQM output files
  • TriggerResults: no differences found

@agrohsje
Copy link

agrohsje commented Jun 8, 2021

+generators

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 8, 2021

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 now be reviewed by the release team before it's merged. @silviodonato, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2)

@qliphy
Copy link
Contributor

qliphy commented Jun 8, 2021

+1

@cmsbuild cmsbuild merged commit 2a84834 into cms-sw:master Jun 8, 2021
@PhyM73 PhyM73 deleted the feat-ConcurrentGeneratorFilter branch June 9, 2021 01:26
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.

None yet

7 participants