Parallel Iterative Poisson Solver for a Distributed Memory Architecture
Eric Dow Aerospace Computational Design Lab Department of Aeronautics and Astronautics
1
Parallel Iterative Poisson Solver for a Distributed Memory - - PowerPoint PPT Presentation
1 Parallel Iterative Poisson Solver for a Distributed Memory Architecture Eric Dow Aerospace Computational Design Lab Department of Aeronautics and Astronautics 2 Motivation Solving Poissons Equation is a common sub - problem in many
1
2
3
2
Method:
updated values of the solution as soon as they are available (Gauss-Seidel Method): 4
j i j i j i j i j i j i
, 2 1 , 1 , , , 1 , 1
j i n n n n n
j i j i j i j i j i
, 2 1
1 , 1 , , 1 , 1 ,
j i n n n n n
j i j i j i j i j i
, 2 1 1 1
1 , 1 , , 1 , 1 ,
5
6
method: ▫ Slower to converge ▫ Requires twice as much storage
▫ Inherent Data Parallelism: The same operations are performed
processes. ▫ All values can be updated contemporaneously.
is colored red, otherwise the node is colored black. ▫ Update all of the red nodes in parallel using the values at black nodes. ▫ Update all of the black nodes in parallel using the values at red nodes.
7
equal pieces. 8
9
10
11
12 75 x 75 Nodes 150 x 150 Nodes
13 75 x 75 Nodes 150 x 150 Nodes
▫ Doubling the number of grid points in each dimension from 75 to 150 quadruples the workload of each process, but only doubles the amount of communication required. This explains the speedup observed. ▫ This is actually good news: typically only use iterative solvers for very large problems. Since the speedup seems to increase with problem size, it makes sense to parallelize these solvers.
limited communication.
14
15
16