[mpich-discuss] In function `MPIR_Waitall_impl': waitall.c:(.text+0x644): undefined reference to `MPI_Testall'

Wesley Bland wbland at anl.gov
Thu Jan 15 10:12:34 CST 2015


I'll take a look. It might have come from one of my recent commits.

On Wed, Jan 14, 2015 at 10:09 PM, Jeff Hammond <jeff.science at gmail.com>
wrote:

> I see the following issue with the latest git master on CentOS 6.6
> with GCC 4.9.  Surely I will be accused of overzealous option
> disabling in the name of premature optimization, but I still think
> that this should work
>
> Thanks,
>
> Jeff
>
>   GEN      lib/libpmpi.la
>   GEN      lib/libmpi.la
>   CCLD     src/env/mpichversion
>   GEN      lib/libmpifort.la
>   CCLD     src/env/mpivars
>
> /home/jrhammon/Work/MPI/MPICH/git/build/lib/.libs/libpmpi.a(lib_libpmpi_la-waitall.o):
> In function `MPIR_Waitall_impl':
> waitall.c:(.text+0x644): undefined reference to `MPI_Testall'
> collect2: error: ld returned 1 exit status
> make[2]: *** [src/env/mpivars] Error 1
> make[2]: *** Waiting for unfinished jobs....
> make[2]: Leaving directory `/home/jrhammon/Work/MPI/MPICH/mpich/build'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/home/jrhammon/Work/MPI/MPICH/mpich/build'
> make: *** [install] Error 2
>
> [jrhammon at esgmonster build]$ ../configure CC=gcc CXX=g++ FC=gfortran
> --disable-cxx --enable-fortran --with-pm=hydra
> --prefix=/opt/mpich/dev/gcc/fast --enable-static
> --enable-fast=O3,nochkmsg,notiming,ndebug,nompit
> --disable-weak-symbols --enable-threads=funneled && make -j36 install
>
> [jrhammon at esgmonster build]$ uname -a
> Linux esgmonster 2.6.32-504.3.3.el6.centos.plus.x86_64 #1 SMP Wed Dec
> 17 01:21:03 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
>
> [jrhammon at esgmonster build]$ gcc -v
> Using built-in specs.
> COLLECT_GCC=gcc
>
> COLLECT_LTO_WRAPPER=/opt/gcc/4.9.2/libexec/gcc/x86_64-unknown-linux-gnu/4.9.2/lto-wrapper
> Target: x86_64-unknown-linux-gnu
> Configured with: /home/jrhammon/Work/GCC/gcc-4.9.2/configure
> --disable-multilib --enable-threads=posix --enable-checking=release
> --enable-__cxa_atexit --enable-languages=c,c++,fortran
> --with-tune=native --enable-bootstrap --enable-lto
> --prefix=/opt/gcc/4.9.2 --with-isl --with-cloog
> Thread model: posix
> gcc version 4.9.2 (GCC)
>
> --
> Jeff Hammond
> jeff.science at gmail.com
> http://jeffhammond.github.io/
> _______________________________________________
> discuss mailing list     discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20150115/472009fa/attachment.html>
-------------- next part --------------
_______________________________________________
discuss mailing list     discuss at mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss


More information about the discuss mailing list