[openib-general] Re: Running libibcm/example/simple.c

Hal Rosenstock halr at voltaire.com
Tue May 17 13:48:25 PDT 2005


On Tue, 2005-05-17 at 16:44, Libor Michalek wrote:
> On Mon, May 16, 2005 at 12:58:05PM -0400, Hal Rosenstock wrote:
> > Hi again Libor,
> > 
> > When I run the example I get the following:
> > server:
> > CM ID <3> Event <1> State <3>
> > client:
> > CM ID <2> Event <0> State <0>
> > server:
> > CM ID <3> Event <2> State <0>
> >
> > The server side looks like it first gets a REQ received event in REQ
> > RCVD state. The client then gets a REQ error event in IDLE state. The
> > server then gets a REP error event in IDLE state.
> 
>   Which type of system is this on?

Plain old x86 (i386).

>  I haven't tried it on 64bit yet, but
> I'll do that now.
> 
>   Do you get any errors in the log file for either host?

No.

>  If you run the
> client without a server running do you get the following:
> 
>   CM ID <2> Event <11> State <0>

(When I ran the server also), I ran it server/client on same machine.

-- Hal

> > Also, another nit in libibcm/example/simple.c
> > cm_connect:
> > ...
> >         sa.dlid = htons(0x1f9);
> >         sa.slid = htons(0x3e1);
> > 
> >         sa.dlid = 0xf901;
> >         sa.slid = 0xe103;
> 
>   I got rid of the second pair.
> 
> -Libor




More information about the general mailing list