Add calls to reduce and MPI_Send for the non-rank zero tasks.