docker 容器测试cpu 集群

采用oneccl中的mpirun 在两个docker 容器上跑集群任务,需要的设置如下:

 apt install openssh-client
 apt install openssh-server

ssh client配置

$ cat ~/.ssh/config
Host 10.100.103.5
    Port 2222
    User root

Host 10.100.103.6
    Port 2222
    User root

ssh-server设置,允许root用户登录,设置免密登录

Port 2222
PermitRootLogin yes
PubkeyAuthentication yes
AuthorizedKeysFile /root/.ssh/authorized_keys
posted @ 2025-05-27 17:53  风冷无霜  阅读(11)  评论(0)    收藏  举报