[mpich-discuss] mpich2-1.3 and mpe2-1.3 tests fail with undefined references
Justin Bronder
jsbronder at gmail.com
Fri Nov 12 15:29:40 CST 2010
I'm trying to run the testsuite for the distributed mpe2-1.3.0 with
mpich2-1.3 and getting undefined reference errors when compiling some of the
X related tests. See below for the failing tests and the manner in which
I've configured both mpe2 and mpich2.
Thanks in advance for any tips.
Running build runtest for C graphics program...
*** Test C program with the MPI animation library ........................ No.
The failed command is :
/usr/lib64/mpi/mpi-mpich2/usr/bin/mpicc -I/var/tmp/portage/mpi-mpich2/mpe2-1.3.0/work/mpe2-1.3.0/include -c cpi.c
/var/tmp/portage/mpi-mpich2/mpe2-1.3.0/work/mpe2-1.3.0/bin/mpecc -mpianim -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o cpi_anim cpi.o -lm
/var/tmp/portage/mpi-mpich2/mpe2-1.3.0/work/mpe2-1.3.0/lib/libampe.a(visual_mess.po): In function `MPI_Init':
visual_mess.c:(.text+0x1623): undefined reference to `sincos'
/var/tmp/portage/mpi-mpich2/mpe2-1.3.0/work/mpe2-1.3.0/lib/libmpe.a(xcolor.po): In function `XBSetCmapHue':
xcolor.c:(.text+0x803): undefined reference to `pow'
xcolor.c:(.text+0x810): undefined reference to `trunc'
xcolor.c:(.text+0x834): undefined reference to `pow'
xcolor.c:(.text+0x841): undefined reference to `trunc'
xcolor.c:(.text+0x866): undefined reference to `pow'
xcolor.c:(.text+0x873): undefined reference to `trunc'
collect2: ld returned 1 exit status
make[2]: *** [cpi_anim] Error 1
*** Test C program with the X11 graphics library ......................... No.
The failed command is :
/usr/lib64/mpi/mpi-mpich2/usr/bin/mpicc -I/var/tmp/portage/mpi-mpich2/mpe2-1.3.0/work/mpe2-1.3.0/include -c cxgraphics.c
/var/tmp/portage/mpi-mpich2/mpe2-1.3.0/work/mpe2-1.3.0/bin/mpecc -graphics -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o cxgraphics cxgraphics.o -lm
/var/tmp/portage/mpi-mpich2/mpe2-1.3.0/work/mpe2-1.3.0/lib/libmpe.a(xcolor.po): In function `XBSetCmapHue':
xcolor.c:(.text+0x803): undefined reference to `pow'
xcolor.c:(.text+0x810): undefined reference to `trunc'
xcolor.c:(.text+0x834): undefined reference to `pow'
xcolor.c:(.text+0x841): undefined reference to `trunc'
xcolor.c:(.text+0x866): undefined reference to `pow'
xcolor.c:(.text+0x873): undefined reference to `trunc'
collect2: ld returned 1 exit status
make[2]: *** [cxgraphics] Error 1
$ mpich2version
MPICH2 Version: 1.3
MPICH2 Release date: Fri Oct 22 14:50:07 CDT 2010
MPICH2 Device: ch3:nemesis
MPICH2 configure: --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64/mpi/mpi-mpich2/usr/lib64 --prefix=/usr/lib64/mpi/mpi-mpich2/usr --mandir=/usr/lib64/mpi/mpi-mpich2/usr/share/man --infodir=/usr/lib64/mpi/mpi-mpich2/usr/share/info --datadir=/usr/lib64/mpi/mpi-mpich2/usr/share --sysconfdir=/etc/mpi-mpich2 --localstatedir=/var/lib/mpi-mpich2 --enable-shared --enable-sharedlibs=gcc --enable-g=all --enable-debuginfo --with-thread-package=pthreads --enable-threads=default --enable-f77 --enable-fc --docdir=/usr/lib64/mpi/mpi-mpich2//usr/share/doc/mpich2-1.3 --with-pm=hydra --disable-mpe --with-hwloc-prefix=/usr --enable-romio --enable-cxx
MPICH2 CC: x86_64-pc-linux-gnu-gcc -march=core2 -O2 -pipe -msse4.1 -g -O2
MPICH2 CXX: x86_64-pc-linux-gnu-g++ -march=core2 -O2 -pipe -msse4.1 -g -O2
MPICH2 F77: x86_64-pc-linux-gnu-gfortran -g -O2
MPICH2 FC: x86_64-pc-linux-gnu-gfortran -g -O2
mpe2-1.3.0 is being configured with:
Configuring MPE Profiling System with '--prefix=/usr' '--build=x86_64-pc-linux-gnu' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--libdir=/usr/lib64/mpi/mpi-mpich2/usr/lib64' '--prefix=/usr/lib64/mpi/mpi-mpich2/usr' '--mandir=/usr/lib64/mpi/mpi-mpich2/usr/share/man' '--infodir=/usr/lib64/mpi/mpi-mpich2/usr/share/info' '--datadir=/usr/lib64/mpi/mpi-mpich2/usr/share' '--sysconfdir=/etc/mpi-mpich2' '--localstatedir=/var/lib/mpi-mpich2' '--with-mpicc=/usr/lib64/mpi/mpi-mpich2/usr/bin/mpicc' '--with-mpif77=/usr/lib64/mpi/mpi-mpich2/usr/bin/mpif77' '--with-java2=/opt/sun-jdk-1.6.0.22' '--sysconfdir=/etc/mpi-mpich2/mpe2' '--with-htmldir=/usr/lib64/mpi/mpi-mpich2/usr/share/mpe2' '--with-docdir=/usr/lib64/mpi/mpi-mpich2/usr/share/mpe2' '--enable-collchk' '--enable-wrappers' '--enable-logging' '--enable-slog2=build' '--enable-graphics' '--disable-threadlogging' '--disable-g' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CC=/usr/lib64/mpi/mpi-mpich2/usr/bin/mpicc' 'CFLAGS=-march=core2 -O2 -pipe -msse4.1' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu' 'F77=/usr/lib64/mpi/mpi-mpich2/usr/bin/mpif77'
--
Justin Bronder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20101112/8a87139a/attachment.pgp>
More information about the mpich-discuss
mailing list