[mpich-discuss] Make testing--Failed to build threads

Dave Goodell goodell at mcs.anl.gov
Fri Nov 2 11:02:32 CDT 2012


Are you actually trying to build the threading *tests*?  This code isn't needed to get a working MPI installation…

Otherwise, it looks like your pthreads implementation may not support the pthread_barrier_t type, or perhaps it incompletely supports it in a way that is confusing the configure script (I think we have a fallback for platforms lacking a native pthread barrier).  What platform is this?

-Dave

On Nov 1, 2012, at 9:48 PM CDT, liuhaoyan wrote:

> Hi,
> I have tried some versions of mpich2. Each time when I make testing, I get Errors like this:
>  
> Failed to build threads; make[3]: Entering directory `/home/hyliu/software/mpich2/mpich2-1.4/test/mpi/threads/pt2pt'
>   CC              threads.c
> (cd ../util && make mtestthread.o)
> make[4]: Entering directory `/home/hyliu/software/mpich2/mpich2-1.4/test/mpi/threads/util'
>   CC              mtestthread.c
> PGC-S-0040-Illegal use of symbol, pthread_barrier_t (mtestthread.c: 185)
> PGC-W-0156-Type not specified, 'int' assumed (mtestthread.c: 185)
> PGC/x86-64 Linux 10.6-0: compilation completed with severe errors
> make[4]: *** [mtestthread.o] Error 2
> make[4]: Leaving directory `/home/hyliu/software/mpich2/mpich2-1.4/test/mpi/threads/util'
> make[3]: *** [../util/mtestthread.o] Error 2
> make[3]: Leaving directory `/home/hyliu/software/mpich2/mpich2-1.4/test/mpi/threads/pt2pt'
>  
> My environment variables:
>  CC="pgcc"
>  CXX="pgCC"
>  FC="pgf77"
>  F90="pgf90"
>  CPP="pgCC -E"
>  CFLAGS="-mcmodel=medium"
>  FFLAGS="-mcmodel=medium"
>  
> Thank you very much for your attention and help.
> Haoyan.
> 
> _______________________________________________
> mpich-discuss mailing list     mpich-discuss at mcs.anl.gov
> To manage subscription options or unsubscribe:
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss



More information about the mpich-discuss mailing list