RE: [ofa-general] Problem running SDP apps using OFED 1.2

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Zulfi Imani <zulfiimani@...>, <dotanb@...>
Cc: <general@...>
Date: Friday, October 5, 2007 - 6:08 pm

This is a multi-part message in MIME format.

------_=_NextPart_001_01C8079C.3DCD473F
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Can you ping between the two nodes using the IPoIB IP address?
=20
Scott Weitzenkamp
SQA and Release Manager
Server Virtualization Business Unit
Cisco Systems
=20


________________________________

	From: general-bounces@lists.openfabrics.org
[mailto:general-bounces@lists.openfabrics.org] On Behalf Of Zulfi Imani
	Sent: Friday, October 05, 2007 3:01 PM
	To: dotanb@dev.mellanox.co.il
	Cc: general@lists.openfabrics.org
	Subject: Re: [ofa-general] Problem running SDP apps using OFED
1.2
=09
=09
	Hi Dotan,
=09
	ifconfig shows up
=09
	ib0       Link encap:InfiniBand  HWaddr
80:00:00:03:FE:80:00:00:00:00:00:00:00:00:00:00:00:00:00:00=20
	          inet addr: 140.221.37.32  Bcast: 140.221.37.255
<http://140.221.37.255>   Mask:255.255.255.0
	          inet6 addr: fe80::211:7500:ff:d802/64 Scope:Link=20
	          UP BROADCAST RUNNING MULTICAST  MTU:65520  Metric:1
	          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
	          TX packets:1 errors:0 dropped:5 overruns:0 carrier:0
	          collisions:0 txqueuelen:128=20
	          RX bytes:0 (0.0 b)  TX bytes:68 (68.0 b)
=09
	does this mean that the apps would now use IPoIB ? How do i tell
when IPoIB is working and when it isnt ? Because I assume when it isnt
it would default to Ethernet ?=20
=09
	It will be great if I can get this cleared.
=09
	Thanks
	Zulfi
=09
=09
	On 9/30/07, Dotan Barak < dotanb@dev.mellanox.co.il
<mailto:dotanb@dev.mellanox.co.il> > wrote:=20

		Does a simple "ping" between the nodes is working?
		(this way you can be sure that IPoIB is working and SDP
should work)=20
	=09
		Dotan
	=09
	=09
		Zulfi Imani wrote:
		> I have not tried over IPoIB, but opensm is running
		>
		> /home/zulfi > sminfo
		> sminfo: sm lid 1 sm guid 0x11750000ffdaf4, activity
count 16220
		> priority 0 state 3 SMINFO_MASTER=20
		>
		> I also tried a few iband utilities and they all work
fine. Not able to
		> run any socket apps over SDP.
		>
		> Thanks
		> Zulfi
		>
		> On 9/27/07, *Jim Mott* < jimmott@austin.rr.com
<mailto:jimmott@austin.rr.com>=20
		> <mailto:jimmott@austin.rr.com>> wrote:
		>
		>     Were you able to connect IPoIB between the nodes?
Are you sure=20
		>     opensm was running?  I am ashamed to admit that
occasionally I=20
		>     forget to start opensm and wonder why SDP does not
connect.
		>
		>
		>
		>     *From:* general-bounces@lists.openfabrics.org
		>     <mailto: general-bounces@lists.openfabrics.org>
[mailto:
		>     general-bounces@lists.openfabrics.org
		>     <mailto:general-bounces@lists.openfabrics.org>]
*On Behalf Of
		>     *Zulfi Imani=20
		>     *Sent:* Thursday, September 27, 2007 3:22 PM
		>     *To:* general@lists.openfabrics.org
		>     <mailto: general@lists.openfabrics.org
<mailto:general@lists.openfabrics.org> >
		>     *Subject:* [ofa-general] Problem running SDP apps
using OFED 1.2
		>
		>
		>
		>     Hi,
		>
		>     I installed the OFED1.2 stack and am trying to run
a simple socket
		>     server and client over the SDP stack. The
Infiniband hardware is
		>     QLogic.=20
		>
		>     First I set the ENV vars
		>     export
LD_PRELOAD=3D/root/zulfi/iband/INSTALL/lib64/libsdp.so
		>
		>     export LIBSDP_CONFIG_FILE=3D/home/zulfi/libsdp.conf
		>
		>
		>     The SDP config file has:=20
		>     *use sdp server * *:*
		>     use sdp client * *:*
		>     *
		>     Then started the socket server and did a
'sdpnetstat -San' and
		>     found that it listed the SDP port on which the
server was listening.=20
		>
		>     On the client machine too I did the same; exported
the variables,
		>     setup the SDP config file and on running the
client './client
		>     port# server_machine' it gave me a "network not
reachable" error.=20
		>
		>     I tried to get some information about the error on
the net but
		>     could not find any.
		>
		>     I then checked the /proc/<pid>/maps file and found
that libsdp.so
		>     was being loaded.=20
		>     also:
		>     /root > lsmod | grep sdp
		>     ib_sdp                120224  3
		>
		>     Does QLogic support SDP applications ? Or am I
missing something
		>     in the SDP config file or do I need to make
changes to my code ?=20
		>
		>     Any information on this will be a big help.
		>
		>     Thanks,
		>     Zulfi
		>
		>
		>
		>
		>
		>
		> --
		> Regs,
		> Zulfi
		>
------------------------------------------------------------------------

		>
		> _______________________________________________
		> general mailing list
		> general@lists.openfabrics.org
		>
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
		>
		> To unsubscribe, please visit
http://openib.org/mailman/listinfo/openib-general=20
	=09
	=09




	--=20
	Regs,
	Zulfi=20


------_=_NextPart_001_01C8079C.3DCD473F
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2900.3157" name=3DGENERATOR></HEAD>
<BODY>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D508010822-05102007><FONT =
face=3DArial=20
color=3D#0000ff size=3D2>Can you ping between the two nodes using the =
IPoIB IP=20
address?</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV align=3Dleft><FONT face=3DArial size=3D2>Scott =
Weitzenkamp</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial size=3D2>SQA and Release =
Manager</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial size=3D2>Server Virtualization =
Business=20
Unit</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial size=3D2>Cisco Systems</FONT></DIV>
<DIV>&nbsp;</DIV><BR>
<BLOCKQUOTE=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid; MARGIN-RIGHT: 0px">
  <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr align=3Dleft>
  <HR tabIndex=3D-1>
  <FONT face=3DTahoma size=3D2><B>From:</B> =
general-bounces@lists.openfabrics.org=20
  [mailto:general-bounces@lists.openfabrics.org] <B>On Behalf Of =
</B>Zulfi=20
  Imani<BR><B>Sent:</B> Friday, October 05, 2007 3:01 PM<BR><B>To:</B>=20
  dotanb@dev.mellanox.co.il<BR><B>Cc:</B>=20
  general@lists.openfabrics.org<BR><B>Subject:</B> Re: [ofa-general] =
Problem=20
  running SDP apps using OFED 1.2<BR></FONT><BR></DIV>
  <DIV></DIV>Hi Dotan,<BR><BR>ifconfig shows=20
  up<BR><BR>ib0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Link =
encap:InfiniBand&nbsp;=20
  HWaddr 80:00:00:03:FE:80:00:00:00:00:00:00:00:00:00:00:00:00:00:00=20
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; inet addr: =
<A=20
  onclick=3D"return top.js.OpenExtLink(window,event,this)"=20
  href=3D"http://140.221.37.32" target=3D_blank>140.221.37.32</A>&nbsp; =
Bcast:<A=20
  onclick=3D"return top.js.OpenExtLink(window,event,this)"=20
  href=3D"http://140.221.37.255" target=3D_blank> =
140.221.37.255</A>&nbsp; Mask:<A=20
  onclick=3D"return top.js.OpenExtLink(window,event,this)"=20
  href=3D"http://255.255.255.0"=20
  =
target=3D_blank>255.255.255.0</A><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;=20
  inet6 addr: fe80::211:7500:ff:d802/64 Scope:Link=20
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UP =
BROADCAST=20
  RUNNING MULTICAST&nbsp; MTU:65520&nbsp;=20
  Metric:1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RX=20
  packets:0 errors:0 dropped:0 overruns:0=20
  frame:0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TX =
packets:1=20
  errors:0 dropped:5 overruns:0=20
  carrier:0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  collisions:0 txqueuelen:128=20
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RX bytes:0 =
(0.0=20
  b)&nbsp; TX bytes:68 (68.0 b)<BR><BR>does this mean that the apps =
would now=20
  use IPoIB ? How do i tell when IPoIB is working and when it isnt ? =
Because I=20
  assume when it isnt it would default to Ethernet ? <BR><BR>It will be =
great if=20
  I can get this cleared.<BR><BR>Thanks<BR>Zulfi<BR><BR>
  <DIV><SPAN class=3Dgmail_quote>On 9/30/07, <B =
class=3Dgmail_sendername>Dotan=20
  Barak</B> &lt;<A onclick=3D"return =
top.js.OpenExtLink(window,event,this)"=20
  href=3D"mailto:dotanb@dev.mellanox.co.il" target=3D_blank>=20
  dotanb@dev.mellanox.co.il </A>&gt; wrote:</SPAN>
  <BLOCKQUOTE class=3Dgmail_quote=20
  style=3D"PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: =
rgb(204,204,204) 1px solid">Does=20
    a simple "ping" between the nodes is working?<BR>(this way you can =
be sure=20
    that IPoIB is working and SDP should work) =
<BR><BR>Dotan<BR><BR><BR>Zulfi=20
    Imani wrote:<BR>&gt; I have not tried over IPoIB, but opensm is=20
    running<BR>&gt;<BR>&gt; /home/zulfi &gt; sminfo<BR>&gt; sminfo: sm =
lid 1 sm=20
    guid 0x11750000ffdaf4, activity count 16220<BR>&gt; priority 0 state =
3=20
    SMINFO_MASTER <BR>&gt;<BR>&gt; I also tried a few iband utilities =
and they=20
    all work fine. Not able to<BR>&gt; run any socket apps over=20
    SDP.<BR>&gt;<BR>&gt; Thanks<BR>&gt; Zulfi<BR>&gt;<BR>&gt; On =
9/27/07, *Jim=20
    Mott* &lt;<A onclick=3D"return =
top.js.OpenExtLink(window,event,this)"=20
    href=3D"mailto:jimmott@austin.rr.com" target=3D_blank>=20
    jimmott@austin.rr.com</A><BR>&gt; &lt;mailto:<A=20
    onclick=3D"return top.js.OpenExtLink(window,event,this)"=20
    href=3D"mailto:jimmott@austin.rr.com"=20
    target=3D_blank>jimmott@austin.rr.com</A>&gt;&gt;=20
    wrote:<BR>&gt;<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Were you able to =
connect=20
    IPoIB between the nodes?&nbsp;&nbsp;Are you sure=20
    <BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; opensm was running?&nbsp;&nbsp;I am =
ashamed=20
    to admit that occasionally I <BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; forget =
to=20
    start opensm and wonder why SDP does not=20
    connect.<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; =
*From:* <A=20
    onclick=3D"return top.js.OpenExtLink(window,event,this)"=20
    href=3D"mailto:general-bounces@lists.openfabrics.org"=20
    =
target=3D_blank>general-bounces@lists.openfabrics.org</A><BR>&gt;&nbsp;&n=
bsp;&nbsp;&nbsp;=20
    &lt;mailto: <A onclick=3D"return =
top.js.OpenExtLink(window,event,this)"=20
    href=3D"mailto:general-bounces@lists.openfabrics.org"=20
    target=3D_blank>general-bounces@lists.openfabrics.org</A>&gt;=20
    [mailto:<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; <A=20
    onclick=3D"return top.js.OpenExtLink(window,event,this)"=20
    href=3D"mailto:general-bounces@lists.openfabrics.org"=20
    =
target=3D_blank>general-bounces@lists.openfabrics.org</A><BR>&gt;&nbsp;&n=
bsp;&nbsp;&nbsp;=20
    &lt;mailto:<A onclick=3D"return =
top.js.OpenExtLink(window,event,this)"=20
    href=3D"mailto:general-bounces@lists.openfabrics.org"=20
    target=3D_blank>general-bounces@lists.openfabrics.org</A>&gt;] *On =
Behalf=20
    Of<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; *Zulfi Imani=20
    <BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; *Sent:* Thursday, September 27, =
2007 3:22=20
    PM<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; *To:* <A=20
    onclick=3D"return top.js.OpenExtLink(window,event,this)"=20
    href=3D"mailto:general@lists.openfabrics.org"=20
    =
target=3D_blank>general@lists.openfabrics.org</A><BR>&gt;&nbsp;&nbsp;&nbs=
p;&nbsp;=20
    &lt;mailto:<A onclick=3D"return =
top.js.OpenExtLink(window,event,this)"=20
    href=3D"mailto:general@lists.openfabrics.org" target=3D_blank>=20
    =
general@lists.openfabrics.org</A>&gt;<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;=20
    *Subject:* [ofa-general] Problem running SDP apps using OFED=20
    1.2<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;=20
    Hi,<BR>&gt;<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; I installed the OFED1.2 =
stack=20
    and am trying to run a simple socket<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; =
server=20
    and client over the SDP stack. The Infiniband hardware=20
    is<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; QLogic.=20
    <BR>&gt;<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; First I set the ENV=20
    vars<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; export=20
    =
LD_PRELOAD=3D/root/zulfi/iband/INSTALL/lib64/libsdp.so<BR>&gt;<BR>&gt;&nb=
sp;&nbsp;&nbsp;&nbsp;=20
    export=20
    =
LIBSDP_CONFIG_FILE=3D/home/zulfi/libsdp.conf<BR>&gt;<BR>&gt;<BR>&gt;&nbsp=
;&nbsp;&nbsp;&nbsp;=20
    The SDP config file has: <BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; *use sdp =
server *=20
    *:*<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; use sdp client *=20
    *:*<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; =
*<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Then=20
    started the socket server and did a 'sdpnetstat -San'=20
    and<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; found that it listed the SDP =
port on=20
    which the server was listening. =
<BR>&gt;<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; On=20
    the client machine too I did the same; exported the=20
    variables,<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; setup the SDP config file =
and on=20
    running the client './client<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; port#=20
    server_machine' it gave me a "network not reachable" error.=20
    <BR>&gt;<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; I tried to get some =
information=20
    about the error on the net but<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; could =
not=20
    find any.<BR>&gt;<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; I then checked the =

    /proc/&lt;pid&gt;/maps file and found that=20
    libsdp.so<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; was being loaded.=20
    <BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; =
also:<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; /root=20
    &gt; lsmod | grep sdp<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;=20
    =
ib_sdp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;120224&nbsp;&nbsp;3<BR>&gt;<BR>&gt;&nbsp;&nb=
sp;&nbsp;&nbsp;=20
    Does QLogic support SDP applications ? Or am I missing=20
    something<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; in the SDP config file or =
do I=20
    need to make changes to my code ? =
<BR>&gt;<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;=20
    Any information on this will be a big=20
    help.<BR>&gt;<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;=20
    Thanks,<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;=20
    Zulfi<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; =
--<BR>&gt;=20
    Regs,<BR>&gt; Zulfi<BR>&gt;=20
    =
------------------------------------------------------------------------ =

    <BR>&gt;<BR>&gt; =
_______________________________________________<BR>&gt;=20
    general mailing list<BR>&gt; <A=20
    onclick=3D"return top.js.OpenExtLink(window,event,this)"=20
    href=3D"mailto:general@lists.openfabrics.org"=20
    target=3D_blank>general@lists.openfabrics.org</A><BR>&gt; <A=20
    onclick=3D"return top.js.OpenExtLink(window,event,this)"=20
    =
href=3D"http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general"=20
    =
target=3D_blank>http://lists.openfabrics.org/cgi-bin/mailman/listinfo/gen=
eral</A><BR>&gt;<BR>&gt;=20
    To unsubscribe, please visit <A=20
    onclick=3D"return top.js.OpenExtLink(window,event,this)"=20
    href=3D"http://openib.org/mailman/listinfo/openib-general"=20
    =
target=3D_blank>http://openib.org/mailman/listinfo/openib-general</A>=20
  <BR><BR></BLOCKQUOTE></DIV><BR><BR clear=3Dall><BR>-- =
<BR>Regs,<BR>Zulfi=20
</BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C8079C.3DCD473F--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[ofa-general] Problem running SDP apps using OFED 1.2, Zulfi Imani, (Thu Sep 27, 4:22 pm)
[ofa-general] Microsoft Office 2007 ready to download, Stacy Riddle, (Wed Dec 31, 8:00 pm)
RE: [ofa-general] Problem running SDP apps using OFED 1.2, Scott Weitzenkamp (sweitzen)..., (Fri Oct 5, 6:08 pm)
RE: [ofa-general] Problem running SDP apps using OFED 1.2, Scott Weitzenkamp (sweitzen)..., (Fri Oct 5, 9:37 pm)