Commit 6ca3412d authored by Philippe Delandmeter's avatar Philippe Delandmeter
Browse files

dgMpi. some data were printed unnecessarily in all runs

parent 8b1a84f6
......@@ -45,7 +45,6 @@ static t mpiSumPrev(t local)
for (int i= 1; i < Msg::GetCommSize(); ++i)
allprev[i] += allprev[i-1] + allv[i-1];
MPI_Scatter(&allprev[0], 1, get_MPIType<t>(), &prev, 1, get_MPIType<t>(), 0, MPI_COMM_WORLD);
std::cout << allv[0] << " " << allv[1] << std::endl;
}
else {
MPI_Gather(&local, 1, get_MPIType<t>(), NULL, 1, get_MPIType<t>(), 0, MPI_COMM_WORLD);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment