Basic HTML version of Foils prepared 14 October 1997

Foil 63 Very Bad Naive Message Parallel Algorithm

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


1 For each i in each processor, set MPGrav(i) =0
2 We will implement a naive "owner's-compute rule" algorithm where MPGrav(i) is calculated in processor that is home to i
3 Now loop over over j= 1...N (j ¹ i)
4 When j is stored in processor holding i, increment MPGrav(i) by contribution due to j
5 When j stored in a different processor, communicate Xuse(j),M(j) and increment MPGrav(i)

in Table To:


© 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