LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Tim Prince (tprince_at_[hidden])
Date: 2005-06-20 13:49:00


Ralf Wildenhues wrote:

>
>The first issue is that, while linking, -fpic (-fPIC is an alias)
>chooses the shared libraries from the libso/ directory over the static,
>non-PIC ones from the lib/ directory (all below $PGI installation dir).
>This might be regarded as poor design rather than an outright bug.
>One interesting symptom is a C++ runtime failure:
>
>... Or adding -fPIC to the link line, which I have put in Libtool.
>
>
My colleagues recommend use of -fPIC for lam-mpi builds with
--enable-shared, regardless of compiler brand.