<div dir="ltr"><div>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.<br></div><div><br></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Mar 12, 2014 at 11:09 AM, Jed Brown <span dir="ltr"><<a href="mailto:jed@jedbrown.org" target="_blank">jed@jedbrown.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">Jeffrey Larson <<a href="mailto:jmlarson@anl.gov">jmlarson@anl.gov</a>> writes:<br>
<br>
> I was unaware of this issue with mpi4py, but I can reproduce it as well. I<br>
> will contact the mpi4py developers.<br>
<br>
</div>Are you using lots of masters or lots of workers? I can run the example<br>
in demo/spawning. It has an analogous example in C.<br>
<br>
I had misinterpreted the environment in which you were trying to get the<br>
parent, so ignore my first mail.<br>
</blockquote></div><br></div>