In this assignment you reimplement the heat diffusion exercise from Assignment 4 in MPI.
Implement in C using MPI a program called diffusion
that
average: X
.average absolute difference: Y
.As in Assignment 4, we will mostly neglect numerical accuracy.
Your program should accept command line arguments
mpirun -n 1 ./diffusion -n20 -d0.02
to compute 20 iterations with diffusion constant 0.02. You may only use MPI parallelism.