This program is SPMD with Manager/Worker embedded
- SPMD because all processes run the same program
- DATA PARALLEL because the work is partitioned by data
- MANAGER/WORKER because flow control assigns certain work to a "Manager" or "Worker"
Reading/writing data
- Manager reads in number of points along the string and number of time steps, broadcasts
to all Workers
- Manager reads in the array of initial positions, then sends a chunk to each Worker
- After final time step, each Worker sends its chunk of the array back to the Manager
- Manager writes out final results