c++ - mpi 应用程序无法连接到 smpd 管理器 (null):55846 错误 1722
问题描述
使用Microsoft HPC Pack 2008 SDK
和Microsoft SDK 9
代码(ReadText.cpp):
#include "stdafx.h"
#include<iostream>
#include<mpi.h>
using namespace std;
int main(int argc, char* argv[])
{
cout << "before mpi init\n";
cout.flush();
MPI_Init(&argc, &argv);
cout << "after mpi init\n";
cout.flush();
MPI_Finalize();
cout << "after mpi finit\n";
cout.flush();
return 0;
}
运行命令行后:
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
运行mpiexec
时-debug
得到此输出:https ://justpaste.it/2elu1
无法通过互联网找到解决此问题的有用信息...
解决方案
我有和你一样的错误。我完成的事情是卸载 Microsoft HPC Pack 2008 SDK 和 Microsoft SDK 9。并使用其 SDK 安装 Microsoft MPI v10.1.2。
你可以在这里找到它。
推荐阅读
- excel - 基于公共单元格连接 (Excel) 行,包括不同的列
- java - 如何配置 Spring Mvc 配置错误
- python - 使用 PyArrow 读取 CSV
- css - React - 使用三元在功能组件中应用 CSS 类
- python - sklearn SGDClassifier 无法使其确定性地训练或预测
- jquery - 如何使用克隆生成 id 并将其放入文本框的值
- r - 使用 sf::st_read() 并行从数据库中提取
- security - 验证远程开源软件
- python - 遍历 DataFrame
- django - Django DateTime 不使用 T/Z(字母)存储 ISO 8601,而是使用空格