如何建立与自制MPI支持提升? [英] How to build boost with mpi support on homebrew?

查看:437
本文介绍了如何建立与自制MPI支持提升?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

根据这个帖子(https://github.com/mxcl/homebrew/pull/2953),标志 - 与-MPI 应该使boost_mpi建立支持相关的自制配方,所以我想通过这样的自制软件安装升压:

According to this post (https://github.com/mxcl/homebrew/pull/2953), the flag "--with-mpi" should enable boost_mpi build support for the related homebrew formula, so I am trying to install boost via homebrew like this:

brew install boost --with-mpi

然而,实际的升压MPI库不被建立并且不能被发现。
目前解决这个正在做一些工作,根据<一个href=\"https://github.com/mxcl/homebrew/pull/15689\">https://github.com/mxcl/homebrew/pull/15689

综上所述,笔者目前可以打造提升,但它似乎是 - 与-MPI 标志被忽略。可能有人请检查一下,如果我应该能够在Mac OS X山狮打造提升(与MPI支持)(10.8)?

In summary, I can currently build boost, but it seems the "--with-mpi" flag is being ignored. Could someone please check, if I should be able to build boost (with mpi support) on Mac OS X Mountain Lion (10.8)?

的(详细)输出生成这些行:

The (verbose) output generates these lines:

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.

不知道我究竟如何才能解决这个问题,并得到了MPI的东西是构建 - ?任何想法

Not sure how exactly I can fix this and get the mpi stuff to be build - any ideas?

推荐答案

以防万一,这可以帮助别人沿线,这里是我如何解决了这个问题。主要的误差 MPI自动检测失败:未知包装编译MPIC ++ ,任何打字MPIC ++在命令行中证实,它不是为我工作正常。我用BREW安装开放式MPI,但同样的错误在安装升压详细输出显示。 BREW医生的运行显示了openmpi没有正确的联系,所以我固定的错误,并重新运行 BREW -v安装升压--with-MPI - -without单它终于建造和安装的所有库没有问题

Just in case this helps anyone else along the line, here's how I fixed this. The main error is MPI auto-detection failed: unknown wrapper compiler mpic++, any typing mpic++ at the command line verified that it was not working properly for me. I used brew to install open-mpi, but the same error was showing in the verbose output for installing boost. A run of brew doctor showed that openmpi was not linked properly, so I fixed those errors and reran brew -v install boost --with-mpi --without-single and it finally built and installed all of the libraries without a problem

这篇关于如何建立与自制MPI支持提升?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆