Add src_mpi modifications in all the source files

TODO: Modify the output file to write the parallel results.