Yoinks! Yes, this is definitely a bug (and not compiler dependent).
It looks like we broke an abstraction barrier here, but Brian, the lamd
expert, is currently unavailable. Let me consult with him and get back
to you (may be early next week).
In the meantime, the workaround is not to use --with-trillium (this has
nothing to do with --with-boot-tm).
On Sep 10, 2005, at 7:01 AM, karl.hieber_at_[hidden] wrote:
>
> Dear lam developers,
>
> in version 7.1.2b23, 7.1.2b24 and 7.1.2b25, make stops with an error,
> if --trillium and --with-boot-tm=/opt/pbs are combined in configure.
> In versions 7.1.2b22, this combination did (and does) compile without
> any error.
> Besides ifort-8.1.029, I tried pgf90-5.1.6 and pgf90-6.0.5 (FC=pgf90),
> with the same result.
> In addition I tried to use the corresponding c-compilers,
> which did noch change anything.
>
> Many thanks for any help.
>
> ##### Some system infos:
>
> SuSE 9.2
> Linux fermi 2.6.8-24.17-default #1 Tue Jul 19 08:56:33 UTC 2005 i686
> athlon i386 GNU/Linux
> kernel-default-2.6.8-24.17
> glibc-2.3.3-118
> gcc-3.3.4-11
> ifort-8.1.029
> OpenPBS-2.3.16-604 # including additional patches
>
> ##### Build-part of rpm spec file:
>
> %build
> %define lambase /opt/lam
> %define lamhome
> %{lambase}/lam-7.1.2b25-gcc-3.3.4-ifort-8.1.029-ia32-AthlonXP
> export FC=ifort
> type ifort # 'ifort is /usr/local/ifort/ifort-8.1.029-ia32/bin/ifort'
> CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" ./configure \
> --prefix=%{lamhome} \
> --sysconfdir=/etc%{lambase} \
> --with-exceptions \
> --with-impi \
> --with-exceptions \
> --with-trillium \
> --with-fc=${FC} \
> -with-boot-tm=/opt/pbs \
> --mandir=%{lamhome}/man \
> --with-rsh="/usr/bin/ssh -x"
> make
>
> ##### End of make output:
>
> gcc -O2 -g -march=i586 -mcpu=i686 -fmessage-length=0
> -fno-strict-aliasing
> -fexceptions -pthread -fexceptions -o lamd_flatd flatd.o fl_mai
> n.o ../../../share/liblam/.libs/liblam.a -ldl -L/opt/pbs/lib -lpbs
> -lnsl
> -lutil
> make[3]: Leaving directory
> `/home/cmosch/rpm/BUILD/lam-7.1.2b25/otb/sys/flatd'
> Making all in haltd
> make[3]: Entering directory
> `/home/cmosch/rpm/BUILD/lam-7.1.2b25/otb/sys/haltd'
> if gcc -DHAVE_CONFIG_H -I. -I. -I../../../share/include
>
> -DLAM_BINDIR="\"/opt/lam/lam-7.1.2b25-gcc-3.3.4-ifort-8.1.029-ia32-
> AthlonXP/bin\""
>
> -I../../../share/include -DLAM_BUILDING=1 -O2 -g -march=i586
> -mcpu=i686
> -fmessage-length=0 -fno-strict-aliasing -fexceptions -pthread -MT
> haltd.o
> -MD -MP -MF ".deps/haltd.Tpo" -c -o haltd.o haltd.c; \
> then mv -f ".deps/haltd.Tpo" ".deps/haltd.Po"; else rm -f
> ".deps/haltd.Tpo"; exit 1; fi
> rm -f liblamdhalt.a
> ar cru liblamdhalt.a haltd.o
> ranlib liblamdhalt.a
> if gcc -DHAVE_CONFIG_H -I. -I. -I../../../share/include
>
> -DLAM_BINDIR="\"/opt/lam/lam-7.1.2b25-gcc-3.3.4-ifort-8.1.029-ia32-
> AthlonXP/bin\""
>
> -I../../../share/include -DLAM_BUILDING=1 -O2 -g -march=i586
> -mcpu=i686
> -fmessage-length=0 -fno-strict-aliasing -fexceptions -pthread -MT
> h_main.o -MD -MP -MF ".deps/h_main.Tpo" -c -o h_main.o h_main.c; \
> then mv -f ".deps/h_main.Tpo" ".deps/h_main.Po"; else rm -f
> ".deps/h_main.Tpo"; exit 1; fi
> /bin/sh ../../../libtool --tag=CC --mode=link gcc -O2 -g -march=i586
> -mcpu=i686 -fmessage-length=0 -fno-strict-aliasing -fexceptions
> -pthread
> -fexceptions -o lamd_haltd haltd.o
> h_main.o ../../../share/liblam/liblam.la -lutil
> mkdir .libs
> gcc -O2 -g -march=i586 -mcpu=i686 -fmessage-length=0
> -fno-strict-aliasing
> -fexceptions -pthread -fexceptions -o lamd_haltd haltd.o
> h_main.o ../../../share/liblam/.libs/liblam.a -ldl -L/opt/pbs/lib
> -lpbs
> -lnsl -lutil
> haltd.o(.text+0x146): In function `diediedie':
> /home/cmosch/rpm/BUILD/lam-7.1.2b25/otb/sys/haltd/haltd.c:235:
> undefined
> reference to `kpfind'
>
> haltd.o(.text+0x156):/home/cmosch/rpm/BUILD/lam-7.1.2b25/otb/sys/
> haltd/haltd.c:237:
>
> undefined reference to `knuke'
> collect2: ld returned 1 exit status
> make[3]: *** [lamd_haltd] Error 1
> make[3]: Leaving directory
> `/home/cmosch/rpm/BUILD/lam-7.1.2b25/otb/sys/haltd'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/home/cmosch/rpm/BUILD/lam-7.1.2b25/otb/sys'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/cmosch/rpm/BUILD/lam-7.1.2b25/otb'
> make: *** [all-recursive] Error 1
> error: Bad exit status from /home/cmosch/rpm/tmp/rpm-tmp.19142 (%build)
>
>
> RPM build errors:
> Bad exit status from /home/cmosch/rpm/tmp/rpm-tmp.19142 (%build)
> ########################
>
>
> --
> 5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail
> +++ GMX - die erste Adresse für Mail, Message, More +++
> _______________________________________________
> lam-devel mailing list
> lam-devel_at_[hidden]
> http://www.lam-mpi.org/mailman/listinfo.cgi/lam-devel
--
{+} Jeff Squyres
{+} The Open MPI Project
{+} http://www.open-mpi.org/
|