Re: problem with openmpi-1.8.4

Jack Howarth <[email protected]>
Newsgroups gmane.os.apple.fink.devel
Message-ID <CAP5Ds0DSFMuSwUysk547cbbCPUfJcnfKwU46ci4HgD_KC8EGdg@mail.gmail.com>
I can confirm that the testcase cited is fixed with the
-flat_namespace linkage used in 1.8.4...

1.8.3 linked with -Wl,-commons,use_dylibs

% /sw/bin/mpif90 testmpi.f90
% mpirun -np 3 ./a.out
           0   10.000000000000000
           1  -300.00000000000000
           2  -150.00000000000000
           1 ---   0.0000000000000000
           2 ---   0.0000000000000000
           0 ---   0.0000000000000000

1.8.4 linked with -Wl,-flat_namespace

% /sw/bin/mpif90 testmpi.f90
% mpirun -np 3 ./a.out
           2  -150.00000000000000
           1  -300.00000000000000
           0   10.000000000000000
           2 ---  -300.00000000000000
           0 ---  -300.00000000000000
           1 ---  -300.00000000000000

Perhaps could add field for allowing flat_namespace shared libraries
that defaults to false. I do know of one other case that exists in
MacPorts but not fink. Their xorg-libXt package reveals that libXt has
forced -flat_namespace to work around overlapping symbols in motif
since 2003...

http://lists.apple.com/archives/x11-users/2003/Mar/msg00210.html

So, while rare, there may be cases where the shared library check on
-flat_namespace has to be be loosened.

On Sat, Dec 20, 2014 at 3:04 PM, Jack Howarth <[email protected]> wrote:
>    Upstream openmpi has decided that the fortran support openmpi
> shared libs must be linked with -flat_namespace.
>
> https://github.com/open-mpi/ompi/issues/259
>
> and resorted to the change...
>
> https://github.com/jsquyres/ompi/commit/a2444cc684a4e39ba3001e5ebb3cbbcfa3e54fbf
>
> which of course will break our current fink validation on shared libs.
> I will ping the darwin linker developer to see if he has any comments
> on whether this is a corner case that absolutely requires the use of
> -flat_namespace or they are missing an alternative fix for this issue.
>     If this is required, we will need some way to loosen the
> validation to allow for this linkage in openmpi 1.8.4.
>         Jack

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.