<div dir="ltr">I just updated mpiexec last week because an early version of my script was pausing for a considerable length of time after spawning 8, 16, 24... processes. I sent that earlier code to someone else and they said they didn't observe that behavior and they had mpiexec version 3.1 installed. <div>
<br></div><div>So to solve an earlier bug, I installed the latest mpiexec. I only mentioned the mpich2 version because I saw there was an "mpich2version" command. It gives the 1.4.1 output.</div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Tue, Mar 11, 2014 at 4:37 PM, Jeffrey Larson <span dir="ltr"><<a href="mailto:jmlarson@anl.gov" target="_blank">jmlarson@anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Thank you for your response. Attached are the script and the simple function that it calls. <div><br></div><div>The command:</div><div>$ mpiexec -n 3 python script.py <br></div><div>works great, but 30 crashes.</div>
<div><br></div><div>I am using MPICH2 Version: 1.4.1. and mpiexec version 3.1.</div><div><div><br></div></div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Mar 11, 2014 at 4:31 PM, Lu, Huiwei <span dir="ltr"><<a href="mailto:huiweilu@mcs.anl.gov" target="_blank">huiweilu@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi, Jeffrey,<br>
<br>
Can you send us a minimum example of your script.py?<br>
Simple python scripts seem to work fine for me on both Mac and Ubuntu machines.<br>
<br>
Also, what version of MPICH are you using?<br>
—<br>
Huiwei Lu<br>
Postdoc Appointee<br>
Mathematics and Computer Science Division, Argonne National Laboratory<br>
<a href="http://www.mcs.anl.gov/~huiweilu/" target="_blank">http://www.mcs.anl.gov/~huiweilu/</a><br>
<div><div><br>
On Mar 11, 2014, at 4:08 PM, Jeffrey Larson <<a href="mailto:jmlarson@anl.gov" target="_blank">jmlarson@anl.gov</a>> wrote:<br>
<br>
> Hello,<br>
><br>
> I am using mpi4py to call MPI from python, and when I increase the number of ranks at the command line so something like:<br>
><br>
> [jlarson@mintthinkpad test]$ mpiexec -n 30 python script.py<br>
><br>
> I receive the following error messages:<br>
><br>
> [mpiexec@mintthinkpad] handle_pmi_cmd (pm/pmiserv/pmiserv_cb.c:52): Unrecognized PMI command: | cleaning up processes<br>
> [mpiexec@mintthinkpad] control_cb (pm/pmiserv/pmiserv_cb.c:280): unable to process PMI command<br>
> [mpiexec@mintthinkpad] HYDT_dmxu_poll_wait_for_event (tools/demux/demux_poll.c:76): callback returned error status<br>
> [mpiexec@mintthinkpad] HYD_pmci_wait_for_completion (pm/pmiserv/pmiserv_pmci.c:198): error waiting for event<br>
> [mpiexec@mintthinkpad] main (ui/mpich/mpiexec.c:336): process manager error waiting for completion<br>
><br>
> When I search online for help with these error messages, I am only pointed towards the repository containing the files that are themselves throwing the error. For example: Googling for "handle_pmi_cmd Unrecognized PMI command" only returns:<br>
><br>
> <a href="https://svn.mcs.anl.gov/repos/mpi/mpich2/tags/release/mpich2-1.3a1/src/pm/hydra/pm/pmiserv/pmiserv_cb.c" target="_blank">https://svn.mcs.anl.gov/repos/mpi/mpich2/tags/release/mpich2-1.3a1/src/pm/hydra/pm/pmiserv/pmiserv_cb.c</a><br>
><br>
><br>
> Note that my script is using very few resources; each rank is spawning a simple external function. The function takes a vector and then sums all the entries, squares them, and returns the number to each rank. The script works as expected when the number of initial ranks is small.<br>
><br>
> Thank you for your help.<br>
> Jeffrey Larson<br>
</div></div>> _______________________________________________<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>
<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><br></div>
</div></div></blockquote></div><br></div></div>