[MPICH] problems with MPICH2 on a 64 bit platform

Anthony Chan chan at mcs.anl.gov
Mon Jul 30 17:39:27 CDT 2007



On Mon, 30 Jul 2007, Anthony Chan wrote:

> > /usr/local/lib/libmpich.a(allreduce.o): In function `MPIR_Allreduce_inter':
> > allreduce.c:(.text+0x1ce): undefined reference to `pthread_getspecific'
> > allreduce.c:(.text+0x1fe): undefined reference to `pthread_setspecific'
> > /usr/local/lib/libmpich.a(allreduce.o): In function `MPIR_Allreduce':
> > allreduce.c:(.text+0x54c): undefined reference to `pthread_getspecific'
> > allreduce.c:(.text+0x57c): undefined reference to `pthread_setspecific'
> >

Try adding -lpthread to your link command.




More information about the mpich-discuss mailing list