Introduction to Parallel
Computing with Python
Doni Ramadhan
What is
Parallel
Computing?
What is MPI?
MPI Library for
Python
Pros &Cons of
MPI
Pros
• Works Concurrently
• Optimize the number
of core
• Tasks will be finished
faster
Cons
• Needs tim...
MPI Basics and Implementation
Environment
Management
MPI_INIT
MPI_Comm_Size
MPI_Comm_Rank
MPI_Wtime
MPI_Finalize
HelloWorld.py
Point-to-Point
Communication
Point-to-Point
Implementation
Buffering
&
Blocking vs.
Non-Blocking
Communication
Order and
Fairness
Collective
Communication
Broadcast
Scatter
Gather
Reduce
Output:
Matrix
Multiplication
Upcoming SlideShare
Loading in...5
×

Introduction to Parallel Computing with Python

1,990
-1

Published on

An intro to parallel computing in python.
There is example using mpi4py library.
Mostly slide contains pictures, but hopefully the picture is describable.

Published in: Technology, Education
0 Comments
4 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,990
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
41
Comments
0
Likes
4
Embeds 0
No embeds

No notes for slide

Introduction to Parallel Computing with Python

  1. 1. Introduction to Parallel Computing with Python Doni Ramadhan
  2. 2. What is Parallel Computing?
  3. 3. What is MPI?
  4. 4. MPI Library for Python
  5. 5. Pros &Cons of MPI Pros • Works Concurrently • Optimize the number of core • Tasks will be finished faster Cons • Needs time to setup • Depends on network throughput • It is harder to program a parallel program
  6. 6. MPI Basics and Implementation
  7. 7. Environment Management MPI_INIT MPI_Comm_Size MPI_Comm_Rank MPI_Wtime MPI_Finalize
  8. 8. HelloWorld.py
  9. 9. Point-to-Point Communication
  10. 10. Point-to-Point Implementation
  11. 11. Buffering & Blocking vs. Non-Blocking Communication
  12. 12. Order and Fairness
  13. 13. Collective Communication
  14. 14. Broadcast
  15. 15. Scatter
  16. 16. Gather
  17. 17. Reduce Output:
  18. 18. Matrix Multiplication
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×