Re: Question about sockets-GM
Markus Fischer <[email protected]> Tue, 02 Nov 2004 09:11:01 +0100
| Newsgroups | gmane.network.myrinet.general |
|---|---|
| Message-ID | <[email protected]> |
Hu,
since that number is the number of pending fd's this looks like a bug.
I will run our test suite and will get back to you.
thanks,
Markus
Hu Wei wrote:
> I use sockets-GM-LSP on my myrinet 2000. Everything seems OK, but only =
one problem.
>
>for example, as following code:
>
> do
> {
> FD_ZERO(&fds);
> FD_SET((unsigned int)s, &fds);
> tm.tv_sec =3D ms / 1000;
> tm.tv_usec =3D (ms % 1000) * 1000;
> ready =3D select(s + 1, &fds, NULL, NULL, &tm);
> }
> while(ready =3D=3D0);
>
>if normal ethernet network used, select() would return 0 or 1 to indicat=
e if there are some
>connections. However, when sockets-GM-LSP used, select() returns a very =
big number,such as
>528060, even there is no connection at all.
>
>What is Wrong?
>
>
>=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1Hu Wei
>=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1huw02@mails.tsinghua.edu=
.cn
>=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A12004-10-29
> =20
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Myrinet mailing list
>[email protected]
>http://email.osc.edu/mailman/listinfo/myrinet
> =20
>