Skip to content
Snippets Groups Projects

Introduction of MPI into PyOrbit3

Merged Christian Zlatanov requested to merge mpi into main

Description:

With this MR we introduce the compatibility with MPI into pyorbit3. You will be able to run mpi's with the command below.

mpirun -n N python insert_script.py

where N is the amount of nodes you wish to run it on. This however still keeps compatibility with the old way of running scripts and you can omit the mpirun -n N to just run it on a single node.

Changes

  • Updated MPI Initialization and Finalization
  • Updated python wrapper for MPI
  • Added flags to setup.py to allow for MPI

Testing

The following merge request was tested locally on SNS_Linac/pyorbit3_linac_model and rf_quad_overlapping_fields. Attached below you can find an image with the visual representation of MPI's effect on performance

image

Merge request reports

Pipeline #155662 passed

Pipeline passed for 43541c4f on mpi

Test coverage 23.00% (0.00%) from 1 job

Merged by Juan F. Esteban MüllerJuan F. Esteban Müller 1 year ago (Aug 28, 2023 9:29am UTC)

Merge details

  • Changes merged into with b6e38c54.
  • Deleted the source branch.

Pipeline #157925 passed

Pipeline passed for b6e38c54 on main

Test coverage 55.00% (0.00%) from 1 job

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading