[MacPorts] #48169: openmpi @1.7.5 enforces flat namespace, causing problems with some applications

MacPorts noreply at macports.org
Thu Jun 25 02:37:54 PDT 2015


#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/PortingUnix/compiling/compiling.html#//apple_ref/doc/uid/TP40002850-BCIHJBBF
 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


More information about the macports-tickets mailing list