OpenMPI Secure SHell如何从主节点进入所有计算节点? [英] How does OpenMPI Secure SHell into all the compute nodes from the master node?

查看:183
本文介绍了OpenMPI Secure SHell如何从主节点进入所有计算节点?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

首次使用OpenMPI.我很好奇API如何调用运行时环境以在计算节点上运行.我正在考虑设置一个由4个或5个节点组成的Linux集群.我阅读了很多有关为主节点创建无密码ssh访问的文档. OpenMPI是否调用命令行参数以ssh进入--hostfile中声明的任何计算节点,然后开始传播任务?

First time working with OpenMPI. I am curious how the API invokes a run-time environment to run on compute nodes. I am thinking about setting up a Linux cluster of 4 or 5 nodes. I read a lot of the documentation on creating password-less ssh access for the master node. Does OpenMPI invoke a command line argument to ssh into whatever compute nodes are declared inside the --hostfile and then begin spreading tasks?

推荐答案

当ssh'到远程计算机时,Open MPI不会添加任何其他参数(默认情况下).您应该只设置ssh密钥以允许无密码登录(并且,如果您使用的是ssh密码短语,请进行设置,以使密码短语可以在不手动输入键盘的情况下传播出去.)

Open MPI does not add any additional arguments (by default) when ssh'ing to a remote machine. You should just setup your ssh keys to allow password-less logins (and if you're using an ssh passphrase, set it up so that the passphrase propagates around without manual keyboard entry).

您可能还想阅读以下两个博客条目:

You might also want to read these two blog entries:

http://blogs.cisco.com/performance/基于树的启动打开mpi http://blogs.cisco.com/performance /tree-based-launch-in-open-mpi-part-2

这篇关于OpenMPI Secure SHell如何从主节点进入所有计算节点?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆