Can you try updating to a more recent version of mpich? 1.2 is very old at this point. On Mac OS, the easiest way to install is using homebrew. <div><br></div><div>Thanks,</div><div>Wesley<span></span><br><br>On Sunday, March 30, 2014, asdsdjsakdjklasjdklasjdkl sdsadasdasdsadsad <<a href="mailto:rokus123@yandex.ru">rokus123@yandex.ru</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div> </div><blockquote type="cite"><div style="margin:0px 5px 5px 0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;width:660px;line-height:17.8048px;font-family:Arial,"Liberation Sans","DejaVu Sans",sans-serif">
<p style="margin:0px 0px 1em;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;clear:both">I have an unusual problem when i try to start a program throught MPI =(</p><p style="margin:0px 0px 1em;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;clear:both">
(i install MPI according to instruction, i swear)</p><p style="margin:0px 0px 1em;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;clear:both">[mac os x 10.7.5, python 2.7.6, mpich2-1.2]</p><pre style="margin-top:0px;margin-bottom:10px;padding:5px;border:0px;vertical-align:baseline;background-color:#eeeeee;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,serif;overflow:auto;width:auto">
<span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">~</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent"> $ sudo mpd </span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">&</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">
</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">[</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;color:#800000">1</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">]</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent"> </span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;color:#800000">65314</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">
</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">~</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent"> $ sudo mpdtrace
</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;color:#2b91af">MacBook</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">-</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;color:#2b91af">Ivan</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">-</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;color:#800000">2</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">
</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">~</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent"> $ sudo mpdallexit</span></pre>
<p style="margin:0px 0px 1em;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;clear:both">ok, but when i try to execute further test i have error</p><pre style="margin-top:0px;margin-bottom:10px;padding:5px;border:0px;vertical-align:baseline;background-color:#eeeeee;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,serif;overflow:auto;width:auto">
<span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">~</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent"> $ sudo mpd </span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">&</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">
</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">[</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;color:#800000">1</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">]</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent"> </span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;color:#800000">65277</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">
</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">~</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent"> $ sudo mpiexec </span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">-</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">n </span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;color:#800000">1</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent"> </span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">/</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">bin</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">/</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">hostname
</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;color:#2b91af">MacBook</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">-</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;color:#2b91af">Ivan</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">-</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;color:#800000">2.local</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">_mpdman_0 </span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">(</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">mpd_sockpair </span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;color:#800000">240</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">):</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent"> connect </span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;color:#800000">22</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent"> </span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;color:#2b91af">Invalid</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent"> argument
</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;color:#2b91af">MacBook</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">-</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;color:#2b91af">Ivan</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">-</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;color:#800000">2.local</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">_mpdman_0 </span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">(</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">mpd_sockpair </span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;color:#800000">247</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">):</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent"> connect error </span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;color:#00008b">with</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent"> </span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;color:#800000">22</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent"> </span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;color:#2b91af">Invalid</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent"> argument
</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;color:#2b91af">MacBook</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">-</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;color:#2b91af">Ivan</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">-</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;color:#800000">2.local</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">_mpdman_0 </span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">(</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">mpd_sockpair </span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;color:#800000">258</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">):</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent"> connect </span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;color:#800000">22</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent"> </span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;color:#2b91af">Invalid</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent"> argument
</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;color:#2b91af">MacBook</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">-</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;color:#2b91af">Ivan</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">-</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;color:#800000">2.local</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">_mpdman_0</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">:</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent"> mpd_uncaught_except_tb handling</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">:</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">
  </span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent"><</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;color:#00008b">class</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent"> </span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;color:#800000">'socket.error'</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">>:</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent"> </span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">[</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;color:#2b91af">Errno</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent"> </span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;color:#800000">22</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">]</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent"> </span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;color:#2b91af">Invalid</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent"> argument
    </span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">/</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;color:#2b91af">Users</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">/</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">ivan</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">/</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">mpich2</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">-</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">install</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">/</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">bin</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">/</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">mpdlib</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">.</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">py  </span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;color:#800000">259</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">  mpd_sockpair
        </span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;color:#00008b">raise</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent"> socket</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">.</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">error</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">,</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent"> errinfo
    </span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">/</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;color:#2b91af">Users</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">/</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">ivan</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">/</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">mpich2</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">-</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">install</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">/</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">bin</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">/</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">mpdlib</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">.</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">py  </span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;color:#800000">820</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">  create_single_mem_ring
        </span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;color:#00008b">self</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">.</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">lhsSock</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">,</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;color:#00008b">self</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">.</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">rhsSock </span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">=</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent"> mpd_sockpair</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">()</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">
    </span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">/</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;color:#2b91af"></span></pre>
</div></blockquote></blockquote></div>