[MPICH] multiple definitions of MPID_Recvq_posted_head_ptr
Matthias Pfeifer
pfeifer at rz.rwth-aachen.de
Fri Nov 17 06:24:52 CST 2006
hello,
i am trying to compile mpich2-1.0.4p1 with nemesis using up to date
gnu compilers. however i get problems using the resulting library.
when i try to linke against it i get:
make[1]: Entering directory
`/rwthfs/rz/cluster/work/mp598358/mpich2-1.0.4p1/test/mpi'
make[2]: Entering directory
`/rwthfs/rz/cluster/work/mp598358/mpich2-1.0.4p1/test/mpi/util'
/rwthfs/rz/SW/MPI/mpich2-1.0.4p1/linux_64/GNU/nemesis//bin/mpicc
-DHAVE_CONFIG_H -I. -I. -I../../../src/include -I../src/include
-I../include -I./../include -m64 -mtune=opteron -c mtest.c
make[2]: Leaving directory
`/rwthfs/rz/cluster/work/mp598358/mpich2-1.0.4p1/test/mpi/util'
make[2]: Entering directory
`/rwthfs/rz/cluster/work/mp598358/mpich2-1.0.4p1/test/mpi/attr'
/rwthfs/rz/SW/MPI/mpich2-1.0.4p1/linux_64/GNU/nemesis//bin/mpicc
-DHAVE_CONFIG_H -I. -I. -I../include -I./../include -m64
-mtune=opteron -c attrt.c
/rwthfs/rz/SW/MPI/mpich2-1.0.4p1/linux_64/GNU/nemesis//bin/mpicc -m64
-mtune=opteron ../util/mtest.o -o attrt attrt.o
/rwthfs/rz/SW/MPI/mpich2-1.0.4p1/linux_64/GNU/nemesis//lib/libmpich.a(ch3u_recvq.o)(.rodata+0x0):
multiple definition of `MPID_Recvq_posted_head_ptr'
/rwthfs/rz/SW/MPI/mpich2-1.0.4p1/linux_64/GNU/nemesis//lib/libmpich.a(ch3_progress.o)(.rodata+0x0):
first defined here
/rwthfs/rz/SW/MPI/mpich2-1.0.4p1/linux_64/GNU/nemesis//lib/libmpich.a(ch3u_recvq.o)(.rodata+0x8):
multiple definition of `MPID_Recvq_unexpected_head_ptr'
/rwthfs/rz/SW/MPI/mpich2-1.0.4p1/linux_64/GNU/nemesis//lib/libmpich.a(ch3_progress.o)(.rodata+0x8):
first defined here
collect2: ld returned 1 exit status
make[2]: *** [attrt] Error 1
make[2]: Leaving directory
`/rwthfs/rz/cluster/work/mp598358/mpich2-1.0.4p1/test/mpi/attr'
make[1]: *** [all-redirect] Error 2
make[1]: Leaving directory
`/rwthfs/rz/cluster/work/mp598358/mpich2-1.0.4p1/test/mpi'
make: *** [all-redirect] Error 2
i didnt find anything in the faqs or with google... since the setup
(gcc compilers with pmich2-1.0.4p1) is not so obscure it might be me
who is misbehaving?! However i guess i dont see anything unusual
during the build process.. i configure with
'--enable-f77 --enable-f90 --enable-cxx --enable-debuginfo
--enable-romio --with-python=python --enable-totalview'
and thats it basically.. (make, make install)
Matthias Pfeifer
More information about the mpich-discuss
mailing list