<div dir="ltr">Hi Jeff,<br><br>Thanks a lot for your replies.<br>I followed the instructions given here<br><a href="http://wiki.mpich.org/mpich/index.php/Using_the_Hydra_Process_Manager1">wiki.mpich.org/mpich/index.php/Using_the_Hydra_Process_Manager1</a> <br>
<div><div><br>for running MPI program on multiple machines:<br><br></div><div>My master node is : 192.168.1.4<br></div><div>My client is:  192.168.1.6 <br></div><div><br></div><div>I gave the following command from 192.168.1.4</div>
<div> <br>root@ubuntu:/home# mpiexec -f hosts.cfg -n 4 hello<br><a href="mailto:root@192.168.1.6">root@192.168.1.6</a>'s password: <br>[proxy:0:0@hesh] HYDU_sock_connect (./utils/sock/sock.c:171): unable to get host address for ubuntu (1)<br>
[proxy:0:0@hesh] main (./pm/pmiserv/pmip.c:209): unable to connect to server ubuntu at port 42104 (check for firewalls!)<br><br></div><div>Why I am getting there errors? <br><br></div><div>Both the machines have locally generated executable hello. Do I must have same executable copied in both machines? <br>
<br><div> On master node 192.168.1.4<br>root@ubuntu:/home# ls<br>acme  hello  hosts.cfg  mpi_hello.c<br><br>On client  192.168.1.6 <br><br></div><div>root@hesh:/home#ls<br></div><div>hesh hello <br></div>   <br></div><div>
hello in each machine sis generated after compilation locally.  <br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 22 October 2013 12:51, Jeff Hammond <span dir="ltr"><<a href="mailto:jeff.science@gmail.com" target="_blank">jeff.science@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">See <a href="http://wiki.mpich.org/mpich/index.php/Using_the_Hydra_Process_Manager" target="_blank">http://wiki.mpich.org/mpich/index.php/Using_the_Hydra_Process_Manager</a><br>

for how to launch MPI across multiple machines.  You do not need to<br>
use any special hardware adapter; any Ethernet card should provide<br>
sufficient TCP/IP support.<br>
<br>
Jeff<br>
<div class="HOEnZb"><div class="h5"><br>
On Tue, Oct 22, 2013 at 9:23 AM, Pavan Balaji <<a href="mailto:balaji@mcs.anl.gov">balaji@mcs.anl.gov</a>> wrote:<br>
> Hello,<br>
><br>
> You'll need to either install mpich on a shared file system (such as NFS) or individually on each of the nodes.  The README file in the mpich tarball should have most of this information.<br>
><br>
>   -- Pavan<br>
><br>
> On Oct 22, 2013, at 8:26 AM, heshsham basit wrote:<br>
><br>
>> Hi,<br>
>><br>
>> I did some experimentation with MPICH on windows, and recently came to know that there is no support for Windows now.<br>
>> I am now shifting to Ubuntu. I was successful in installing MPICH2 and running my first MPI program on a single machine.<br>
>><br>
>> Now I want to run my code on multiple PCs. How do I install MPI in a LAN ? What are the additional requirement if any? Do I need any specific hardware -network adapter  My card details are as under:<br>
>><br>
>> root@ubuntu:/home# lspci -nnk | grep -i net -A2<br>
>> 01:07.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ [10ec:8139] (rev 10)<br>
>>     Subsystem: Hewlett-Packard Company Device [103c:301d]<br>
>>     Kernel driver in use: 8139too<br>
>><br>
>><br>
>> Most of my machines are having this type of card and are connected in LAN.<br>
>> Really appreciate for any pointers to appropriate document or suggestions.<br>
>><br>
>><br>
>> Thanks and regards,<br>
>><br>
>><br>
>><br>
>><br>
>> _______________________________________________<br>
>> discuss mailing list     <a href="mailto:discuss@mpich.org">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>
> Pavan Balaji<br>
> <a href="http://www.mcs.anl.gov/~balaji" target="_blank">http://www.mcs.anl.gov/~balaji</a><br>
><br>
> _______________________________________________<br>
> discuss mailing list     <a href="mailto:discuss@mpich.org">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>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
Jeff Hammond<br>
<a href="mailto:jeff.science@gmail.com">jeff.science@gmail.com</a><br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
discuss mailing list     <a href="mailto:discuss@mpich.org">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>
</div></div></blockquote></div><br></div></div>