next up previous index
Next: The Random Pie Up: Interacting Particles Previous: The Discussion


Experiment with the program discussed in section 5.2.6 changing the number of processes the program runs on and the total number of particles as well. Observe how the ratio of communication to computation changes dramatically as the particle number grows. This is a very computationally intensive problem and it parallelizes quite well for a large number of particles.
Rewrite the program so that processes handle different numbers of particles.

Zdzislaw Meglicki