[MPICH] mpich2 1.0.3 build problem

Andreas Beham andreas.beham at aon.at
Wed Jan 11 04:23:24 CST 2006


Hi list,

I've got problems trying to build mpich2 1.0.3 on a Debian 3.1 system. 
The only configure options I used was "--enable-cxx"

This is what make tells me:
<<snip>>
make[1]: Leaving directory `/usr/local/src/mpich2-1.0.3/src'
make[1]: Entering directory `/usr/local/src/mpich2-1.0.3/examples'
../bin/mpicc  -I../src/include -I../src/include   -c cpi.c
../bin/mpicc  -L../lib -o cpi cpi.o  -lm -lmpich        -lpthread  -lrt 
          -lpthread  -lrt
../lib/libmpich.a(reduce.o)(.text+0xe2): In function `MPIR_Reduce':
: undefined reference to `MPIR_Op_table'
../lib/libmpich.a(reduce.o)(.text+0x13b): In function `MPIR_Reduce':
: undefined reference to `MPID_Op_builtin'
../lib/libmpich.a(reduce.o)(.text+0x161): In function `MPIR_Reduce':
: undefined reference to `MPID_Op_direct'
../lib/libmpich.a(reduce.o)(.text+0x173): In function `MPIR_Reduce':
: undefined reference to `MPID_Op_mem'
../lib/libmpich.a(reduce.o)(.text+0x2f11): In function `PMPI_Reduce':
: undefined reference to `MPID_Op_builtin'
../lib/libmpich.a(reduce.o)(.text+0x2f34): In function `PMPI_Reduce':
: undefined reference to `MPID_Op_direct'
../lib/libmpich.a(reduce.o)(.text+0x2f43): In function `PMPI_Reduce':
: undefined reference to `MPID_Op_mem'
../lib/libmpich.a(reduce.o)(.text+0x2fe8): In function `PMPI_Reduce':
: undefined reference to `MPIR_Op_check_dtype_table'
../lib/libmpich.a(commutil.o)(.text+0x40a): In function 
`MPIR_Get_contextid':
: undefined reference to `PMPI_Allreduce'
../lib/libmpich.a(ch3u_handle_recv_req.o)(.text+0x1a5b): In function 
`do_accumulate_op':
: undefined reference to `MPIR_Op_table'
../lib/libmpich.a(ch3u_handle_recv_req.o)(.text+0x2316): In function 
`do_simple_accumulate':
: undefined reference to `MPIR_Op_table'
../lib/libmpich.a(ch3u_port.o)(.text+0x91f): In function 
`MPIDI_Comm_connect':
: undefined reference to `MPIR_Barrier'
../lib/libmpich.a(ch3u_port.o)(.text+0x1f4c): In function 
`MPIDI_Comm_accept':
: undefined reference to `MPIR_Barrier'
../lib/libmpich.a(ch3u_port.o)(.text+0x23a4): In function 
`SetupNewIntercomm':
: undefined reference to `MPIR_Barrier'
../lib/libmpich.a(mpid_vc.o)(.text+0x928): In function 
`MPID_PG_ForwardPGInfo':
: undefined reference to `PMPI_Allreduce'
collect2: ld returned 1 exit status
make[1]: *** [cpi] Error 1
make[1]: Leaving directory `/usr/local/src/mpich2-1.0.3/examples'
make: *** [all-redirect] Error 2


The gcc I use:
Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.5/specs
Configured with: ../src/configure -v 
--enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr 
--mandir=/usr/share/man --infodir=/usr/share/info 
--with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared 
--enable-__cxa_atexit --with-system-zlib --enable-nls 
--without-included-gettext --enable-clocale=gnu --enable-debug 
--enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i486-linux
Thread model: posix
gcc version 3.3.5 (Debian 1:3.3.5-13)

Kernel:
Linux host 2.6.12.3 #5 SMP Thu Sep 1 15:56:21 CEST 2005 i686 GNU/Linux

On my Windows machine mpich2 compiled well under Cygwin.
I'd appreciate any info on how to successfully compile it on Debian.

TIA,
Andreas Beham




More information about the mpich-discuss mailing list