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

scripts for running MPI jobs in the CMSSW environment [12.1.x] #36110

Merged
merged 1 commit into from
Nov 14, 2021

Conversation

fwyzard
Copy link
Contributor

@fwyzard fwyzard commented Nov 12, 2021

PR description:

Add two scripts for running MPI jobs in the CMSSW environment:

  • cmsenv_mpirun is a wrapper around mpirun; it uses cmsenv_orted as the remote "agent" and sets its verbose and release flags according to the other MPI flags;
  • cmsenv_orted is a wrapper around orted; it loads the CMSSW environment and passes it to the requested command(s).

PR validation:

Tested with testMPI:

$ cmsenv_mpirun --verbose -H localhost -np 1 $CMSSW_RELEASE_BASE/test/$SCRAM_ARCH/testMPI : -H fu-c2a02-37-02.cms -np 3 -oversubscribe $CMSSW_RELEASE_BASE/test/$SCRAM_ARCH/testMPI

        Number of Processes 4
        Number of workSplit First 7
        Number of workSplit Second 0

                (1) Non-Blocking Scatter 


        =============================================================
        || Func ||  Scatter/Send ||   Gather/Receive  || Number Run||
        =============================================================
        ||  1   ||     2.0788    ||        0.1752     ||      5    ||
        =============================================================

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

Backport of #36109

  - "cmsenv_mpirun" is a wrapper around "mpirun"; it uses cmsenv_orted
    as the remote "agent" and sets its verbose and release flags
    according to the other MPI flags;
  - "cmsenv_orted" is a wrapper around "orted"; it loads the CMSSW
    environment and passes it to the requestd command(s).
@fwyzard
Copy link
Contributor Author

fwyzard commented Nov 12, 2021

backport #36109

@fwyzard
Copy link
Contributor Author

fwyzard commented Nov 12, 2021

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 12, 2021

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

It involves the following packages:

  • HeterogeneousCore/MPICore (heterogeneous)

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

cms-bot commands are listed here

@fwyzard
Copy link
Contributor Author

fwyzard commented Nov 12, 2021

+heterogeneous

@cmsbuild
Copy link
Contributor

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

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-18f225/20510/summary.html
COMMIT: 9a3c39a
CMSSW: CMSSW_12_1_X_2021-11-12-1100/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/36110/20510/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: 18 differences found in the comparisons
  • DQMHistoTests: Total files compared: 42
  • DQMHistoTests: Total histograms compared: 2901440
  • DQMHistoTests: Total failures: 0
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2901418
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 41 files compared)
  • Checked 177 log files, 37 edm output root files, 42 DQM output files
  • TriggerResults: no differences found

@qliphy
Copy link
Contributor

qliphy commented Nov 14, 2021

+1

@cmsbuild cmsbuild merged commit f8deafb into cms-sw:CMSSW_12_1_X Nov 14, 2021
@fwyzard fwyzard deleted the MPICore_add_cmsenv_scripts branch July 31, 2022 13:44
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.

3 participants