在 R/snowfall 中,使用“MPI”类型初始化集群时,会显示错误消息。任何人都可以帮忙吗?谢谢!
library(snowfall)
library(Rmpi)
sfInit(parallel=TRUE,cpus=3,type='MPI')
sfStop()
运行时sfInit(parallel=TRUE,cpus=3,type='MPI')
,出现如下错误信息:
Library Rmpi loaded.
Error in Rmpi::mpi.comm.spawn(slave = mpitask, slavearg = args, nslaves = count, :
Internal MPI error!, error stack:
MPI_Comm_spawn(cmd="/usr/bin/env", argv=0x0000029F97E7E448, maxprocs=3, MPI_INFO_NULL, root=0, MPI_COMM_SELF, intercomm=0x0000029FF870FCF8, errors=0x0000029FF6B92140) failed
Internal MPI error! FAILspawn not supported without process manager
Error in sfInit(parallel = TRUE, cpus = 3, type = "MPI") :
Starting of snow cluster failed! Error in Rmpi::mpi.comm.spawn(slave = mpitask, slavearg = args, nslaves = count, :
Internal MPI error!, error stack:
MPI_Comm_spawn(cmd="/usr/bin/env", argv=0x0000029F97E7E448, maxprocs=3, MPI_INFO_NULL, root=0, MPI_COMM_SELF, intercomm=0x0000029FF870FCF8, errors=0x0000029FF6B92140) failed
Internal MPI error! FAILspawn not supported without process manager
Error in Rmpi::mpi.comm.spawn(slave = mpitask, slavearg = args, nslaves = count, :
Internal MPI error!, error stack:
MPI_Comm_spawn(cmd="/usr/bin/env", argv=0x0000029F97E7E448, maxprocs=3, MPI_INFO_NULL, root=0, MPI_COMM_SELF, intercomm=0x0000029FF870FCF8, errors=0x0000029FF6B92140) failed
Internal MPI error! FAILspawn not supported without process manager