【发布时间】:2018-03-14 10:57:23
【问题描述】:
我将 open-mpi 更新到 3.0.0,重新加载了 Rmpi 和 doMPI,现在在 Ubuntu Linux R 3.4.2 上执行 startCluster 时出现此错误。
Error in mpi.comm.spawn(slave = rscript, slavearg = args, nslaves = count, :
MPI_ERR_SPAWN: could not spawn processes
如何诊断问题?
【问题讨论】:
-
从简单的 MPI 代码开始。确保您可以编译和运行简单的 MPI Hello World 应用程序。也许您的 OpenMPI 安装已“损坏”。
-
谢谢 mko。这对我来说是全新的,但这有效
mpirun -np 6 mpi_hello_world Hello world from processor JAM-Home-PC, rank 1 out of 6 processors Hello world from processor JAM-Home-PC, rank 5 out of 6 processors Hello world from processor JAM-Home-PC, rank 2 out of 6 processors ... but this does not jamaas:code$ mpirun -np 7 mpi_hello_world There are not enough slots available in the system to satisfy the 7 slots ...: mpi_hello_world Either request fewer slots for your application, or make more slots available for use.
标签: r parallel-processing mpi