Orte无法可靠地开始一个或多个守护程序

发布于 2025-01-26 09:32:24 字数 1043 浏览 1 评论 0原文

我已经安装了MPI,当我运行时

mpirun --allow-run-as-root -np 1 cpi

,它可以像这样正确运行: 在此处输入映像

但是当我运行

mpirun --allow-run-as-root -machinefile hosts -np 1 cpi

时,会出现错误:

bash:bash:orted:orted:command:command:command:command:command:没有发现


Orte无法可靠地开始一个或多个守护程序。 这通常是由

  • 以下原因引起的:

    找不到所需的库和/或二进制文件 一个或多个节点。请检查您的路径和ld_library_path 设置,或使用-enable-orterun-prefix-by-default

    配置OMPI
  • 不缺乏在一个或多个指定的节点上执行的权力。 请验证您的分配和当局。

  • 无法将启动文件写入 /tmp(-tmpdir /orte_tmpdir_base)。 请与您的系统管理员联系以确定正确使用的位置。

  • 当需要静态时,

    用动态库的序列汇编 (例如,在克雷上)。请检查您的配置CMD行,并考虑使用 您的系统类型的贡献/平台定义之一。

  • 由于无法建立与Mpirun的连接 缺乏通用的网络接口和/或没有发现的路线 他们。请检查网络连接(包括防火墙 和网络路由要求)。


这是“主机”文件 在此处输入映像

'master'是此主机的名称,'从slave1'是名字另一个主机,我相信两个主机可以通过“ SSH”登录。

I have installed mpi and when i run

mpirun --allow-run-as-root -np 1 cpi

then it can run correctly just like this:
enter image description here

But when i run

mpirun --allow-run-as-root -machinefile hosts -np 1 cpi

then there will be an error:

bash: orted: command not found


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).


this is 'hosts' file
enter image description here

'master' is the name of this host and 'slave1' is the name of another host and i am sure that two hosts can log in via 'ssh'.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

甜警司 2025-02-02 09:32:24

尝试绝对路径,例如/usr/lib64/openMPI3/bin/mpirun而不是mpirun

try absolute path such as /usr/lib64/openmpi3/bin/mpirun instead of mpirun

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文