LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Kalle Happonen (kalle.happonen_at_[hidden])
Date: 2005-06-09 04:40:04


  Hello,

I am administering a cluster that runs Debian (using debian FAI), LAM
and Torque (pbs) among other things.

This might be more of a debian than lam problem but I'm not sure.

Lam works ok directly from the debian package, but I would like to
compile in the tm module to get better interconnectivity with Torque.
If I download the source and build it myself it works, but I would
prefer to get it as a debian package. I have no objections against
building it myself from the source debian package but I have run into
some problems.

I have made a few hacks in the debian/rules file, primarily adding flags
to configure.

LAM seems to configure and build fine, but I get problems later on in
the rules script when it tries to relink the lam* executables. This does
not occur unless I configure lam with tm, still configure seems to work ok:

configure: /bin/sh './configure' succeeded for share/ssi/boot/tm
configure: Post-module top-level processing
checking for libtool-supplied linker flags... -lpbs -lnsl
configure: +++ SSI module boot:tm compile: yes
configure: +++ SSI module boot:tm mode: static

I get this error message (also for other tm_functions)

i386-linux-gcc -O3 -fPIC -o
/home/kalle/build/lam-7.1.1/debian/tmp/usr/bin/lamgrow lamgrow.o
-pthread -L/home/kalle/build/lam-7.1.1/debian/tmp/usr/lib
/home/kalle/build/lam-7.1.1/debian/tmp/usr/lib/liblam.a
../../share/libltdl/.libs/libltdlc.a -ldl -lutil
/home/kalle/build/lam-7.1.1/debian/tmp/usr/lib/liblam.a(ssi_boot_tm.o)(.text+0xbf):
In function `lam_ssi_boot_tm_init':
: undefined reference to `tm_init'

The relink function around line 210 in the debian/rules script seems to
generate this error. Has anyone had similar errors with building lam
from a debian source pakcage, or ideas how to fix it?

Thank you,
Kalle Happonen