[mvapich-discuss] Running MPI Code

amith rajith mamidala mamidala at cse.ohio-state.edu
Wed Jun 28 12:24:23 EDT 2006


Hi,

If you have compiled using the default script : make.mvapich.gen2, then
you should be fine. Or else did you use your own script?

If the compilation is fine, for running try giving the complete paths of
all the files, (nodelist, osu_bw_c and mpirun_rsh).

Incase, this doesnot work out, mail us back,

Thanks,
Amith


On Tue, 27 Jun 2006, Mahesh Barve wrote:

> Hi,
>  the ibv_rc_pingpong program runs fine between the 2
> nodes. Also i am able to run MPI code using openMPI.
>   I am just not able to proceed with using MVAPICH.
> Let me knw if u require any more details,
> -mahesh barve
>
>
> --- amith rajith mamidala
> <mamidala at cse.ohio-state.edu> wrote:
>
> > Hi,
> >
> > Looks like you are planning to use ch_gen2 device
> > for running MVAPICH.
> > In this case checking for ifconfig wouldn't help.
> > You should verify
> > whether the basic InfiniBand set up is correct. Try
> > ibv_rc_pingpong program between two nodes and see if
> > this works fine.
> > This tests whether the set up is proper for
> > InfiniBand,
> >
> > Thanks,
> > Amith
> >
> > On Tue, 27 Jun 2006, Mahesh Barve wrote:
> >
> > > Hi,
> > >  I have managed to install MVAPICH on my system(2
> > > opteron based systems connected by infiniband
> > HCAs).
> > >
> > > 1. On trying to run code using mpirun is get the
> > > following:
> > > > mpirun -np 2 -hostfile nodelist ./osu_bw_c
> > > Unrecognized argument -hostfil ignored.
> > > Cannot find MPIRUN machine file for machine
> > ch_gen2
> > > and architecture LINUX.
> > > (no device specified.)
> > >
> > > 2. on trying to use mpirun_rsh
> > > > mpirun_rsh -np 2 -hostfile nodelist ./osu_bw_c
> > >  there is no output.
> > >
> > > Could you please help in this.
> > >
> > > regards,
> > > -Mahesh Barve
> > >
> > > ifconfig output:
> > > machine 1
> > > =========
> > > eth0      Link encap:Ethernet  HWaddr
> > > 00:30:48:57:53:30
> > >           inet addr:192.168.1.51
> > Bcast:192.168.1.255
> > > Mask:255.255.255.0
> > >           inet6 addr: fe80::230:48ff:fe57:5330/64
> > > Scope:Link
> > >           UP BROADCAST RUNNING MULTICAST  MTU:1500
> > > Metric:1
> > >           RX packets:2883 errors:0 dropped:0
> > > overruns:0 frame:0
> > >           TX packets:2876 errors:0 dropped:0
> > > overruns:0 carrier:0
> > >           collisions:0 txqueuelen:1000
> > >           RX bytes:296908 (289.9 KiB)  TX
> > bytes:378143
> > > (369.2 KiB)
> > >           Interrupt:233 Base address:0xc000
> > >
> > > eth1      Link encap:Ethernet  HWaddr
> > > 00:30:48:57:53:31
> > >           inet addr:192.168.2.51
> > Bcast:192.168.2.255
> > > Mask:255.255.255.0
> > >           inet6 addr: fe80::230:48ff:fe57:5331/64
> > > Scope:Link
> > >           UP BROADCAST MULTICAST  MTU:1500
> > Metric:1
> > >           RX packets:0 errors:0 dropped:0
> > overruns:0
> > > frame:0
> > >           TX packets:0 errors:0 dropped:0
> > overruns:0
> > > carrier:0
> > >           collisions:0 txqueuelen:1000
> > >           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
> > >           Interrupt:50 Base address:0xe000
> > >
> > > ib0       Link encap:InfiniBand  HWaddr
> > >
> >
> 00:00:04:04:FE:80:00:00:00:00:00:00:00:00:00:00:00:00:00:00
> > >
> > >           inet addr:193.168.1.51
> > > Bcast:193.168.255.255  Mask:255.255.255.0
> > >           inet6 addr: fe80::202:c902:21:a475/64
> > > Scope:Link
> > >           UP BROADCAST RUNNING MULTICAST  MTU:2044
> > > Metric:1
> > >           RX packets:112 errors:0 dropped:0
> > overruns:0
> > > frame:0
> > >           TX packets:62 errors:0 dropped:3
> > overruns:0
> > > carrier:0
> > >           collisions:0 txqueuelen:128
> > >           RX bytes:16796 (16.4 KiB)  TX
> > bytes:10020
> > > (9.7 KiB)
> > >
> > > ib1       Link encap:InfiniBand  HWaddr
> > >
> >
> 00:00:04:05:FE:80:00:00:00:00:00:00:00:00:00:00:00:00:00:00
> > >
> > >           inet addr:194.168.1.51
> > > Bcast:194.168.255.255  Mask:255.255.255.0
> > >           inet6 addr: fe80::202:c902:21:a476/64
> > > Scope:Link
> > >           UP BROADCAST RUNNING MULTICAST  MTU:2044
> > > Metric:1
> > >           RX packets:62 errors:0 dropped:0
> > overruns:0
> > > frame:0
> > >           TX packets:109 errors:0 dropped:3
> > overruns:0
> > > carrier:0
> > >           collisions:0 txqueuelen:128
> > >           RX bytes:10486 (10.2 KiB)  TX
> > bytes:19073
> > > (18.6 KiB)
> > >
> > > lo        Link encap:Local Loopback
> > >           inet addr:127.0.0.1  Mask:255.0.0.0
> > >           inet6 addr: ::1/128 Scope:Host
> > >           UP LOOPBACK RUNNING  MTU:16436  Metric:1
> > >           RX packets:1855 errors:0 dropped:0
> > > overruns:0 frame:0
> > >           TX packets:1855 errors:0 dropped:0
> > > overruns:0 carrier:0
> > >           collisions:0 txqueuelen:0
> > >           RX bytes:1319508 (1.2 MiB)  TX
> > bytes:1319508
> > > (1.2 MiB)
> > > --------------------------
> > > machine 2
> > > ==========
> > > eth0      Link encap:Ethernet  HWaddr
> > > 00:30:48:57:53:98
> > >           inet addr:192.168.1.52
> > Bcast:192.168.1.255
> > > Mask:255.255.255.0
> > >           inet6 addr: fe80::230:48ff:fe57:5398/64
> > > Scope:Link
> > >           UP BROADCAST RUNNING MULTICAST  MTU:1500
> > > Metric:1
> > >           RX packets:554 errors:0 dropped:0
> > overruns:0
> > > frame:0
> > >           TX packets:522 errors:0 dropped:0
> > overruns:0
> > > carrier:0
> > >           collisions:0 txqueuelen:1000
> > >           RX bytes:102883 (100.4 KiB)  TX
> > bytes:58707
> > > (57.3 KiB)
> > >           Interrupt:233 Base address:0xc000
> > >
> > > eth1      Link encap:Ethernet  HWaddr
> > > 00:30:48:57:53:99
> > >           inet addr:192.168.2.52
> > Bcast:192.168.2.255
> > > Mask:255.255.255.0
> > >           inet6 addr: fe80::230:48ff:fe57:5399/64
> > > Scope:Link
> > >           UP BROADCAST MULTICAST  MTU:1500
> > Metric:1
> > >           RX packets:0 errors:0 dropped:0
> > overruns:0
> > > frame:0
> > >           TX packets:0 errors:0 dropped:0
> > overruns:0
> > > carrier:0
> > >           collisions:0 txqueuelen:1000
> > >           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
> > >           Interrupt:50 Base address:0xe000
> > >
> > > ib0       Link encap:InfiniBand  HWaddr
> > >
> >
> 00:00:04:04:FE:80:00:00:00:00:00:00:00:00:00:00:00:00:00:00
> > >
> > >           inet addr:193.168.1.52
> > > Bcast:193.168.255.255  Mask:255.255.255.0
> > >           inet6 addr: fe80::202:c902:21:a605/64
> > > Scope:Link
> > >           UP BROADCAST RUNNING MULTICAST  MTU:2044
> > > Metric:1
> > >           RX packets:99 errors:0 dropped:0
> > overruns:0
> > > frame:0
> > >           TX packets:66 errors:0 dropped:1
> > overruns:0
> > > carrier:0
> > >           collisions:0 txqueuelen:128
> > >           RX bytes:17676 (17.2 KiB)  TX
> > bytes:11174
> > > (10.9 KiB)
> > >
> > > ib1       Link encap:InfiniBand  HWaddr
> > >
> >
> 00:00:04:05:FE:80:00:00:00:00:00:00:00:00:00:00:00:00:00:00
> >
> === message truncated ===
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>



More information about the mvapich-discuss mailing list