Hi Markus, Thanks for reporting. This indeed looks broken to me. I've created a ticket to fix this before the next release. http://trac.mpich.org/projects/mpich/ticket/2208 Ken On 12/03/2014 11:05 AM, Markus Geimer wrote:
Dear MPICH developers,
I noticed that the installed '.la' files for MPICH's libraries include two linker path ('-L') specifications in the 'dependency_libs' line referring to the directory where MPICH was built:
dependency_libs=' -L<builddir>/src/mpl -L<builddir>/src/openpa/src \ -lrt -lpthread'
In the past, I ran into link failures with specifying non-existent directories when using the gold linker, though I'm currently not able to reproduce this with a minimal example. In any case, pointing to the build directory in an '.la' file generally seems like a bad idea.
As a fix, I propose to only add the '-L' entries to 'external_ldflags' (Makefile.am, line 51) if external MPL and/or OpenPA libraries are used. Using the internal copies is already taken care of by adding the corresponding local '.la' files to 'pmpi_convenience_libs'.
Thanks, Markus
_______________________________________________ discuss mailing list [email protected] To manage subscription options or unsubscribe: https://lists.mpich.org/mailman/listinfo/discuss
_______________________________________________ discuss mailing list [email protected] To manage subscription options or unsubscribe: https://lists.mpich.org/mailman/listinfo/discuss