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 #36109

Merged
merged 1 commit into from
Nov 13, 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    ||
        =============================================================

  - "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

please test

@fwyzard
Copy link
Contributor Author

fwyzard commented Nov 12, 2021

+heterogeneous

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36109/26608

  • This PR adds an extra 12KB to repository

@cmsbuild
Copy link
Contributor

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

It involves the following packages:

  • HeterogeneousCore/MPICore (heterogeneous)

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

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-fdd68f/20511/summary.html
COMMIT: 9a3c39a
CMSSW: CMSSW_12_2_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/36109/20511/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: 42
  • DQMHistoTests: Total histograms compared: 2902040
  • DQMHistoTests: Total failures: 0
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2902018
  • 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 13, 2021

+1

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