R parallel job hangs

拜拜、爱过 提交于 2020-01-05 07:01:50

问题


I am running the snow-test.R script as written on the site:

https://hpcf.umbc.edu/other-packages/how-to-run-r-programs-on-maya/

the script is run on a cluster using SLURM with the command:

mpirun -np 1 R CMD BATCH --no-save --no-restore snow-test.R out.dat

the R version is 3.5.1. Although the script runs and displays the result, it hangs at the end. Thus, I need to kill the process manually from the SLURM queue with scancel command.

Also, when I change the R version to 3.4.4 using the same scripts, R cannot run the script, it complains with the message:

Error in Rmpi::mpi.comm.spawn(slave = mpitask, slavearg = args, nslaves = count, : MPI_ERR_SPAWN: could not spawn processes Calls: makeMPIcluster -> -> .Call Execution halted

Thanks.

来源:https://stackoverflow.com/questions/58081736/r-parallel-job-hangs

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!