This takes Jacobi Iteration for Laplace's Equation in a 2D square and uses this to illustrate: |
Programming in both Data Parallel (HPF) and Message Passing (MPI and a simplified Syntax) |
SPMD -- Single Program Multiple Data -- Programming Model |
Stencil dependence of Parallel Program and use of Guard Rings |
Collective Communication |
Basic Speed Up,Efficiency and Performance Analysis with edge over area dependence and consideration of load imbalance and communication overhead effects. |
001 CPS615 -- Base Course for the Simulation Track of Computational Science Fall Semester 1995 -- Lecture Stream 3 -- The Laplace Example Programming and Performance 002 Abstract of Laplace Example for CPS615 003 Parallel Computing Algorithms and Software -- Laplace Example 004 The Solution of Laplace's Equation 005 Discretized Form of Laplace'e Equation on a Parallel Processor 006 Basic Structure of Domain to be Updated in Parallel Version 007 Sequential and Introduction to Parallel Coding for the Laplace Example 008 SEQUENTIAL LAPLACE PROGRAMMING JACOBI ITERATION IN ONE DIMENSION (constant in y direction) 009 SEQUENTIAL LAPLACE PROGRAMMING JACOBI ITERATION IN TWO DIMENSIONS 010 Approaches to Parallel Programming 011 SPMD or SCMD Single Program (code) Multiple Data 012 Data Parallel Programming for Laplace Example 013 Parallel Laplace Programming Data Parallel for Jacobi Iteration in One Dimension 014 Notes on HPF Implementation of Lapace Solver 015 Message Passing Model Used for Parallel Programming for Laplace Example 016 Basic Message Passing Approach 017 Message Passing Overview 018 Parallel Laplace Programming: Set Up of Message Passing for Jacobi Iteration in One Dimension 019 Node Program: Message Passing for Laplace Sover 020 Collective Communication Primitives 021 Implementation of MPSHIFT(+1, SOURCE,DEST) 022 Possible Implementation of MPSHIFT in MPI 023 Implementation of SHIFT in MPI 024 Implementation of GLOBALMAX (TEST) 025 General Features of Laplace Example 026 What does the Laplace Update calculation look like? 027 The Various Stencil Special Cases 028 Communication Loads 029 What is the relation of sequential and parallel programming models ? 030 More on SPMD Programming Model and Sequential/Parallel Comparison 031 Programming with Guard Rings - Sequential 032 Programming with Guard Rings - Parallel 033 Special Case of Corner Processor 034 Analysis of Parallel Overheads Efficiency and Speedup 035 General Formalism for Speed Up 036 What Affects Speed Up ? 037 Load Imbalance and Speed-Up for Laplace Example -- I 038 Load Imbalance and Speed-Up for Laplace Example -- II 039 Analytical Analysis of Load Imbalance 040 Communication Overhead 041 Analytical Form of Speed Up for Communication Overhead 042 General Form of Efficiency 043 Communication to Calculation Ratio as a function of template 044 Performance for Increasing Stencil 045 Matrix Multiplication on the Hypercube 046 Efficiency of QCD Physics Simulation on JPL MarkIIIfp Hypercube 047 General Analysis of Overheads and Efficiency 048 Speed Up as a Function of Grain Size