I am trying to have a single master, with a group of workers who are themselves calculating function values. The evaluation of the function may itself involve spawning MPI tasks.



On Wed, Mar 12, 2014 at 11:09 AM, Jed Brown <jed@jedbrown.org> wrote:
Jeffrey Larson <jmlarson@anl.gov> writes:

> I was unaware of this issue with mpi4py, but I can reproduce it as well. I
> will contact the mpi4py developers.

Are you using lots of masters or lots of workers?  I can run the example
in demo/spawning.  It has an analogous example in C.

I had misinterpreted the environment in which you were trying to get the
parent, so ignore my first mail.