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

Add a service to handle MPI initialisation #31155

Merged
merged 1 commit into from Aug 19, 2020

Conversation

fwyzard
Copy link
Contributor

@fwyzard fwyzard commented Aug 16, 2020

PR description:

Add an MPIService to handle

  • MPI initialisation requiring multithreading support
  • LogInfo of some MPI environment information
  • MPI finalisation

Add a python configuration to test the MPIService.

Any other service or module that uses MPI should require this service, to guarantee that MPI is initialised/finalised in the correct order.

PR validation:

$ scram b runtests
...
Creating test log file logs/slc7_amd64_gcc820/testing.log
Package HeterogeneousCore/MPIServices: Running test TestHeterogeneousCoreMPIServices
 
===== Test "TestHeterogeneousCoreMPIServices" ====
%MSG-i MPIService:  (NoModuleName) 16-Aug-2020 14:36:28 CEST pre-events
MPI_COMM_WORLD size: 1
MPI_COMM_WORLD rank: 0
MPI processor name:  fu-c2a02-37-02
The MPI library provides the MPI_THREAD_MULTIPLE multithreading support level
MPI successfully initialised
%MSG

=============================================

MessageLogger Summary

Severity    # Occurrences   Total Occurrences
--------    -------------   -----------------

dropped waiting message count 0

---> test TestHeterogeneousCoreMPIServices succeeded
 
^^^^ End Test TestHeterogeneousCoreMPIServices ^^^^

if this PR is a backport please specify the original PR and why you need to backport that PR:

This PR includes the work from:

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@fwyzard
Copy link
Contributor Author

fwyzard commented Aug 16, 2020

@cmsbuild, please test

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-31155/17782

  • This PR adds an extra 12KB to repository

@fwyzard
Copy link
Contributor Author

fwyzard commented Aug 16, 2020

@makortel do you think this should go under HeterogeneousCore/MPICore rather than HeterogeneousCore/MPIServices ?

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 16, 2020

The tests are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

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

It involves the following packages:

HeterogeneousCore/MPIServices

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

@cmsbuild
Copy link
Contributor

+1
Tested at: bd3aecb
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-fe2255/8779/summary.html
CMSSW: CMSSW_11_2_X_2020-08-16-0000
SCRAM_ARCH: slc7_amd64_gcc820

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

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

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 35
  • DQMHistoTests: Total histograms compared: 2608246
  • DQMHistoTests: Total failures: 7
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2608191
  • DQMHistoTests: Total skipped: 48
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 34 files compared)
  • Checked 149 log files, 22 edm output root files, 35 DQM output files

@makortel
Copy link
Contributor

do you think this should go under HeterogeneousCore/MPICore rather than HeterogeneousCore/MPIServices ?

MPIServices sounds more clear to me.

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-31155/17794

  • This PR adds an extra 12KB to repository

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 18, 2020

The tests are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

Pull request #31155 was updated. @cmsbuild can you please check and sign again.

@cmsbuild
Copy link
Contributor

+1
Tested at: 7d6b2a6
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-fe2255/8796/summary.html
CMSSW: CMSSW_11_2_X_2020-08-17-2300
SCRAM_ARCH: slc7_amd64_gcc820

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

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

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 2 differences found in the comparisons
  • DQMHistoTests: Total files compared: 35
  • DQMHistoTests: Total histograms compared: 2608246
  • DQMHistoTests: Total failures: 5
  • DQMHistoTests: Total nulls: 1
  • DQMHistoTests: Total successes: 2608192
  • DQMHistoTests: Total skipped: 48
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.004 KiB( 34 files compared)
  • DQMHistoSizes: changed ( 10224.0 ): 0.004 KiB MessageLogger/Warnings
  • Checked 149 log files, 22 edm output root files, 35 DQM output files

@qliphy
Copy link
Contributor

qliphy commented Aug 19, 2020

+1

@cmsbuild cmsbuild merged commit 2a6c55d into cms-sw:master Aug 19, 2020
@makortel
Copy link
Contributor

The unit test fails in CMSSW_11_2_X_2020-08-19-1100, but the reason is rather unclear. I opened #31180 to follow up.

@fwyzard fwyzard deleted the add_MPI_service branch August 21, 2020 06:50
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

4 participants