根據這個帖子(https://github.com/mxcl/homebrew/pull/2953),標誌「--with-mpi
」應使得boost_mpi建立相關的自制式的支持,所以我想通過自制軟件這樣的安裝升壓:如何使用mpi支持自制軟件構建boost?
brew install boost --with-mpi
然而,實際的提升mpi庫不會被構建並且無法找到。 目前一些工作正在解決此完成,根據:https://github.com/mxcl/homebrew/pull/15689
總之,我目前可以建立提升,但它似乎是「--with-mpi
」標誌被忽略。有人可以檢查一下,如果我應該能夠在Mac OS X Mountain Lion(10.8)上構建增強(使用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.
不知道我究竟是如何能解決這個問題,並得到了MPI東西是構建 - 任何想法?
這裏有一些構建初始化的輸出:https://gist.github.com/3981327 – Chris
用於預裝Open MPI的舊OS X版本。我相信OMPI從獅子開始就被拋棄了,你將不得不手動安裝它。 OMPI安裝的'bin'目錄應該位於'PATH'中 - 它就是'mpicc','mpiC++'等包裝所在的位置。 –
謝謝 - 是的,我安裝了開放mpi,並試圖與mpich2以及(仍然是同樣的問題,雖然)。路徑指向/ usr/local/bin,這是使用自制程序安裝時可以找到mpiC++,mpicc,mpirun等的位置。 – Chris