LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Ricky Tang (shtang_at_[hidden])
Date: 2005-02-18 03:22:37


On Fri, 2005-02-18 at 07:59 +0100, Reuti wrote:
> Hi,
>
> can you try a ./configure like:
>
> ./configure --prefix=/home/.../local/lam-7.1.1 --with-boot=tm
> --with-boot-tm=/usr/torque/lib64

Not work :(
configure:4668: error: *** Cannot find working tm.h
Seems it look must look at $TMDIR/include.

>
> or a symbolic link in /usr/torque may help.

The torque package manager don't allow me to do that. Besides there may be
i386 compatibility files installed at /usr/torque/lib. But we have to link
to /usr/torque/lib64.

I think the attached "--with-boot-tm-lib" patch is necessary for similar
"lib64" setup. (string replace lib to lib64 is dirty hack...)
Although I have some problem in automake to make it work.... may I ask
you to check and merge it if OK?

>
> Cheers - Reuti
>
> Quoting Ricky Tang Siu Hong <shtang_at_[hidden]>:
>
> > Hello,
> >
> > May I request to add a switch to configure script of ssi/boot/tm module?
> >
> > On our x86_64 installation we put tm library in somewhere like
> > /usr/torque/lib64, but the LAM only searchs at /usr/torque/lib.
> >
> > Changes as below (Against lam-7.2b1r10059)
> >
> > Thanks very much.
> >
> >
> >
> > --- share/ssi/boot/tm.orig/configure.stub 2005-02-17
> > 15:00:49.000000000 +0800
> > +++ share/ssi/boot/tm/configure.stub 2005-02-17 20:22:34.000000000
> > +0800
> > @@ -30,6 +30,10 @@
> > AC_HELP_STRING([--with-boot-tm=DIR],
> > [directory where the tm software was
> > installed]),
> > [TMDIR=$withval])
> > +AC_ARG_WITH(boot-tm-lib,
> > + AC_HELP_STRING([--with-boot-tm-lib=DIR],
> > + [directory where the tm software was
> > installed]),
> > + [TMLIBDIR=$withval])
> >
> > #
> > # Need to find tm.h - note that we don't care about CPPFLAGS being
> > reset
> > @@ -53,7 +57,9 @@
> > #
> > # need to find libpbs
> > #
> > -if test ! -z "$TMDIR"; then
> > +if test ! -z "$TMLIBDIR"; then
> > + LDFLAGS="$LDFLAGS -L$TMLIBDIR"
> > +elif test ! -z "$TMDIR"; then
> > LDFLAGS="$LDFLAGS -L$TMDIR/lib"
> > fi
> >
> >
> >
> > --
> > Ricky Tang
> > Cluster Technology Limited
> > shtang_at_[hidden]
> >
> > _______________________________________________
> > This list is archived at http://www.lam-mpi.org/MailArchives/lam/
> >
>
>
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/

-- 
Ricky Tang
Cluster Technology Limited
shtang_at_[hidden]