Here is the Sobel Edge Detection MPI-based program.