MPICH运行程序时出错之解决方法

错误一:

Error while connecting to host, 由于目标机器积极拒绝,无法连接。 (10061)
Connect on sock (host=FQ-201110181946, port=8676) failed, exhaused all end points
Unable to connect to 'FQ-201110181946:8676',
sock error: Error = -1

出错原因:MPICH的服务MPICH2 Process Manager,Argonne National Lab未启动——(运行时会创建一个服务MPICH2 Process Manager,Argonne National Lab,提供服务的镜像是%MPICH2ROOT%\bin\smpd,这个程序是MPICH2的进程管理器)。

解决方法:运行——services.msc——将服务MPICH2 Process Manager,Argonne National Lab启动即可。

错误二:

Credentials for JY rejected connecting to FQ-201110181946
Aborting: Unable to connect to FQ-201110181946

出错原因:MPICH不能连接到本机上

解决方法:运行MPICH2下wmpiregister.exe,输入Account和Password,注意,此处的账号密码必须是用户登录的账号密码,如果不清楚账号可以进控制面板——用户账号下查看。

原文地址:https://www.cnblogs.com/lifeinsmile/p/3015626.html