【发布时间】:2014-02-11 10:37:39
【问题描述】:
我有一个使用 Windows Azure 在 linux 集群上运行 MPIRUN 的应用程序,mpirun 需要以下规范才能在我的集群中运行:
- 无密钥 SSH。
- 禁用linux的防火墙
- 打开 EndPionts 的所有端口,因为 mpirun 没有使用静态端口。
问题是我需要打开所有端口,但 Windows Azure 只支持 100 端口,所以有什么方法可以在 linux 节点集群上支持 mpirun。
当我在我的 linux 集群上运行我的 mpicode 时,以下输出:
Daemon was launched on ahmed-Sate3781 - beginning to initialize
Daemon [[4241,0],2] checking in as pid 1585 on host ahmed-Sate3781
Daemon [[4241,0],2] not using static ports
Daemon was launched on ahmed-Sate3780 - beginning to initialize
Daemon [[4241,0],1] checking in as pid 1703 on host ahmed-Sate3780
Daemon [[4241,0],1] not using static ports
[ahmed-Sate3780:01703] [[4241,0],1] orted: up and running - waiting for commands
!
谢谢,
【问题讨论】:
-
您需要打开的端口是接受来自 Azure 托管集群外部的连接吗?还是仅用于来自该云服务中其他 VM 的连接?如果是后者,则无需打开端点,因为同一云服务或虚拟网络中的 VM 之间的连接不受限制。
-
我需要让虚拟机相互通信,mpi 有一个名为 orted 的服务,它生成随机端口而不是静态端口来监听,而且每个虚拟机都有一个不一样的云服务。恳请我紧急需要任何帮助