[MacPorts] #17243: make openmpi compiler wrappers use currenly selected compiler
#17243: make openmpi compiler wrappers use currenly selected compiler --------------------------------+------------------------------------------- Reporter: mmoll@macports.org | Owner: mww@macports.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.7.0 Keywords: openmpi gcc_select | Port: openmpi --------------------------------+------------------------------------------- It'd be nice if openmpi used gcc_select to select default compilers. Right now, the openmpi compiler wrappers (mpicc, mpicxx, mpif77) always use the C and C++ compilers in /usr/bin, even if /opt/local/bin comes first in the user's path. The changes to accomplish this are trivial: - add a dependency on port:gcc_select - patch the files in ${prefix}/share/openmpi to use /opt/local/bin/gcc instead of /usr/bin/gcc (similarly for C++ and Fortran). -- Ticket URL: <http://trac.macports.org/ticket/17243> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17243: make openmpi compiler wrappers use currenly selected compiler --------------------------------+------------------------------------------- Reporter: mmoll@… | Owner: mww@… Type: enhancement | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.7.0 Keywords: openmpi gcc_select | Port: openmpi --------------------------------+------------------------------------------- Comment(by lvcargnini@…): This is highly necessary, because of this I having problems all the time with installed version of my openmpi. -- Ticket URL: <http://trac.macports.org/ticket/17243#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17243: make openmpi compiler wrappers use currenly selected compiler --------------------------------+------------------------------------------- Reporter: mmoll@… | Owner: mww@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Keywords: openmpi gcc_select | Port: openmpi --------------------------------+------------------------------------------- Comment(by mmoll@…): One solution/workaround is to define the environment variables OMPI_CC, OMPI_CXX, etc. to the desired values (/opt/local/bin/gcc, /opt/local/bin/g++, etc.). This overrides the default settings. (This bug can be closed as far as I'm concerned if the maintainer is opposed to the original suggested enhancement.) -- Ticket URL: <http://trac.macports.org/ticket/17243#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17243: make openmpi compiler wrappers use currenly selected compiler --------------------------+-------------------------------- Reporter: mmoll@… | Owner: mww@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Resolution: fixed | Keywords: openmpi gcc_select Port: openmpi | --------------------------+-------------------------------- Changes (by sean@…): * status: new => closed * resolution: => fixed Comment: Fixed by r116337. -- Ticket URL: <https://trac.macports.org/ticket/17243#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts