g++ compiled version modified.
MPI_Send and MPI_Recv added, tested, with only sum supported.