Chr*_*ris 5 macos homebrew boost mpi openmpi
根据这篇文章(https://github.com/mxcl/homebrew/pull/2953),标志" --with-mpi"应该为相关的自制软件公式启用boost_mpi构建支持,所以我试图通过自制软件安装boost如下:
brew install boost --with-mpi
Run Code Online (Sandbox Code Playgroud)
但是,实际的boost mpi库尚未构建且无法找到.目前正在做一些工作,根据:https://github.com/mxcl/homebrew/pull/15689
总之,我目前可以构建boost,但似乎--with-mpi忽略了" "标志.有人可以检查一下,如果我能在Mac OS X Mountain Lion(10.8)上构建boost(支持mpi)吗?
(详细)输出生成以下行:
MPI auto-detection failed: unknown wrapper compiler mpic++
Please report this error to the Boost mailing list: http://www.boost.org
You will need to manually configure MPI support.
warning: skipping optional Message Passing Interface (MPI) library.
note: to enable MPI support, add "using mpi ;" to user-config.jam.
note: to suppress this message, pass "--without-mpi" to bjam.
note: otherwise, you can safely ignore this message.
Run Code Online (Sandbox Code Playgroud)
不知道我究竟能如何解决这个问题并获得构建的mpi - 任何想法?
以防万一这对其他人有帮助,这就是我解决这个问题的方法。主要错误是MPI auto-detection failed: unknown wrapper compiler mpic++,任何在命令行输入 mpic++ 都会验证它对我来说不能正常工作。我使用brew来安装open-mpi,但安装boost的详细输出中显示了相同的错误。运行brew doctor表明 openmpi 没有正确链接,所以我修复了这些错误并重新运行brew -v install boost --with-mpi --without-single,它最终构建并安装了所有库,没有出现问题
| 归档时间: |
|
| 查看次数: |
2978 次 |
| 最近记录: |