[mvapich-discuss] Running MPI Code
amith rajith mamidala
mamidala at cse.ohio-state.edu
Tue Jun 27 09:37:48 EDT 2006
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
>
> inet addr:194.168.1.52
> Bcast:194.168.255.255 Mask:255.255.255.0
> inet6 addr: fe80::202:c902:21:a606/64
> Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:2044
> Metric:1
> RX packets:62 errors:0 dropped:0 overruns:0
> frame:0
> TX packets:112 errors:0 dropped:1 overruns:0
> carrier:0
> collisions:0 txqueuelen:128
> RX bytes:9772 (9.5 KiB) TX bytes:17244
> (16.8 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:1528 errors:0 dropped:0
> overruns:0 frame:0
> TX packets:1528 errors:0 dropped:0
> overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:1317104 (1.2 MiB) TX bytes:1317104
> (1.2 MiB)
>
>
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> _______________________________________________
> mvapich-discuss mailing list
> mvapich-discuss at cse.ohio-state.edu
> http://mail.cse.ohio-state.edu/mailman/listinfo/mvapich-discuss
>
More information about the mvapich-discuss
mailing list