LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2005-03-04 09:01:12


You are absolutely correct, sir -- thanks for noticing!

This was a recent change to our call to AC_CHECK_LIB in order to handle
searching for libpbs in non-default locations.

The fix has been committed to SVN.

On Mar 4, 2005, at 7:21 AM, Nicolas Niclausse wrote:

>
> Hello,
>
> I tried to compile the last beta release of lam with tm support, but
> it fails:
>
> i use ./configure --with-boot-tm=/opt/torque, on a Rocks 3.3.0/x86_64
> distribution (dual Opteron).
>
> even if configure detects the torque include and libs files (in
> share/ssi/boot/tm), the generated makefiles are wrong: -lpbs is
> missing
>
> checking tm.h usability... yes
> checking tm.h presence... yes
> checking for tm.h... yes
> checking for main in -lsocket... no
> checking for main in -lnsl... yes
> checking for tm_init in -lpbs... yes
>
> but in share/ssi/boot/tm/Makefile :
>
> LIBS = -lnsl
>
> I think that the problem comes from:
>
> AC_CHECK_LIB(pbs, tm_init, HAPPY=1, HAPPY=0)
>
> the third argument override the default action of AC_CHECK_LIB (append
> -lpbs to LIBS)
>
> I applied to following patch, and the configure generated by autoconf
> is now setting LIBS correctly:
>
> --- share/ssi/boot/tm/configure.stub.orig 2005-03-04
> 10:31:06.054291812 +0100
> +++ share/ssi/boot/tm/configure.stub 2005-03-04 10:29:27.388431758
> +0100
> @@ -67,6 +67,8 @@
>
> if test "$HAPPY" = "0"; then
> AC_MSG_ERROR([*** Cannot find working libpbs.])
> +else
> + LIBS="-lpbs $LIBS"
> fi
>
> #
>
> --
> Nicolas NICLAUSSE Service DREAM
> INRIA Sophia Antipolis http://www-sop.inria.fr/
>
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>

-- 
{+} Jeff Squyres
{+} jsquyres_at_[hidden]
{+} http://www.lam-mpi.org/