<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body dir="auto"><div>MPICH shouldn't fork. Hydra probably uses fork to launch processes as part of mpiexec.</div><div><br></div><div>Blue Gene doesn't support fork either and MPICH runs there, but the process launcher is not Hydra. Same for Cray last time I checked. So I'm sure that fork isn't required to use MPICH, at least if dynamic processes are not used. </div><div><br></div><div>Is the issue that you cannot link an MPI program because the fork symbol is missing or that you cannot launch jobs with a Hydra?</div><div><br></div><div>All mainstream MPI implementations use OS processes to implement MPI processes, but the standard doesn't require this. FG-MPI uses threads to implement MPI processes, but as it still uses Hydra (AFAIK), it may or may not work for you. </div><div><br></div><div>Can you describe in detail what happens when you try to build and run MPICH-latest on your system?</div><div><br></div><div>Jeff<br><br>Sent from my iPhone</div><div><br>On Jan 17, 2015, at 9:41 AM, Eduardo <<a href="mailto:erocha.ssa@gmail.com">erocha.ssa@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr"><p dir="ltr">I would use a newer version if I could. However, I cannot issue a fork in my embedded environment. I can create threads though.</p>
<p dir="ltr">So, is there any newer versions of mpich that does not create heavy processes? I can live without MPI_Spawn and the like.</p><p>Regards,</p><p>Eduardo</p>
<div class="gmail_quote">On Jan 16, 2015 5:42 PM, "Wesley Bland" <<a href="mailto:wbland@anl.gov" target="_blank">wbland@anl.gov</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Can you try using a more recent version of MPICH. The version you are using is years old and we don't support it anymore. Our latest version is 3.1.3. You might see if the issue is still present there.<div><br></div><div>Thanks,</div><div>Wesley</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 16, 2015 at 10:54 AM, Eduardo <span dir="ltr"><<a href="mailto:erocha.ssa@gmail.com" target="_blank">erocha.ssa@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div dir="ltr">Hi,
<div><br>
</div>
<div>I am trying to compile and use mpich-1.2.7p1 with threaded listener (i.e. configured with --enable-threaded-listener). However, I cannot even run a simple mpi example with the resulting mpich.</div>
<div><br>
</div>
<div>I need to use threaded listener because the environment I am compiling for (kind of embedded environment) does not have fork (no heavy processes).</div>
<div><br>
</div>
<div>The error I get with the mpich with threaded listener is:</div>
<div><br>
</div>
<div>rm_2889: 1103279872: p4_error: listener select: -1</div>
<div> p4_error: latest msg from perror: Bad file descriptor</div>
<div>p0_2710: (2.097656) net_recv failed for fd = 5</div>
<div>p0_2710: 3778266880: p4_error: net_recv read, errno = : 104</div>
<div><br>
</div>
<div>Has anyone experienced a similar problem?</div>
<div><br>
</div>
<div>Thanks in advance,</div>
<div>Eduardo</div>
</div>
</div>
</blockquote></div><br></div>
<br>_______________________________________________<br>
discuss mailing list <a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br></blockquote></div>
</div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>discuss mailing list <a href="mailto:discuss@mpich.org">discuss@mpich.org</a></span><br><span>To manage subscription options or unsubscribe:</span><br><span><a href="https://lists.mpich.org/mailman/listinfo/discuss">https://lists.mpich.org/mailman/listinfo/discuss</a></span></div></blockquote></body></html>