Review Notes
Reference list of MPI Routines
Assignments by Category
James will create an input file
first entry is size of vector == 1,000,000
remaining entries are two sets of values, each of length size
Optional: rewrite the code so that each process reads its portion
of the vector directly rather than receving it a as a message
Run the dot product code for varying numbers of processes, from
1 up to 8 and time it.
Report your times.
Draw a graph:
Graph 1:
x-axis == number of processes
y-axis == runtime
Graph 2:
x-axis == number of processes
y-axis == speedup
speedup = time on 1 process / time on N