LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: sean dettrick (sdettrick_at_[hidden])
Date: 2004-12-14 19:49:39


Hi,

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 have PBSPro 5.4.1, and it is in /usr/local/pbs.
I tried this:

CXX=g++
CC=gcc
CFLAGS=-O3
CXXFLAGS=-O3
export CXX CC CXXFLAGS CFLAGS
../lam-7.1.1/configure --prefix=/usr/local/mpi_lam_gnu_pbs \
   --with-rpi=usysv \
   --with-trillium \
   --with-rsh="ssh -x -c blowfish" \
   --with-rpi-tcp-short=131072 \
   --with-boot=tm \
   --with-boot-tm=/usr/local/pbs \
   --without-fc

The relevant config output is (full SSI boot tm confi output is attached
later):

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... no
checking for tm_init in -lpbs... no
configure: error: *** Cannot find working libpbs.
configure: /bin/sh '../../../../../lam-7.1.1/share/ssi/boot/tm/configure'
*failed* for share/ssi/boot/tm
configure: --- SSI module boot:tm compile: no
configure: WARNING: SSI module "tm" failed to configure properly
configure: WARNING: This module was selected as the default
configure: error: Cannot continue

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?

I have also tried --with-boot-tm=/usr/local, but then it stops finding tm.h.
Out of desperation have also tried to export LDPATH=/usr/local/pbs/lib
before configure.

Other info:

osx> locate tm.h | grep "/tm.h"
/usr/local/pbs/include/tm.h
osx> locate libpbs.a
/usr/local/pbs/lib/libpbs.a
osx> ar -t /usr/local/pbs/lib/libpbs.a | grep tm
tm.o

Does anybody have PBS working on OSX with LAM7.1.1?

Thanks
Sean Dettrick

tm part of the configure output:
(I can email the full (42kByte) output if anyone is interested)
---------------------------------------

configure: +++ SSI module boot:slurm compile: yes
configure: +++ SSI module boot:slurm mode: static

configure: LAM configuring in share/ssi/boot/tm
configure: running /bin/sh
'../../../../../lam-7.1.1/share/ssi/boot/tm/configure'
'--prefix=/usr/local/mpi_lam_gnu_pbs' '--with-rpi=usysv' '--with-trillium'
'--with-rsh=ssh -x -c blowfish' '--with-rpi-tcp-short=131072'
'--with-boot=tm' '--with-boot-tm=/usr/local/pbs' '--without-fc' 'CC=gcc'
'CFLAGS=-O3' 'CXXFLAGS=-O3' 'CXX=g++' 'FC=xlf' 'FFLAGS=-O3'
--cache-file=/dev/null --srcdir=../../../../../lam-7.1.1/share/ssi/boot/tm

============================================================================
== Configuring SSI boot tm module version 1.1
============================================================================

*** Initialization, setup
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking build system type... powerpc-apple-darwin7.5.0
checking host system type... powerpc-apple-darwin7.5.0
installing to directory "/usr/local/mpi_lam_gnu_pbs"
checking if want the tm boot to be the default... yes
checking if want module to be run-time loadable... no

*** C compiler and preprocessor
checking if want debugging output support... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking whether gcc needs -traditional... no
checking for AIX... no
checking if need special C compiler/linker flags... none needed
checking for C optimization flags... -O3

*** SSI boot tm-specific setup
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
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... no
checking for tm_init in -lpbs... no
configure: error: *** Cannot find working libpbs.

configure: /bin/sh '../../../../../lam-7.1.1/share/ssi/boot/tm/configure'
*failed* for share/ssi/boot/tm
configure: --- SSI module boot:tm compile: no

configure: WARNING: SSI module "tm" failed to configure properly
configure: WARNING: This module was selected as the default
configure: error: Cannot continue