【发布时间】:2016-06-12 19:00:57
【问题描述】:
通常当我使用 mpirun 时,我可以“超载”它,使用比我计算机上实际数量更多的处理器。比如在我的四核mac上,我可以运行mpirun -np 29 python -c "print 'hey'"没问题。我现在在另一台机器上,它抛出以下错误:
$ mpirun -np 25 python -c "print 'hey'"
--------------------------------------------------------------------------
There are not enough slots available in the system to satisfy the 25 slots
that were requested by the application:
python
Either request fewer slots for your application, or make more slots available
for use.
--------------------------------------------------------------------------
为什么“超频”mpirun 在这里不起作用?有没有办法可以克服此错误消息并成功运行比可用处理器更多的处理器?
【问题讨论】:
-
您的意思可能是超额订阅,而不是超载或超频。顺便说一句,您使用哪种 MPI 实现?
-
@Harald 我在几个与 mpi 相关的问题上得到了这个问题,答案是我不知道。非管理员是否可以找到这些信息?
-
mpirun --version产生(Open MPI) 1.7.3 -
这很奇怪。我在四核系统上使用 OpenMPI 1.10,你的 mpirun 命令就像一个魅力。
-
你能试试这个关于使用主机文件在 openmpi 上超额订阅的信息吗? open-mpi.org/faq/?category=running#oversubscribing