本文介绍了使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 :

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

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

$全部赚钱

$ sudo make install

$ sudo make install

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

After install wanted to test using :

&

两者都导致:

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)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-01 00:22