根据华为的官方文档:
https://support.huawei.com/enterprise/zh/doc/EDOC1100228705/d1f5a239#ZH-CN_TOPIC_0000001212004449
可以知道,HPC的启动方式如果不指定--mca plm_rsh_agent方式启动,那么默认的启动方式为ssh方式启动MPI,但是实际操作后发现不可行,报错:
ssh_askpass: exec(/usr/libexec/openssh/ssh-askpass): No such file or directory ssh_askpass: exec(/usr/libexec/openssh/ssh-askpass): No such file or directory ssh_askpass: exec(/usr/libexec/openssh/ssh-askpass): No such file or directory ssh_askpass: exec(/usr/libexec/openssh/ssh-askpass): No such file or directory ssh_askpass: exec(/usr/libexec/openssh/ssh-askpass): No such file or directory ssh_askpass: exec(/usr/libexec/openssh/ssh-askpass): No such file or directory ssh_askpass: exec(/usr/libexec/openssh/ssh-askpass): No such file or directory ssh_askpass: exec(/usr/libexec/openssh/ssh-askpass): No such file or directory ssh_askpass: exec(/usr/libexec/openssh/ssh-askpass): No such file or directory ssh_askpass: exec(/usr/libexec/openssh/ssh-askpass): No such file or directory ssh_askpass: exec(/usr/libexec/openssh/ssh-askpass): No such file or directory ssh_askpass: exec(/usr/libexec/openssh/ssh-askpass): No such file or directory ssh_askpass: exec(/usr/libexec/openssh/ssh-askpass): No such file or directory ssh_askpass: exec(/usr/libexec/openssh/ssh-askpass): No such file or directory ssh_askpass: exec(/usr/libexec/openssh/ssh-askpass): No such file or directory Host key verification failed. ssh_askpass: exec(/usr/libexec/openssh/ssh-askpass): No such file or directory ssh_askpass: exec(/usr/libexec/openssh/ssh-askpass): No such file or directory ssh_askpass: exec(/usr/libexec/openssh/ssh-askpass): No such file or directory ssh_askpass: exec(/usr/libexec/openssh/ssh-askpass): No such file or directory ssh_askpass: exec(/usr/libexec/openssh/ssh-askpass): No such file or directory ssh_askpass: exec(/usr/libexec/openssh/ssh-askpass): No such file or directory ssh_askpass: exec(/usr/libexec/openssh/ssh-askpass): No such file or directory ssh_askpass: exec(/usr/libexec/openssh/ssh-askpass): No such file or directory ssh_askpass: exec(/usr/libexec/openssh/ssh-askpass): No such file or directory Host key verification failed. Host key verification failed. Host key verification failed. Host key verification failed. Host key verification failed. Host key verification failed. Host key verification failed. Host key verification failed. Host key verification failed. Host key verification failed. Host key verification failed. Host key verification failed. Host key verification failed. Host key verification failed. Host key verification failed. Host key verification failed. Host key verification failed. Host key verification failed. Host key verification failed. Host key verification failed. Host key verification failed. Host key verification failed. Host key verification failed. -------------------------------------------------------------------------- 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 (--tmpdir/orte_tmpdir_base). Please check with your sys admin to determine the correct location to use. * compilation of the orted with dynamic libraries when static are required (e.g., on Cray). Please check your configure cmd line and consider using one of the contrib/platform definitions for your system type. * an inability to create a connection back to mpirun due to a lack of common network interfaces and/or no route found between them. Please check network connectivity (including firewalls and network routing requirements). -------------------------------------------------------------------------- -------------------------------------------------------------------------- ORTE does not know how to route a message to the specified daemon located on the indicated node: my node: dlhpcshare-agent-37 target node: dlhpcshare-agent-25 This is usually an internal programming error that should be reported to the developers. In the meantime, a workaround may be to set the MCA param routed=direct on the command line or in your environment. We apologize for the problem. -------------------------------------------------------------------------- [dlhpcshare-agent-37:2299732] 22 more processes have sent help message help-errmgr-base.txt / no-path [dlhpcshare-agent-37:2299732] Set MCA parameter "orte_base_help_aggregate" to 0 to see all help / error messages
结论就是:
这个HPC平台没有为计算节点设置ssh的免密码认证,因此各计算节点通过ssh通信时是无法认证通过的,由此报错;由此可以知道,在该HPC上是不能使用ssh的方式进行计算节点通信的,还是要使用--mca plm_rsh_agent方式来进行子节点的启动通信的。
=========================================================
标签:平台,dstart,AI,openssh,askpass,failed,Host,ssh,key From: https://www.cnblogs.com/devilmaycry812839668/p/17656607.html