More MPI Parallel Programming Labs
(each can be substituted for one of the previous labs this quarter)

  1. addnums.c : Read a text file of numbers into an array. Find the sum of the numbers in the array in parallel. Also find the maximum value in the array, also in parallel.

  2. Track race: Send a value around a ring of n processors 1000, 100000, or more times. Vary the number of times around the "track", and time the results. Graph in Gnuplot. Also vary the datatype of the value you are sending around the track.