[torquedev] [Bug 70] new configure.ac changes... need testers!

Troy Baer tbaer at utk.edu
Fri Jul 9 06:26:18 MDT 2010


On Thu, 2010-07-08 at 23:08 -0700, Garrick Staples wrote:
> On Thu, Jul 08, 2010 at 08:14:24PM -0700, Garrick Staples alleged:
> > On Thu, Jul 08, 2010 at 11:02:54PM -0400, Troy Baer alleged:
> > > On Thu, 2010-07-08 at 18:30 -0700, Garrick Staples wrote:
> > > > CSA and USEJOBCREATE people... please test trunk!
> > > > 
> > > > $ svn co svn://svn.clusterresources.com/torque/trunk
> > > > 
> > > > My change is a bit complicated and I don't have access to the platforms to test
> > > > it!
> > > > 
> > > > Take a look at 'svn diff -r3821:3822 configure.ac'
> > > 
> > > I can confirm that it builds on my UV; testing it will have to wait till
> > > tomorrow.  I'll also see if I build it on one of our Cray XTs tomorrow,
> > > though getting a test shot on one of those will be problematic.
> > 
> > Ideal would be 3 build tests: defaults, --enable-csa, and --enable-job-create.
> > 
> > It should behave appriopriately in all 3 cases.
> 
> I've added additional checks for --enable-job-create. Please test with and without pam-devel installed.

Case #1:  CSA disabled, job-create unspecified, libcap-devel and
pam-devel installed -- builds, -DUSEJOBCREATE not used.

    ./configure --prefix=/opt/torque/svn \
                --disable-gcc-warnings \
                --with-server-home=/var/spool/torque \
                --with-default-server=nautilus.nics.utk.edu \
                --enable-cpuset \
                --enable-docs \
                --disable-shell-pipe --enable-shell-use-argv \
                --enable-acct-x \
		--disable-blcr \
		--disable-cpa \
		--disable-csa \
                --with-sched=no \
		--enable-server \
		--enable-mom \
		--enable-clients \
		--enable-drmaa \
                --x-libraries=/usr/X11R6/lib64

Case #2:  CSA enabled, job-create unspecified, libcap-devel and
pam-devel installed -- -DUSEJOBCREATE not used, build fails with compile
errors on src/resmom/prolog.c lines 127 and 435.

    ./configure --prefix=/opt/torque/svn \
                --disable-gcc-warnings \
                --with-server-home=/var/spool/torque \
                --with-default-server=nautilus.nics.utk.edu \
                --enable-cpuset \
                --enable-docs \
                --disable-shell-pipe --enable-shell-use-argv \
                --enable-acct-x \
		--disable-blcr \
		--disable-cpa \
		--enable-csa \
                --with-sched=no \
		--enable-server \
		--enable-mom \
		--enable-clients \
		--enable-drmaa \
                --x-libraries=/usr/X11R6/lib64

Case #3:  CSA disabled, job-create disabled, libcap-devel and pam-devel
installed -- builds, -DUSEJOBCREATE not used.

    ./configure --prefix=/opt/torque/svn \
                --disable-gcc-warnings \
                --with-server-home=/var/spool/torque \
                --with-default-server=nautilus.nics.utk.edu \
                --enable-cpuset \
                --enable-docs \
                --disable-shell-pipe --enable-shell-use-argv \
                --enable-acct-x \
		--disable-blcr \
		--disable-cpa \
		--disable-csa \
		--disable-job-create \
                --with-sched=no \
		--enable-server \
		--enable-mom \
		--enable-clients \
		--enable-drmaa \
                --x-libraries=/usr/X11R6/lib64

Case #4:  CSA disabled, job-create enabled, libcap-devel and pam-devel
installed -- configure fails with "error: cannot link with -ljob"

    ./configure --prefix=/opt/torque/svn \
                --disable-gcc-warnings \
                --with-server-home=/var/spool/torque \
                --with-default-server=nautilus.nics.utk.edu \
                --enable-cpuset \
                --enable-docs \
                --disable-shell-pipe --enable-shell-use-argv \
                --enable-acct-x \
		--disable-blcr \
		--disable-cpa \
		--disable-csa \
		--enable-job-create \
                --with-sched=no \
		--enable-server \
		--enable-mom \
		--enable-clients \
		--enable-drmaa \
                --x-libraries=/usr/X11R6/lib64

Case #5:  CSA enabled, job-create enabled, libcap-devel and pam-devel
installed -- configure fails with "error: cannot link with -ljob"

    ./configure --prefix=/opt/torque/svn \
                --disable-gcc-warnings \
                --with-server-home=/var/spool/torque \
                --with-default-server=nautilus.nics.utk.edu \
                --enable-cpuset \
                --enable-docs \
                --disable-shell-pipe --enable-shell-use-argv \
                --enable-acct-x \
		--disable-blcr \
		--disable-cpa \
		--enable-csa \
		--enable-job-create \
                --with-sched=no \
		--enable-server \
		--enable-mom \
		--enable-clients \
		--enable-drmaa \
                --x-libraries=/usr/X11R6/lib64

There's no point in testing with libcap-devel or pam-devel uninstalled
at this point, since it's going to fail exactly as cases 4 and 5 above.

	--Troy
-- 
Troy Baer, HPC System Administrator
National Institute for Computational Sciences, University of Tennessee
http://www.nics.tennessee.edu/
Phone:  865-241-4233
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://www.supercluster.org/pipermail/torquedev/attachments/20100709/ce9c77b1/attachment.bin 


More information about the torquedev mailing list