Hi James

Thanks for your mail,

There is a demo that uses any_source in a very simple master-slave code for computing the mandelbrot set. See http://pypar.svn.sourceforge.net/viewvc/pypar/demos/mandelbrot_example/mandel_parallel_dynamic.py.
Would you be able to verify if this one runs on your system?

However, there is currently no unit test for that functionality - only the demo which is working correctly.

If you have discovered a bug, the best thing would be to write the smallest possible example that reveals the bug - i.e. an example that demonstrates where it goes wrong. We can then turn that into a unit test and then address the problem.

Bear in mind that Pypar is just a wrapper around a c-implementation of the MPI standard so it relies on that to be correct.

Best regards
Ole Nielsen

On Feb 2, 2008 1:13 AM, James Philbin <philbinj@gmail.com> wrote:

I think i've been hit by a bug in pypar relating to
receive(pypar.any_source). The control message is received from
any_source as correct, but then the data should be received from the
sender of the control message, not any source.