使openmpi-2.0.2正常工作时出现问题. (MacOS Sierra) [英] Problems getting openmpi-2.0.2 to work. ( MacOS Sierra )

查看:199
本文介绍了使openmpi-2.0.2正常工作时出现问题. (MacOS Sierra)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试在OSX Sierra 10.12.3上运行的Mac上安装openmpi-2.0.2,每次结果相似. 使用以下内容进行安装:

Have tried install openmpi-2.0.2 on my mac running on OSX Sierra 10.12.3 with similar results each time. Installing using the below :

$ cd openmpi-2.0.2

$ cd openmpi-2.0.2

$ ./configure --prefix =/usr/local

$ ./configure --prefix=/usr/local

$全部赚钱

$ sudo make install

$ sudo make install

安装后想要使用进行测试:

After install wanted to test using :

$ mpirun -n 4主机名

$ mpirun -n 4 hostname

&

$ mpiexec -n 4主机名

$ mpiexec -n 4 hostname

两者都导致:

ORTE_ERROR_LOG:文件orted/pmix/pmix_server.c中的错误参数位于行 262 ORTE_ERROR_LOG:文件ess_hnp_module.c中的错误参数位于666行 -------------------------------------------------- ------------------------看起来orte_init出于某种原因失败;您的并行过程 可能会中止.并行处理有很多原因 在orte_init期间可能失败;其中一些是由于配置或 环境问题.此故障似乎是内部故障. 这是一些其他信息(可能仅与 Open MPI开发人员):

ORTE_ERROR_LOG: Bad parameter in file orted/pmix/pmix_server.c at line 262 ORTE_ERROR_LOG: Bad parameter in file ess_hnp_module.c at line 666 -------------------------------------------------------------------------- It looks like orte_init failed for some reason; your parallel process is likely to abort. There are many reasons that a parallel process can fail during orte_init; some of which are due to configuration or environment problems. This failure appears to be an internal failure; here's some additional information (which may only be relevant to an Open MPI developer):

pmix服务器初始化失败->返回值错误参数(-5) 而不是ORTE_SUCCESS

pmix server init failed --> Returned value Bad parameter (-5) instead of ORTE_SUCCESS

关于为什么会发生此错误的任何想法,以及如何解决该错误?

Any ideas on why this error occurs, and what I can do to fix it?

推荐答案

请在此处查看问题8: https://www.open-mpi.org/faq/?category=osx

Please see the question 8 here: https://www.open-mpi.org/faq/?category=osx

  1. 我正在使用Open MPI 2.0.x,并在应用程序启动时出现错误.我该如何解决? 在某些版本的Mac OS X/MacOS Sierra上,默认临时目录位置足够长,以使应用程序可以轻松地为超出最大允许文件名长度的临时文件创建文件名.使用Open MPI,这可能会导致在应用程序启动时出现以下错误:
  1. I am using Open MPI 2.0.x and getting an error at application startup. How do I work around this? On some versions of Mac OS X / MacOS Sierra, the default temporary directory location is sufficiently long that it is easy for an application to create file names for temporary files which exceed the maximum allowed file name length. With Open MPI, this can lead to errors like the following at application startup:

shell $ mpirun ... my_mpi_app

shell$ mpirun ... my_mpi_app

[[53415,0],0] ORTE_ERROR_LOG:文件../../orte/orted/pmix/pmix_server.c中错误的参数位于第264行

[[53415,0],0] ORTE_ERROR_LOG: Bad parameter in file ../../orte/orted/pmix/pmix_server.c at line 264

[[53415,0],0] ORTE_ERROR_LOG:文件../../../../../orte/mca/ess/hnp/ess_hnp_module.c中的错误参数

[[53415,0],0] ORTE_ERROR_LOG: Bad parameter in file ../../../../../orte/mca/ess/hnp/ess_hnp_module.c at line

Open MPI 2.0.x版本系列的解决方法是将TMPDIR环境变量设置为/tmp或其他短目录名.

The workaround for the Open MPI 2.0.x release series is to set the TMPDIR environment variable to /tmp or other short directory name.

这篇关于使openmpi-2.0.2正常工作时出现问题. (MacOS Sierra)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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