LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Ricky Tang Siu Hong (shtang_at_[hidden])
Date: 2005-02-17 23:37:07


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]