mpi tcp连接报错_MPI分布式编程 --3.OpenMPI多节点运行报错

当尝试使用mpirun在不同节点上运行OpenMPI程序时,出现'Network is unreachable'错误。解决方法包括检查MPI版本一致性,确保节点间网络连通性和配置正确。
摘要由CSDN通过智能技术生成

1. OpenMPI多节点运行报错问题

问题描述:节点一即host3,通过mpirun调用节点二即host4的mpi程序,报错如下。

$ mpirun -np 1 --host host4 ./main

[[INVALID],INVALID] ORTE_ERROR_LOG: Not found in file ess_env_module.c at line 367

[[INVALID],INVALID]-[[59225,0],0] mca_oob_tcp_peer_try_connect: connect to 255.255.255.255:51754 failed: Network is unreachable (101)

--------------------------------------------------------------------------

ORTE was unable to reliably start one or more daemons.

This usually is caused by:

* not finding the required libraries and/or binaries on

one or more nodes. Please check your PATH and LD_LIBRARY_PATH

settings, or configure OMPI with --enable-orterun-prefix-by-default

* lack of authority to execute on one or more specified nodes.

Please verify your allocation and authorities.

* the inability to write startup files into /tmp (--tmp

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值