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

Libor Michalek libor at topspin.com
Tue May 17 13:44:44 PDT 2005


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? 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? If you run the
client without a server running do you get the following:

  CM ID <2> Event <11> State <0>

> 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