<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div><span>I've got mpich2 installed at /mirror/mpich2  which is on nfs shared by all nodes, so I don't think I have to install mpich2 on the additional nodes.</span></div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 13.33px; font-style: normal; background-color: transparent;"><span></span> </div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 13.33px; font-style: normal; background-color: transparent;"><span>I can ssh into the node and hydra_pmi_proxy is visible and executable.  And when I am logged into the node directly it is visible and executable.</span></div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 13.33px; font-style: normal; background-color: transparent;"><span></span> </div><div
 style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 13.33px; font-style: normal; background-color: transparent;"><span>One more thing, when I am directly logged into the node and do</span></div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 13.33px; font-style: normal; background-color: transparent;"><span>mpiexec -n 2 -f machinefile ./cpi   </span></div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 13.33px; font-style: normal; background-color: transparent;"><span>I get the message:</span></div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 13.33px; font-style: normal; background-color: transparent;"><span></span> </div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 13.33px; font-style: normal; background-color:
 transparent;"><span>bash:/mirror/mpich2/bin/mpiexec:No such file or directory.</span></div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 13.33px; font-style: normal; background-color: transparent;"><span></span> </div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 13.33px; font-style: normal; background-color: transparent;"><span>It looks like it might be an issue with permissions since bash can't find the executable, but it is visible via which and has executable permission under ls -lat.</span></div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 13.33px; font-style: normal; background-color: transparent;"><span></span> </div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 13.33px; font-style: normal; background-color: transparent;"><span>Martin</span></div><div><br></div>  <div
 style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> <div style="margin: 5px 0px; padding: 0px; border: 1px solid rgb(204, 204, 204); height: 0px; line-height: 0; font-size: 0px;" class="hr" contentEditable="false" readonly="true"></div>  <b><span style="font-weight: bold;">From:</span></b> Pavan Balaji <balaji@mcs.anl.gov><br> <b><span style="font-weight: bold;">To:</span></b> Martin Gilchrist <gilchrist.martin@yahoo.com>; mpich-discuss@mcs.anl.gov <br><b><span style="font-weight: bold;">Cc:</span></b> Anthony Chan <chan@mcs.anl.gov> <br> <b><span style="font-weight: bold;">Sent:</span></b> Monday, October 1, 2012 6:27 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [mpich-discuss] hydra_pmi_proxy: No such file<br> </font> </div> <br>
<br>The remote node doesn't seem to have MPICH2 installed (or at least not <br>in the same location).  ssh to the remote node and see if <br>/mirror/mpich2/bin/hydra_pmi_proxy is present.<br><br>On 10/01/2012 04:21 PM, Martin Gilchrist wrote:<br>> Hi Anthony.<br>> That does run successfully but doesn't exercise the file of hosts.<br>> I was using mpiexec -f machinefile -n 2 ./cpi<br>> where machinefile has two lines<br>> martin-desktop<br>> <hostname of machine where ./cpi is launched><br>> Martin.<br>> *From:* Anthony Chan <<a href="mailto:chan@mcs.anl.gov" ymailto="mailto:chan@mcs.anl.gov">chan@mcs.anl.gov</a>><br>> *To:* Martin Gilchrist <<a href="mailto:gilchrist.martin@yahoo.com" ymailto="mailto:gilchrist.martin@yahoo.com">gilchrist.martin@yahoo.com</a>>;<br>> <a href="mailto:mpich-discuss@mcs.anl.gov" ymailto="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>> *Sent:* Monday,
 October 1, 2012 1:49 PM<br>> *Subject:* Re: [mpich-discuss] hydra_pmi_proxy: No such file<br>><br>><br>> If cpi is on a shared filesystem, try "mpiexec -n 4 ./cpi"<br>><br>> ----- Original Message -----<br>>  > Hi.<br>>  ><br>>  > This is my first time using mpi-discuss, so if this is the wrong<br>>  > location for my question please let me know.<br>>  ><br>>  > I am trying to run the "cpi" program and am getting the message:<br>>  ><br>>  > bash: /mirror/mpich2/bin/hydra_pmi_proxy: No such file or directory.<br>>  ><br>>  > I have set up a 2 machine "cluster" using the directions from the<br>>  > Ubuntu documentation at:<br>>  ><br>>  ><br>>  > <a href="https://help.ubuntu.com/community/MpiClusterUbuntu"
 target="_blank">https://help.ubuntu.com/community/MpiClusterUbuntu</a><br>>  ><br>>  ><br>>  > I can ssh into each machine from the other.<br>>  ><br>>  > which mpiexec<br>>  ><br>>  > returns<br>>  ><br>>  > /mirror/mpich2/bin/mpiexec<br>>  ><br>>  > so the file is there.<br>>  ><br>>  > My guess is that hydra should be running on all nodes but when I do a<br>>  > ps aux | grep hydra I do not see that it is running.<br>>  ><br>>  > Have I missed something obvious?<br>>  ><br>>  > Thanks.<br>>  > Martin<br>>  > _______________________________________________<br>>  > mpich-discuss mailing list <a href="mailto:mpich-discuss@mcs.anl.gov" ymailto="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>>
 <mailto:<a href="mailto:mpich-discuss@mcs.anl.gov" ymailto="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a>><br>>  > To manage subscription options or unsubscribe:<br>>  > <a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>><br>><br>><br>><br>> _______________________________________________<br>> mpich-discuss mailing list     <a href="mailto:mpich-discuss@mcs.anl.gov" ymailto="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>> To manage subscription options or unsubscribe:<br>> <a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>><br><br>-- <br>Pavan Balaji<br>http://www.mcs.anl.gov/~balaji<br><br><br> </div> </div>  </div></body></html>