[mpich-discuss] MPICH2 on LAN with Ubuntu 12.04

heshsham basit hf.basit1 at gmail.com
Thu Oct 24 08:43:04 CDT 2013


I get this on both the machines:


root at ubuntu:/home/#  getent hosts ubuntu
192.168.1.4     ubuntu
root at ubuntu:/home/#  getent hosts hesh
192.168.1.5     hesh
root at ubuntu:/home/#
which is expected- am I right?

 (one of my IP address changed as I connected to a different WLAN)


On 24 October 2013 09:02, Reuti <reuti at staff.uni-marburg.de> wrote:

> Hi,
>
> Am 24.10.2013 um 12:05 schrieb heshsham basit:
>
> > Thanks a lot for your replies.
> > I followed the instructions given here
> > wiki.mpich.org/mpich/index.php/Using_the_Hydra_Process_Manager1
> >
> > for running MPI program on multiple machines:
> >
> > My master node is : 192.168.1.4
> > My client is:  192.168.1.6
>
> You defined them both on both machines in /etc/hosts? What should give a
> valid reply is:
>
> $ getent hosts ubuntu
> 192.168.1.4 ubuntu
> $ getent hosts hesh
> 192.168.1.6 hesh
>
> resp. the on the other machine.
>
> -- Reuti
>
>
> > I gave the following command from 192.168.1.4
> >
> > root at ubuntu:/home# mpiexec -f hosts.cfg -n 4 hello
> > root at 192.168.1.6's password:
> > [proxy:0:0 at hesh] HYDU_sock_connect (./utils/sock/sock.c:171): unable to
> get host address for ubuntu (1)
> > [proxy:0:0 at hesh] main (./pm/pmiserv/pmip.c:209): unable to connect to
> server ubuntu at port 42104 (check for firewalls!)
> >
> > Why I am getting there errors?
> >
> > Both the machines have locally generated executable hello. Do I must
> have same executable copied in both machines?
> >
> >  On master node 192.168.1.4
> > root at ubuntu:/home# ls
> > acme  hello  hosts.cfg  mpi_hello.c
> >
> > On client  192.168.1.6
> >
> > root at hesh:/home#ls
> > hesh hello
> >
> > hello in each machine sis generated after compilation locally.
> >
> >
> >
> > On 22 October 2013 12:51, Jeff Hammond <jeff.science at gmail.com> wrote:
> > See
> http://wiki.mpich.org/mpich/index.php/Using_the_Hydra_Process_Manager
> > for how to launch MPI across multiple machines.  You do not need to
> > use any special hardware adapter; any Ethernet card should provide
> > sufficient TCP/IP support.
> >
> > Jeff
> >
> > On Tue, Oct 22, 2013 at 9:23 AM, Pavan Balaji <balaji at mcs.anl.gov>
> wrote:
> > > Hello,
> > >
> > > 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.
> > >
> > >   -- Pavan
> > >
> > > On Oct 22, 2013, at 8:26 AM, heshsham basit wrote:
> > >
> > >> Hi,
> > >>
> > >> I did some experimentation with MPICH on windows, and recently came
> to know that there is no support for Windows now.
> > >> I am now shifting to Ubuntu. I was successful in installing MPICH2
> and running my first MPI program on a single machine.
> > >>
> > >> 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:
> > >>
> > >> root at ubuntu:/home# lspci -nnk | grep -i net -A2
> > >> 01:07.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd.
> RTL-8139/8139C/8139C+ [10ec:8139] (rev 10)
> > >>     Subsystem: Hewlett-Packard Company Device [103c:301d]
> > >>     Kernel driver in use: 8139too
> > >>
> > >>
> > >> Most of my machines are having this type of card and are connected in
> LAN.
> > >> Really appreciate for any pointers to appropriate document or
> suggestions.
> > >>
> > >>
> > >> Thanks and regards,
> > >>
> > >>
> > >>
> > >>
> > >> _______________________________________________
> > >> discuss mailing list     discuss at mpich.org
> > >> To manage subscription options or unsubscribe:
> > >> https://lists.mpich.org/mailman/listinfo/discuss
> > >
> > > --
> > > Pavan Balaji
> > > http://www.mcs.anl.gov/~balaji
> > >
> > > _______________________________________________
> > > discuss mailing list     discuss at mpich.org
> > > To manage subscription options or unsubscribe:
> > > https://lists.mpich.org/mailman/listinfo/discuss
> >
> >
> >
> > --
> > Jeff Hammond
> > jeff.science at gmail.com
> > _______________________________________________
> > discuss mailing list     discuss at mpich.org
> > To manage subscription options or unsubscribe:
> > https://lists.mpich.org/mailman/listinfo/discuss
> >
> > _______________________________________________
> > discuss mailing list     discuss at mpich.org
> > To manage subscription options or unsubscribe:
> > https://lists.mpich.org/mailman/listinfo/discuss
>
> _______________________________________________
> discuss mailing list     discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20131024/34e738c1/attachment.html>


More information about the discuss mailing list