Commit 38d1a95b authored by Volker Springel's avatar Volker Springel
Browse files

added a barrier so that the 'Processing overall took' log message reports the...

added a barrier so that the 'Processing overall took' log message reports the maximum time over all ranks
parent b8f5b2eb
......@@ -402,6 +402,7 @@ void fof<partset>::subfind_find_subhalos(int num, const char *basename, const ch
else
subfind_processing(&SubDomain, SERIAL_SUBFIND); /* we have several groups in full to be done by the local CPU */
}
MPI_Barrier(Communicator);
double ti1 = Logs.second();
mpi_printf("SUBFIND: Processing overall took (total time=%g sec)\n", Logs.timediff(ti0, ti1));
......
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