Basic HTML version of Foils prepared 14 October 1997

Foil 76 Form of the Computation -- Message Parallel

From Fox Presentation Fall 1995 CPS615 Basic Simulation Track for Computational Science -- Fall Semester 95/96/97. by Nancy McCracken and Geoffrey C. Fox


Computation of numerical method is inherently iterative: at each time step, the solution depends on the immediately preceding one.
At each time step, MPGrav is called (several times as using Runge Kutta):
  • For each particle i, one must sum over the forces due to all other particles j.
  • Computation is O(N2) - there is a potential for parallel computation in either i (normal case in standard Message Parallel) or j or both.
We will use 4th order Runge Kutta to integrate in time and the program is designed an overall routine looping over time with parallelism hidden in MPGrav routines
We analyse Message Parallel version and other foils discuss Data Parallel version



© 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 Fri Oct 2 1998