[torquedev] Problem with TM interface in Torque 2.1.0p0
Jeff Squyres (jsquyres)
jsquyres at cisco.com
Fri May 19 17:55:43 MDT 2006
Thanks for the quick fix!
> -----Original Message-----
> From: torquedev-bounces at supercluster.org
> [mailto:torquedev-bounces at supercluster.org] On Behalf Of
> garrick at speculation.org
> Sent: Friday, May 19, 2006 7:45 PM
> To: torquedev at supercluster.org
> Subject: Re: [torquedev] Problem with TM interface in Torque 2.1.0p0
>
> On Fri, May 19, 2006 at 07:17:28PM -0400,
> garrick at speculation.org alleged:
> > On Fri, May 19, 2006 at 06:06:18PM -0400,
> garrick at speculation.org alleged:
> > > On Fri, May 19, 2006 at 07:02:55AM -0400, Jeff Squyres
> (jsquyres) alleged:
> > > > aon062:~/tmp jsquyres$ pbsdsh hostname
> > > > pbsdsh: tm_nodeinfo failed, rc = TM_ESYSTEM (17000)
> > > >
> > > > Doh. :(
> > >
> > > I can reproduce this on OSX. Definitely something broken.
> >
> > The new poll() support in src/lib/Libifl?tcp_dis.c isn't
> working on OSX.
> > Something weird is happening with the timeout arg.
> >
> > Just comment out HAVE_POLL in src/include/pbs_config.h for
> now and it
> > should work fine.
>
> Fixed in torque-2.1.1-snap.200605191740.tar.gz
>
> poll()'s timeout was overflowing to a negative number. Linux poll()
> interprets all negative values as no timeout. OSX's poll() interprets
> -1 as no timeout and all other negative timeouts cause error with
> EINVAL. So I added overflow checking and it should work
> correctly now.
>
> Sorry about that!
>
> _______________________________________________
> torquedev mailing list
> torquedev at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torquedev
>
More information about the torquedev
mailing list