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

Prevent simultaneous execution of Rivet modules #26597

Merged
merged 3 commits into from
May 6, 2019

Conversation

mseidel42
Copy link
Contributor

@mseidel42 mseidel42 commented May 2, 2019

PR description:

Several nanoAod workflows crashed when multi-thread jobs were running both Rivet-based ParticleLevelProducer and HTXSRivetProducer.
This PR prevents Rivet-based modules to be executed at the same time.

PR validation:

Updated modules tested on Higgs and non-Higgs sample. All Rivet modules run together within a test job using 10 threads, no crash after 10k events (the old versions crashed after a few events).

RivetAnalyzer:

Rivet.Analysis.Handler: INFO  Finalising analyses
Rivet.Analysis.Handler: INFO  Processed 10000 events

ParticleLevelProducer: Object output (dressed leptons etc.) is as expected.

HTXSRivetProducer:

Rivet.Analysis.HiggsTemplateCrossSections: INFO   ====================================================== 
Rivet.Analysis.HiggsTemplateCrossSections: INFO        Higgs Template X-Sec Categorization Tool          
Rivet.Analysis.HiggsTemplateCrossSections: INFO                  Status Code Summary                     
Rivet.Analysis.HiggsTemplateCrossSections: INFO   ====================================================== 
Rivet.Analysis.HiggsTemplateCrossSections: INFO       >>>> 10000 events successfully categorized
Rivet.Analysis.HiggsTemplateCrossSections: INFO       >>>> --> the following errors occured:
Rivet.Analysis.HiggsTemplateCrossSections: INFO       >>>> 0 had an undefined Higgs production mode.
Rivet.Analysis.HiggsTemplateCrossSections: INFO       >>>> 0 failed momentum conservation.
Rivet.Analysis.HiggsTemplateCrossSections: INFO       >>>> 0 failed to identify a valid Higgs boson.
Rivet.Analysis.HiggsTemplateCrossSections: INFO       >>>> 0 failed to identify the hard scatter vertex.
Rivet.Analysis.HiggsTemplateCrossSections: INFO       >>>> 0 VH: to identify a valid V-boson.
Rivet.Analysis.HiggsTemplateCrossSections: INFO       >>>> 0 failed to identify valid Ws from top decay.
Rivet.Analysis.HiggsTemplateCrossSections: INFO   ====================================================== 
Rivet.Analysis.HiggsTemplateCrossSections: INFO   ====================================================== 

@cmsbuild
Copy link
Contributor

cmsbuild commented May 2, 2019

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

cmsbuild commented May 2, 2019

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-26597/9532

  • This PR adds an extra 20KB to repository

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

@cmsbuild
Copy link
Contributor

cmsbuild commented May 2, 2019

The code-checks are being triggered in jenkins.

@mseidel42
Copy link
Contributor Author

Code-format makes the PR hard to read now, please just see the first commit for the relevant changes: 37dd72d

@cmsbuild
Copy link
Contributor

cmsbuild commented May 2, 2019

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-26597/9536

  • This PR adds an extra 24KB to repository

@cmsbuild
Copy link
Contributor

cmsbuild commented May 2, 2019

A new Pull Request was created by @intrepid42 (Markus Seidel) for master.

It involves the following packages:

GeneratorInterface/RivetInterface

@alberto-sanchez, @cmsbuild, @qliphy, @perrozzi, @efeyazgan can you please review it and eventually sign? Thanks.
@alberto-sanchez, @agrohsje, @mkirsano this is something you requested to watch as well.
@davidlange6, @slava77, @fabiocos you are the release manager for this.

cms-bot commands are listed here

@efeyazgan
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented May 2, 2019

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/34462/console Started: 2019/05/02 18:45

@cmsbuild
Copy link
Contributor

cmsbuild commented May 2, 2019

@cmsbuild
Copy link
Contributor

cmsbuild commented May 2, 2019

Comparison job queued.

@cmsbuild
Copy link
Contributor

cmsbuild commented May 2, 2019

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-26597/34462/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 33
  • DQMHistoTests: Total histograms compared: 3211964
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3211759
  • DQMHistoTests: Total skipped: 204
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 32 files compared)
  • Checked 137 log files, 14 edm output root files, 33 DQM output files

@cmsbuild
Copy link
Contributor

cmsbuild commented May 6, 2019

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

cmsbuild commented May 6, 2019

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-26597/9596

  • This PR adds an extra 24KB to repository

@cmsbuild
Copy link
Contributor

cmsbuild commented May 6, 2019

Pull request #26597 was updated. @alberto-sanchez, @cmsbuild, @qliphy, @perrozzi, @efeyazgan can you please check and sign again.

@efeyazgan
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented May 6, 2019

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/34508/console Started: 2019/05/06 10:09

@cmsbuild
Copy link
Contributor

cmsbuild commented May 6, 2019

@cmsbuild
Copy link
Contributor

cmsbuild commented May 6, 2019

Comparison job queued.

@peruzzim
Copy link
Contributor

peruzzim commented May 6, 2019

I have tested manually a long nanoAOD workflow, and I confirm that the multi-threading issue seems solved by this fix. It would be great if this makes it to pre5.

@cmsbuild
Copy link
Contributor

cmsbuild commented May 6, 2019

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-26597/34508/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 33
  • DQMHistoTests: Total histograms compared: 3211964
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3211759
  • DQMHistoTests: Total skipped: 204
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 32 files compared)
  • Checked 137 log files, 14 edm output root files, 33 DQM output files

@efeyazgan
Copy link
Contributor

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented May 6, 2019

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. @davidlange6, @slava77, @smuzaffar, @fabiocos (and backports should be raised in the release meeting by the corresponding L2)

@peruzzim
Copy link
Contributor

peruzzim commented May 6, 2019

Please backport this fix to 10_2_X. Thanks!

@fabiocos
Copy link
Contributor

fabiocos commented May 6, 2019

+1

@cmsbuild cmsbuild merged commit d6b1c1e into cms-sw:master May 6, 2019
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

5 participants