CS 584. Review n Systems of equations and finite element methods are related.

Slides:



Advertisements
Similar presentations
Partitioning Screen Space for Parallel Rendering
Advertisements

Partitional Algorithms to Detect Complex Clusters
Partial Differential Equations
Parallel Jacobi Algorithm Steven Dong Applied Mathematics.
Chapter 28 – Part II Matrix Operations. Gaussian elimination Gaussian elimination LU factorization LU factorization Gaussian elimination with partial.
Modularity and community structure in networks
Information Networks Graph Clustering Lecture 14.
Online Social Networks and Media. Graph partitioning The general problem – Input: a graph G=(V,E) edge (u,v) denotes similarity between u and v weighted.
Clustering II CMPUT 466/551 Nilanjan Ray. Mean-shift Clustering Will show slides from:
Parallelizing stencil computations Based on slides from David Culler, Jim Demmel, Bob Lucas, Horst Simon, Kathy Yelick, et al., UCB CS267.
MECH593 Introduction to Finite Element Methods
Finite element method – basis functions 1 Finite Elements: Basis functions 1-D elements  coordinate transformation  1-D elements  linear basis functions.
10/11/2001Random walks and spectral segmentation1 CSE 291 Fall 2001 Marina Meila and Jianbo Shi: Learning Segmentation by Random Walks/A Random Walks View.
Chapter 3 Steady-State Conduction Multiple Dimensions
Numerical Algorithms • Matrix multiplication
Graph Clustering. Why graph clustering is useful? Distance matrices are graphs  as useful as any other clustering Identification of communities in social.
Lecture 21: Spectral Clustering
Spectral Clustering Scatter plot of a 2D data set K-means ClusteringSpectral Clustering U. von Luxburg. A tutorial on spectral clustering. Technical report,
ECE669 L4: Parallel Applications February 10, 2004 ECE 669 Parallel Computer Architecture Lecture 4 Parallel Applications.
Balanced Graph Partitioning Konstantin Andreev Harald Räcke.
Sparse Matrix Algorithms CS 524 – High-Performance Computing.
PARTIAL DIFFERENTIAL EQUATIONS
Segmentation Graph-Theoretic Clustering.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 20 Solution of Linear System of Equations - Iterative Methods.
MECH300H Introduction to Finite Element Methods
CHE/ME 109 Heat Transfer in Electronics LECTURE 11 – ONE DIMENSIONAL NUMERICAL MODELS.
NAE C_S2001 FINAL PROJECT PRESENTATION LASIC ISMAR 04/12/01 INSTRUCTOR: PROF. GUTIERREZ.
Dimensionality reduction Usman Roshan CS 675. Supervised dim reduction: Linear discriminant analysis Fisher linear discriminant: –Maximize ratio of difference.
Domain decomposition in parallel computing Ashok Srinivasan Florida State University COT 5410 – Spring 2004.
Scientific Computing Partial Differential Equations Poisson Equation.
Models and Algorithms for Complex Networks Graph Clustering and Network Communities.
CS 219: Sparse Matrix Algorithms
Scientific Computing Partial Differential Equations Implicit Solution of Heat Equation.
Parallel Simulation of Continuous Systems: A Brief Introduction
Domain Decomposed Parallel Heat Distribution Problem in Two Dimensions Yana Kortsarts Jeff Rufinus Widener University Computer Science Department.
CS 584. Load Balancing Goal: All processors working all the time Efficiency of 1 Distribute the load (work) to meet the goal Two types of load balancing.
Elliptic PDEs and the Finite Difference Method
Spectral Analysis based on the Adjacency Matrix of Network Data Leting Wu Fall 2009.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 8 - Chapter 29.
Solution of Sparse Linear Systems
What is the determinant of What is the determinant of
CS 484 Load Balancing. Goal: All processors working all the time Efficiency of 1 Distribute the load (work) to meet the goal Two types of load balancing.
Numerical methods 1 An Introduction to Numerical Methods For Weather Prediction by Mariano Hortal office 122.
Discretization Methods Chapter 2. Training Manual May 15, 2001 Inventory # Discretization Methods Topics Equations and The Goal Brief overview.
Domain decomposition in parallel computing Ashok Srinivasan Florida State University.
Data Structures and Algorithms in Parallel Computing Lecture 7.
Linear Equations and Rate of Change Interpret equations in intercept form using input and output variables Explore the relationships among tables, scatter.
Spectral Partitioning: One way to slice a problem in half C B A.
 In the previews parts we have seen some kind of segmentation method.  In this lecture we will see graph cut, which is a another segmentation method.
Spectral Clustering Shannon Quinn (with thanks to William Cohen of Carnegie Mellon University, and J. Leskovec, A. Rajaraman, and J. Ullman of Stanford.
Normalized Cuts and Image Segmentation Patrick Denis COSC 6121 York University Jianbo Shi and Jitendra Malik.
CS 140: Sparse Matrix-Vector Multiplication and Graph Partitioning
High Performance Computing Seminar
Auburn University
Random Walk for Similarity Testing in Complex Networks
Spectral partitioning works: Planar graphs and finite element meshes
Part 8 - Chapter 29.
Solving Linear Systems Ax=b
Auburn University COMP7330/7336 Advanced Parallel and Distributed Computing Mapping Techniques Dr. Xiao Qin Auburn University.
Degree and Eigenvector Centrality
Segmentation Graph-Theoretic Clustering.
Grouping.
Approximating the Community Structure of the Long Tail
Scientific Computing Partial Differential Equations Implicit Solution of Heat Equation.
One dimensional Poisson equation
Spectral Clustering Eric Xing Lecture 8, August 13, 2010
3.3 Network-Centric Community Detection
Jacobi Project Salvatore Orlando.
Spectral clustering methods
Numerical Analysis Lecture11.
Presentation transcript:

CS 584

Review n Systems of equations and finite element methods are related.

Gauss-Seidel Iteration n Gauss-Seidel parallelism can be increased by using graph coloring.

Partitioning P0P0 P1P1 P2P2 P3P3

Communication P0P0 P1P1 P2P2 P3P3

Finite Element Method n Used for deriving approximate numerical solutions to partial differential equations over a discretized domain. n Two sources of error –numerical (due to approximation) –discretization

Finite Element Method n Domain is bounded n Some grid is imposed on the domain n Equations are generated to indicate the relationships between grid points n Jacobi or Gauss-Seidel iteration is used to relax the system and converge to the solution

The Heat Equation n The steady-state temperature u at any point (x,y) on a metal sheet is governed by: u       yx u n Discretization allows us to transform this into a system of linear equations which will approximate the partial derivatives.

The Finite Element Method n For most applications, the finite element graph is not a regular structure. n The corresponding system of equations is, most often, very large and very sparse. n Efficient parallelization of the system depends heavily on the way the domain is partitioned among processors.

Partitioning Techniques n Regular grids –One dimensional striping –Two dimensional blocking n Generalized Graphs –Levelization –Scattered Decomposition –Recursive Bisection

Levelization n Begin with a boundary –Number these nodes 1 n All nodes connected to a level 1 node are labeled 2, etc. n Partitioning is performed –determine the number of nodes per processor –count off the nodes of a level until exhausted –proceed to the next level

Levelization

n Want to insure nearest neighbor comm. n If p is # processors and n is # nodes. n Let r i be the sum of the number of nodes in contiguous levels i and i + 1 n Let r = max{r 1, r 2, …, r n } n Nearest neighbor communication is assured if n/p > r

Scattered Decomposition n Used for highly irregular grids n Partition load into a large number r of rectangular clusters such that r >> p n Each processor is given a disjoint set of r/p clusters. n Communication overhead can be a problem for highly irregular problems.

Recursive Bisection n Recursively divide the domain in two pieces at each step. n 3 Methods –Recursive Coordinate Bisection –Recursive Graph Bisection –Recursive Spectral Bisection

Recursive Coordinate Bisection n Divide the domain based on the physical coordinates of the nodes. n Pick a dimension and divide in half. n RCB uses no connectivity information –lots of edges crossing boundaries –partitions may be disconnected n Some new research based on graph separators overcomes some problems.

Recursive Graph Bisection n Based on graph distance rather than coordinate distance. n Determine the two furthest separated nodes n Organize and partition nodes according to their distance from extremities. n Computationally expensive –Can use approximation methods.

Recursive Spectral Bisection n Uses the discrete Laplacian n Let A be the adjacency matrix n Let D be the diagonal matrix where –D[i,i] is the degree of node I n L G = A - D

Recursive Spectral Bisection n LG is negative semidefinite n Its largest eigenvalue is zero and the corresponding eigenvector is all ones. n The magnitude of the second largest eigenvalue gives a measure of the connectivity of the graph. n Its corresponding eigenvector gives a measure of distances between nodes.

Recursive Spectral Bisection n The eigenvector corresponding to the second largest eigenvalue is the Fiedler vector. n Calculation of the Fiedler vector is computationally intensive. n RSB yields connected partitions that are very well balanced.

RCB 529 edges cutRGB 618 edges cut RSB 299 edges cut