[torquedev] Release Candidate for TORQUE 2.5.8

Ken Nielson knielson at adaptivecomputing.com
Thu Aug 18 15:26:20 MDT 2011


----- Original Message -----
> From: "Martin Siegert" <siegert at sfu.ca>
> To: "Torque Developers mailing list" <torquedev at supercluster.org>
> Cc: "Dan Croft" <dcroft at adaptivecomputing.com>
> Sent: Thursday, August 18, 2011 2:48:38 PM
> Subject: Re: [torquedev] Release Candidate for TORQUE 2.5.8
> On Tue, Aug 16, 2011 at 04:04:26PM -0600, Ken Nielson wrote:
> >
> >
> > ----- Original Message -----
> > > From: "Ken Nielson" <knielson at adaptivecomputing.com>
> > > To: "Torque Developers mailing list" <torquedev at supercluster.org>
> > > Cc: "Dan Croft" <dcroft at adaptivecomputing.com>, "Torque Users
> > > Mailing List" <torqueusers at supercluster.org>
> > > Sent: Tuesday, August 16, 2011 8:53:30 AM
> > > Subject: Re: [torquedev] Release Candidate for TORQUE 2.5.8
> > > ----- Original Message -----
> > > > From: "Martin Siegert" <siegert at sfu.ca>
> > > > To: "Torque Developers mailing list"
> > > > <torquedev at supercluster.org>
> > > > Cc: "Dan Croft" <dcroft at adaptivecomputing.com>, "Torque Users
> > > > Mailing List" <torqueusers at supercluster.org>
> > > > Sent: Monday, August 15, 2011 6:12:54 PM
> > > > Subject: Re: [torquedev] Release Candidate for TORQUE 2.5.8
> > > > Hi Ken,
> > > >
> > > > On Mon, Aug 15, 2011 at 12:19:28PM -0600, Ken Nielson wrote:
> > > > > There is a new release candidate for TORQUE 2.5.8.
> > > > >
> > > > > This has a patch from Martin Siegert to fix a bug where the
> > > > > new
> > > > > code
> > > > > to keep procct from the scheduler was not properly accounting
> > > > > for
> > > > > the "procs" resource keyword.
> > > > >
> > > > > There was also code added to notify the scheduler when a job
> > > > > was
> > > > > successfully promoted from a routing queue to an execution
> > > > > queue.
> > > > > This helps speed up the running of jobs.
> > > > >
> > > > > The new patch is available for download at
> > > > > http://www.clusterresources.com/downloads/torque/snapshots/torque-2.5.8-snap.201108151211.tar.gz
> > > > >
> > > > > Please download this snapshot and let us know if you find any
> > > > > problems.
> > > >
> > > > Compilation still fails with
> > > >
> > > > cc1: warnings being treated as errors
> > > > pam_pbssimpleauth.c: In function 'pam_sm_authenticate':
> > > > pam_pbssimpleauth.c:125: warning: passing argument 1 of
> > > > 'getpwnam_ext'
> > > > discards qualifiers from pointer target type
> > > > make[2]: *** [pam_pbssimpleauth.lo] Error 1
> > > >
> > > > That's why I replaced line 125 with
> > > >
> > > > user_pwd = getpwnam_ext((char *)username);
> > > >
> > > > in src/pam/pam_pbssimpleauth.c.
> > > >
> > > > Otherwise this version works fine with all my test jobs.
> > > >
> > > > Thanks!
> > > >
> > > > Cheers,
> > > > Martin
> > > >
> > > > --
> > > > Martin Siegert
> > > > Simon Fraser University
> > >
> > > I messed something up on the check in. I changed that and tested
> > > it. I
> > > will fix it and make another release.
> > >
> > > Ken
> >
> > This time for sure. I have the typecast for
> > src/pam/pam_pbssimpleauth.c fixed and checked in. I tested the
> > --with-pam configuration for sure this time and there is a snapshot
> > ready to try. The snapshot can be downloaded at
> > http://www.clusterresources.com/downloads/torque/snapshots/torque-2.5.8-snap.201108161527.tar.gz
> >
> > Please download this and let me know if you find any problems.
> 
> I just compiled this by accident with gcc-4.4.0 (instead of gcc-4.1.2
> which I usually use). gcc-4.4.0 spits out even more errors:
> 
> cc1: warnings being treated as errors
> job_route.c: In function ‘initialize_procct’:
> job_route.c:210: error: ‘pprocsp’ may be used uninitialized in this
> function
> make[2]: *** [job_route.o] Error 1
> 
> This can be fixed by adding a line
> 
> pprocsp = NULL;
> 
> before the
> if(pprocs_def != NULL)
> statement.
> 
> But then:
> 
> cc1: warnings being treated as errors
> process_request.c: In function ‘get_creds’:
> process_request.c:288: error: dereferencing type-punned pointer will
> break strict-aliasing rules
> make[2]: *** [process_request.o] Error 1
> 
> Which can be fixed by dropping the optimization flag below -O2.
> Don't know whether there is a better way to solve this one.
> 
> - Martin
> _____________

Martin,

Thanks for the information. We will fix what we can and see about the get_creds error.

Ken


More information about the torquedev mailing list