[petsc-users] Should I synchronize processes explicitly, for instance using MPI_Barrier?
Jed Brown
jedbrown at mcs.anl.gov
Fri Aug 16 08:18:39 CDT 2013
Matthew Knepley <knepley at gmail.com> writes:
> Never put in a barrier.
Barriers serve no functional or correctness purpose in a
properly-written pure-MPI code. They are sometimes useful for debugging
and sometimes necessary if you use despicable hacks like communicating
through a side channel such as the file system. If you're not putting
yourself into that unenviable position, don't use barriers.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130816/dedb2ad4/attachment.pgp>
More information about the petsc-users
mailing list