0
如何在我的主目錄中安裝Boost.MPI而不在我正在使用的Unix系統上擁有任何管理權限?在沒有管理權限的目錄中安裝Boost.MPI
如何在我的主目錄中安裝Boost.MPI而不在我正在使用的Unix系統上擁有任何管理權限?在沒有管理權限的目錄中安裝Boost.MPI
正如Boost Getting Started Guide明確提到,通過--prefix
調用bootstrap.sh時註明您想要的安裝目標:
除非你有你的系統的
/usr/local/
目錄寫權限,你可能會想,至少使用$ ./bootstrap.sh --prefix=path/to/installation/prefix
安裝在其他地方。
謝謝ildjarn。這種方式構建不能安裝Boost.MPI。每當我用mpi編譯任何程序時,我得到如下錯誤:未定義的引用'boost :: mpi :: communicator :: communicator()' – Tarek
「*這種方式構建不能安裝Boost.MPI *」什麼是b2/bjam的輸出?它爲什麼沒有建立? – ildjarn
這是來自bjam的示例錯誤:_In包含在./boost/mpi/allocator.hpp:15,0, 之內的文件來自./boost/mpi.hpp:22, from ./boost/graph/distributed/mpi_process_group .hpp:30, from libs/graph_parallel/src/mpi_process_group.cpp:14: ./boost/mpi/config.hpp:20:17:schwerwiegender Fehler:mpi.h:Datei oder Verzeichnis nicht gefunden Kompilierung beendet。 _ **翻譯:mpi.h未找到,編譯已終止** – Tarek