MPI由于某些原因在macOS Mojave上失败

时间:2019-04-02 16:41:39

标签: macos install mpi

我遵循堆栈溢出的this教程在macOS Mojave上安装了MPI。我安装了openmpi-2.0.4.tar.gz。

但是当我尝试运行该hello world程序时,出现错误:

[My-MacBook-Pro.local:40731] [[30181,0],0] ORTE_ERROR_LOG: Bad parameter in file orted/pmix/pmix_server.c at line 262
[My-MacBook-Pro.local:40731] [[30181,0],0] ORTE_ERROR_LOG: Bad parameter in file ess_hnp_module.c at line 667
--------------------------------------------------------------------------
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 server init failed
  --> Returned value Bad parameter (-5) instead of ORTE_SUCCESS

有人知道如何解决此问题吗?

1 个答案:

答案 0 :(得分:1)

导出TMPDIR = / tmp (或其他临时目录,目录名称不能太长)