[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
libpath bug/problem when using mpcc on aix
From: |
Erik Lindahl |
Subject: |
libpath bug/problem when using mpcc on aix |
Date: |
Wed, 18 Jul 2001 14:09:37 +0200 |
Hi,
When linking with dynamic libraries on aix, libtool hardcodes
the library path with the -blibpath option to the linker.
This does not work with the MPI wrapper scripts mpcc/mpCC/mpf77;
the specified libpath variable overrides ALL directories given
with -L, including the ones added in the wrapper scripts. There
will thus be unresolved objects and the executables won't work.
One possible solution would to remove the libpath option and
use the environment variable LIBPATH instead, which does not
override the -L flags, i.e. change the link command to
$> LIBPATH=<installed libdirs>:$LIBPATH <the normal link command>
Any aix and/or libtool expert with an opinion on this?
Regards,
Erik Lindahl
- libpath bug/problem when using mpcc on aix,
Erik Lindahl <=