【问题标题】:mpi appplication is unable to connect to the smpd manager on (null):55846 error 1722mpi 应用程序无法连接到 smpd 管理器 (null):55846 错误 1722
【发布时间】:2018-11-06 04:26:14
【问题描述】:

使用Microsoft HPC Pack 2008 SDKMicrosoft 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

无法通过 Internet 找到解决此问题的有用信息...

【问题讨论】:

  • 为什么忽略mpi_init的返回?
  • 输出属于 in 问题。不在指向外部网站的链接后面。请尽量使问题独立。
  • 我知道我必须检查 mpi_init 返回。但是从输出可以看出,mpi_init 只是退出了进程。

标签: c++ mpi


【解决方案1】:

我遇到了和你一样的错误。我完成的事情是卸载 Microsoft HPC Pack 2008 SDK 和 Microsoft SDK 9。并安装 Microsoft MPI v10.1.2 及其 SDK。

你可以找到它Here.

【讨论】:

    猜你喜欢
    • 2019-01-14
    • 2023-04-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-07-16
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多