[MacPorts] #48169: openmpi @1.7.5 enforces flat namespace, causing problems with some applications
#48169: openmpi @1.7.5 enforces flat namespace, causing problems with some applications -------------------------------------+-------------------------------- Reporter: hans.ekkehard.plesser@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: openmpi -------------------------------------+-------------------------------- Per [118768], `configure.args` were extended to enforce a flat namespace when building OpenMPI. This was necessary to solve #42667 and #39826. Unfortunately, this causes problems for other applications which rely on two-level namespaces, e.g. when combining a C++ application using MPI with a Python interface. These problems disappear when [118768] is reversed. Since flat namespaces apparently are needed in some cases, and two-level namespaces in others, I think the openmpi port should have a variant that allows users to choose between flat and two-level namespaces. Unfortunately, the openmpi Portfile looks too intimidating for me to try to add such a variant. Since Apple deprecates flat namespaces ([https://developer.apple.com/library/mac/documentation/Porting/Conceptual/Por... Apple Developer Docs]) and many ports recently seem to have been transitioning to two-level namespaces, I would suggest to make two-level namespaces (i.e., pre-[11768] behavior) the default. -- Ticket URL: <https://trac.macports.org/ticket/48169> MacPorts <https://www.macports.org/> Ports system for OS X
#48169: openmpi @1.7.5 enforces flat namespace, causing problems with some applications --------------------------------------+-------------------- Reporter: hans.ekkehard.plesser@… | Owner: sean@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: openmpi | --------------------------------------+-------------------- Changes (by larryv@…): * owner: macports-tickets@… => sean@… * cc: sean@… (removed) Comment: We really //really// should not provide a variant for such an arcane detail. We should [[ticket:48168 |update to 1.8.6]] and then evaluate whether the flat namespace workaround is still necessary. -- Ticket URL: <https://trac.macports.org/ticket/48169#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#48169: openmpi @1.7.5 enforces flat namespace, causing problems with some applications --------------------------------------+-------------------- Reporter: hans.ekkehard.plesser@… | Owner: sean@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: openmpi | --------------------------------------+-------------------- Comment (by sean@…): Replying to [comment:1 larryv@…]:
We really //really// should not provide a variant for such an arcane detail. We should [[ticket:48168 |update to 1.8.6]] and then evaluate whether the flat namespace workaround is still necessary.
I doubt those original bugs will be fixed with an upgrade because they both are (seemingly) working around Fortran problems. I honestly don't know what to do since Apple is so anti-Fortran. To be fair, nobody should use Fortran but this is our current situation. -- Ticket URL: <https://trac.macports.org/ticket/48169#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#48169: openmpi @1.7.5 enforces flat namespace, causing problems with some applications --------------------------------------+-------------------- Reporter: hans.ekkehard.plesser@… | Owner: sean@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: openmpi | --------------------------------------+-------------------- Comment (by hans.ekkehard.plesser@…): Replying to [comment:2 sean@…]:
Replying to [comment:1 larryv@…]:
We really //really// should not provide a variant for such an arcane detail. We should [[ticket:48168 |update to 1.8.6]] and then evaluate whether the flat namespace workaround is still necessary.
I doubt those original bugs will be fixed with an upgrade because they both are (seemingly) working around Fortran problems. I honestly don't know what to do since Apple is so anti-Fortran. To be fair, nobody should use Fortran but this is our current situation.
Well, the current configuration with flat namespace breaks C++ applications using 1.7.5 and 1.8.6. We currently recommend MacPorts to users of our package ([http://www.nest-simulator.org NEST]), but unless the flat namespace problem is fixed, we will probably switch that to Homebrew, because they build OpenMPI without the `-flat-namespace` option (building from Homebrew is also non-trivial, but easier than Portfile- hacking for MacPorts). So I'd really appreciate it if you could find a solution for this problem in the near future. -- Ticket URL: <https://trac.macports.org/ticket/48169#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#48169: openmpi @1.7.5 enforces flat namespace, causing problems with some applications --------------------------------------+-------------------- Reporter: hans.ekkehard.plesser@… | Owner: sean@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: openmpi | --------------------------------------+-------------------- Comment (by sean@…): I'm still looking into this, fyi, just been swamped with work. -- Ticket URL: <https://trac.macports.org/ticket/48169#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#48169: openmpi @1.7.5 enforces flat namespace, causing problems with some applications --------------------------------------+-------------------- Reporter: hans.ekkehard.plesser@… | Owner: sean@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: Port: openmpi | --------------------------------------+-------------------- Changes (by sean@…): * status: new => closed * resolution: => fixed Comment: Fixed in r140086. Sorry for the delay! -- Ticket URL: <https://trac.macports.org/ticket/48169#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts