Basic HTML version of Foils prepared 2 September 1997

Foil 27 What does the Laplace Update calculation look like?

From CPS615 Laplace Example -- Programming Models and Performance CPS615 Basic Simulation Track for Computational Science -- Fall Semester 97. by Geoffrey C. Fox


In the sequential code, a single processor updates in turn (16x16=256-60=196) internal points. Each update is j --> 0.25 *(j up + jdown + jleft + jright ) involves 4 floating point operations for each point
In the parallel case, each processor updates in turn the points for which it is responsible - this is "owner computes rule"
A corner processor updates nine points
(the small internal points)
A "general" central processor
updates sixteen points



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Mon Apr 12 1999