C++ mpi应用程序无法连接到上的smpd管理器(null):55846错误1722

C++ mpi应用程序无法连接到上的smpd管理器(null):55846错误1722,c++,mpi,C++,Mpi,使用Microsoft HPC Pack 2008 SDK和Microsoft SDK 9 代码(ReadText.cpp): 得到了输出: before mpi init Aborting: mpi appplication on LAPTOP-TL0C61UH is unable to connect to the smpd manager on (null):56041 error 1722 job aborted: [ranks] message [0] fatal error F

使用
Microsoft HPC Pack 2008 SDK
Microsoft SDK 9

代码(ReadText.cpp):

得到了输出:

before mpi init

Aborting: mpi appplication on LAPTOP-TL0C61UH is unable to connect to the smpd manager on (null):56041 error 1722

job aborted:
[ranks] message

[0] fatal error
Fatal error in MPI_Init: Other MPI error, error stack:
MPI_Init(argc_p=0x00CFFA1C, argv_p=0x00CFFA08) failed
使用
-debug
运行
mpiexec
时得到以下输出:


无法通过internet找到解决此问题的完整信息…

我与您的错误相同。我所做的就是卸载MicrosoftHPCPack2008SDK和MicrosoftSDK9。并安装了Microsoft MPI v10.1.2及其SDk


您可以找到它

为什么要忽略来自mpi_init的返回?输出属于这个问题。不在链接到外部站点之后。请尽量使问题独立。我知道我必须检查mpi_init返回。但正如您从输出中看到的,mpi_init只是退出了这个过程。
mpiexec -n 1 ReadText.exe
before mpi init

Aborting: mpi appplication on LAPTOP-TL0C61UH is unable to connect to the smpd manager on (null):56041 error 1722

job aborted:
[ranks] message

[0] fatal error
Fatal error in MPI_Init: Other MPI error, error stack:
MPI_Init(argc_p=0x00CFFA1C, argv_p=0x00CFFA08) failed