Open GoogleCodeExporter opened 8 years ago
You are using blocking send and receive. MPI has non-blocking send and receives
as well as part of the MPI specification. If you need this functionality, a
simple option would be to extend pypar to include the non-blocking versions. I
think this should be fairly straightforward as the skeleton is there.
Original comment by Ole.Moller.Nielsen@gmail.com
on 28 Nov 2010 at 5:54
I can see that having non-blocking MPI calls would also solve the problem, but
I thought that the option to use a separate thread would be nice as well. Of
course the example solution code I posted isn't quite thread-safe because it's
writing straight into objects that another thread could be manipulating, but
this problem can be worked around with a bit more care. (Such a problem will
presumably arise with non-blocking MPI as well)?
Well, it's up to you in the end, I just thought I'd raise it as a potential
useful enhancement.
Original comment by andrew.p...@gmail.com
on 2 Dec 2010 at 4:32
I'm just working on an extension to pypar to provide isend option.
Original comment by Rowe.And...@gmail.com
on 5 May 2011 at 3:39
Original issue reported on code.google.com by
andrew.p...@gmail.com
on 24 Oct 2010 at 4:01