On Wed, 15 Dec 2004, sean dettrick wrote:
> I'm having trouble getting the LAM7.1.1 configure script to find the PBS
> library on OSX.
> I have tried it with the gnu compilers and the IBM xl compilers, and get the
> same error.
> (I also tried with LAM7.1.2b11, with the same error).
> I already have LAM working well *without* PBS, using both IBM and gnu
> compilers.
We don't have any OS X machines with PBS installed, so we have not tried
that combination. However, there is no reason that I know of that it
*shouldn't* work, so if you don't mind doing a bit of testing, I'm sure we
can bend PBS to our will (at least on this point).
> checking for tm_init in -lpbs... no
> configure: error: *** Cannot find working libpbs.
>
> Obviously it is finding /usr/local/pbs/include/tm.h.
> Does the error mean that it can't find /usr/local/pbs/lib/libpbs.a ? Why
> not?
It means it can't find the function tm_init() when it compiles and links a
small test program, adding a -lpbs at the end of the link. We add the
-L/usr/local/pbs/lib in there as well. So it really should be finding it
(since, as you pointed out in your e-mail, libpbs.a does exist). So, the
why not. Unfortunately, there isn't enough information in your e-mail for
me to answer that one. Can you send me the tm config.log file? It is
located in [top source dir]/share/ssi/boot/tm/config.log.
config.log detailed output about what the configure script was doing, and
should give the actual error message generated when configure attempted to
to link the last test program.
Thanks!
Brian
--
Brian Barrett
LAM/MPI developer and all around nice guy
Have a LAM/MPI day: http://www.lam-mpi.org/
|