[MacPorts] #38013: boost +openmpi trouble & possible solution
#38013: boost +openmpi trouble & possible solution ----------------------------+-------------------------------- Reporter: richard.katz@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: boost ----------------------------+-------------------------------- I tried to run sudo port install boost +openmpi but got this error: :info:configure error: unrecognized option: --with-mpi=/opt/local so I did sudo port edit boost and made the following changes configure.args --with-libraries=mpi \ #--without-libraries=python \ #--with-mpi=${prefix} \ #--with-toolset=darwin \ --with-icu=${prefix} The installation seems to have worked after this. -- Ticket URL: <https://trac.macports.org/ticket/38013> MacPorts <http://www.macports.org/> Ports system for Mac OS
#38013: boost +openmpi trouble & possible solution -----------------------------+--------------------------- Reporter: richard.katz@… | Owner: adfernandes@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: boost | -----------------------------+--------------------------- Changes (by larryv@…): * cc: richard.katz@… (removed) * owner: macports-tickets@… => adfernandes@… Old description:
I tried to run
sudo port install boost +openmpi
but got this error:
:info:configure error: unrecognized option: --with-mpi=/opt/local
so I did
sudo port edit boost
and made the following changes
configure.args --with-libraries=mpi \ #--without-libraries=python \ #--with-mpi=${prefix} \ #--with-toolset=darwin \ --with-icu=${prefix}
The installation seems to have worked after this.
New description: I tried to run {{{ sudo port install boost +openmpi }}} but got this error: {{{ :info:configure error: unrecognized option: --with-mpi=/opt/local }}} so I did {{{ sudo port edit boost }}} and made the following changes {{{ configure.args --with-libraries=mpi \ #--without-libraries=python \ #--with-mpi=${prefix} \ #--with-toolset=darwin \ --with-icu=${prefix} }}} The installation seems to have worked after this. -- Comment: Thanks for the ticket. In the future, please Cc relevant port maintainers and use [[WikiFormatting]] to format your description. -- Ticket URL: <https://trac.macports.org/ticket/38013#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#38013: boost +openmpi trouble & possible solution -----------------------------+--------------------------- Reporter: richard.katz@… | Owner: adfernandes@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: worksforme | Keywords: Port: boost | -----------------------------+--------------------------- Changes (by adfernandes@…): * status: new => closed * resolution: => worksforme Comment: Hmm... I don't know why yours fails; what versions of OS and compilers are you using? Have you updated MacPorts completely? I've just tried several variations, and they all work for me without change. -- Ticket URL: <https://trac.macports.org/ticket/38013#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#38013: boost +openmpi trouble & possible solution -----------------------------+--------------------------- Reporter: richard.katz@… | Owner: adfernandes@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: worksforme | Keywords: Port: boost | -----------------------------+--------------------------- Comment (by larryv@…): The current version of boost (@1.52.0_1) does not seem to have the configure.args you describe. {{{ % grep -A 5 'configure.args' $(port file boost) configure.args --without-libraries=python \ --without-libraries=mpi \ --with-icu=${prefix} configure.universal_args -- configure.args-delete --without-libraries=python configure.args-append --with-python=${prefix}/bin/python${v} patchfiles-append patch-tools-build-v2-tools-python.jam.diff \ patch-tools-build-v2-tools- python-2.jam.diff post-patch { -- configure.args-delete --without-libraries=mpi post-configure { write_jam "using mpi : ${prefix}/bin/openmpic++ : : ${prefix}/bin/openmpirun ;" } % }}} -- Ticket URL: <https://trac.macports.org/ticket/38013#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts