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

浙公网安备 33010602011771号