Basic HTML version of Foils prepared 14 October 1997

Foil 69 Best Message Parallel N Body Algorithm - I

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


Previous Algorithm is not as good as it looks for it has an efficiency of 50% reduced by terms of order 1/n
  • For some cases, efficiency is 100% if only want "potential" and not forces -- this is case of correlation histogram example given earlier
Degradation is because of Newton's law of action and reaction which says that
Fi,j = -Fj,i
which reduces sequential computation load by a factor of 2
This is not trivial to exploit in parallel algorithm as Fi,j and Fj,i are needed in different processors and so one MUST violate owner's compute rule to exploit
  • Thus very hard for a compiler to find the best algorithm although as in other set of data parallel foils, one can express in HPF with some difficulty
  • Most natural to express in message parallel syntax



© 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