Parallel Solution of the 3-D Laplace Equation Using a - - PowerPoint PPT Presentation

parallel solution of the 3 d laplace equation using a
SMART_READER_LITE
LIVE PREVIEW

Parallel Solution of the 3-D Laplace Equation Using a - - PowerPoint PPT Presentation

Parallel Solution of the 3-D Laplace Equation Using a Symmetric-Galerkin Boundary Integral Approximation Talisha Haywood Physics major w/ Emphasis in Computational Science Wofford College, Spartanburg, SC 29303 E-mail:


slide-1
SLIDE 1

1

OAK RIDGE NATIONAL LABORATORY

U.S. DEPARTMENT OF ENERGY

Parallel Solution of the 3-D Laplace Equation Using a Symmetric-Galerkin Boundary Integral Approximation

Talisha Haywood Physics major w/ Emphasis in Computational Science Wofford College, Spartanburg, SC 29303 E-mail: haywoodtalisha@hotmail.com Research Alliance for Minorities Mentor: Leonard J. Gray Computer Science and Mathematics Division E-mail: ljg@ornl.gov

slide-2
SLIDE 2

OAK RIDGE NATIONAL LABORATORY

U.S. DEPARTMENT OF ENERGY

2

Problem How do we develop a parallel solution

  • f the 3-D Laplace Equation using a

Symmetric-Galerkin Boundary Integral Approximation?

slide-3
SLIDE 3

OAK RIDGE NATIONAL LABORATORY

U.S. DEPARTMENT OF ENERGY

3

Background

  • Boundary element method: fundamental

technique used for solving partial differential equations

  • Discretizes boundary integral equation to find

system of equations from which the boundary values can be found

  • After a problem has been solved, normal flux

and potential are known everywhere in domain

slide-4
SLIDE 4

OAK RIDGE NATIONAL LABORATORY

U.S. DEPARTMENT OF ENERGY

4

Steps

  • Investigate Laplace Equation
  • Model and edit the single processor algorithm
  • Investigate the code
  • ScaLapack and its procedure
  • Develop a parallel algorithm
  • Test the algorithm
slide-5
SLIDE 5

OAK RIDGE NATIONAL LABORATORY

U.S. DEPARTMENT OF ENERGY

5

Laplace Partial Differential Equation

  • Integral equation on domain boundary (e.g.

surface of a cube)

  • Either potential or flux is specified

everywhere on the boundary

slide-6
SLIDE 6

OAK RIDGE NATIONAL LABORATORY

U.S. DEPARTMENT OF ENERGY

6

Single Processor Algorithm

  • Two Integral Equations
  • Discretize equations then simplify to matrix

form: (H[potential]=G[flux])

  • Rearrange H and G columns
  • Move known values to the right-hand side
  • Move unknown values to the left-hand side
  • Simplify rearranged matrix to (Ax=b) form
  • Call the routine that solves the finite system of

linear equations

slide-7
SLIDE 7

OAK RIDGE NATIONAL LABORATORY

U.S. DEPARTMENT OF ENERGY

7

Code Behavior

  • Based on a cube divided into triangular

elements

  • Boundary value is given, 0 or 1
  • Input: number of elements, number of nodes
  • Output: coordinates of elements and nodes
  • Eight subroutines
  • bem( )
  • hyp( )
  • bem_c( ) -hyp_c( )
  • bem_ae( ) -hyp_ae
  • bem_av( ) -hyp_av( )]
slide-8
SLIDE 8

OAK RIDGE NATIONAL LABORATORY

U.S. DEPARTMENT OF ENERGY

8

Breakdown of subroutine bem( ) [all non-touching elements]

  • H and G is a sum of integrals (EP and EQ)
  • Integrals are done for each pair of elements (EP,EQ)
  • EP integral generates 3 elements
  • P1
  • P2
  • P3
  • EQ integral generates 3 elements
  • Q1
  • Q2
  • Q3
  • After the loop a test should be made: Do I have to do

this integral?

slide-9
SLIDE 9

OAK RIDGE NATIONAL LABORATORY

U.S. DEPARTMENT OF ENERGY

9

ScaLapack

  • Scalable Linear Algebra Package
  • Parallel libraries that support PVM and MPI
  • Designed to solve linear algebra problems on

distributed memory parallel computers

slide-10
SLIDE 10

OAK RIDGE NATIONAL LABORATORY

U.S. DEPARTMENT OF ENERGY

10

ScaLapack Procedure

  • ScaLapack routines help in setting up number
  • f processes
  • Each process constructs its own matrix
  • Each processor receives all of the code
  • Each processor has to check whether it has to

do certain integrals

  • Sum up matrix elements and solve the linear

equation

slide-11
SLIDE 11

OAK RIDGE NATIONAL LABORATORY

U.S. DEPARTMENT OF ENERGY

11

Parallel Algorithm

  • Execute linear solve routine in parallel
  • Call PDGESV
  • 4 basic steps to call ScaLapack routine
  • 1. Initialize process grid
  • 2. Data distribution
  • 3. Call the routine
  • 4. Release process grid
slide-12
SLIDE 12

OAK RIDGE NATIONAL LABORATORY

U.S. DEPARTMENT OF ENERGY

12

Results

  • Techniques developed will work for boundary

integral equations other than Laplace Equation

  • Applications
  • Electrochemistry
  • Thermal Analysis
slide-13
SLIDE 13

OAK RIDGE NATIONAL LABORATORY

U.S. DEPARTMENT OF ENERGY

13

Summary

  • Investigated the Laplace Equation
  • Modeled single processor algorithm
  • Edited single processor algorithm to develop a

parallel algorithm

  • Applied ScaLapack
slide-14
SLIDE 14

OAK RIDGE NATIONAL LABORATORY

U.S. DEPARTMENT OF ENERGY

14

Acknowledgements

  • This research was performed under the Research

Alliance for Minorities Program administered through the Computer Science and Mathematics Division, Oak ridge National Laboratory. This program is sponsored by the Mathematical, Information, and Computational Sciences Division; Office of Advanced Scientific Computing Research; U. S. Department of Energy. Oak Ridge National Laboratory is managed by UT-Battelle, LLC, for the U.S. Department of Energy under contract DE-AC05-00OR22725

  • I would like to thank my mentor Leonard J. Gray and Bill

Shelton for introducing me to another level of mathematics and computer science