windows 中intel mpi library 的配置

此文章目的在於在windows中,使用Intel visual fortran 中的mpi並行庫。

版本:Intel Visual Fortran 2019 && Visual Studio 2017
在sublime text 3中配置編譯器。

首先,你需要在

E:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2019.4.245\windows\mpi\intel64\bin

此目錄中作爲管理員打開命令行,其實就是在你的安裝目錄中找到windows\mpi\intel64\bin這個子目錄。
運行

> hydra_service -install
> hydra_service -start

如果出現了permession denied,說明你沒有給它管理員權限。

然後運行

 mpiexec -register

然後會讓你輸入用戶名密碼如下:

account (domain\user) [<your user id>]:
password:
confirm password:
Password encrypted into the Registry

注意:這個用戶名密碼,是你的電腦的用戶名與密碼!!!
你的用戶名可以在C盤->用戶中看到,密碼是你的登錄密碼,注意不是PIN碼。

如果你的用戶名密碼輸入錯誤的話,在運行mpiexec的時候會出現如下錯誤:

[mpiexec@PC-20170921LUEZ] HYDI_bstrap_service_launch (bstrap\service\service_launch.c:444): server rejected credentials
[mpiexec@PC-20170921LUEZ] HYD_bstrap_setup (bstrap\src\hydra_bstrap.c:420): error launching bstrap proxy
[mpiexec@PC-20170921LUEZ] wmain (mpiexec.c:1878): error setting up the boostrap proxies

然後我建立了一個mpiifort的.sublime-build文件,具體見我的另一篇博客。
(我現在還沒寫好)

參考網址
如何使用Intel Visiual Fortan編譯器爲Windows編譯和運行並行程序
Getting Started with Intel® MPI Library for Windows* OS (Beta) | Intel® Software

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章