MPI Error: "There are not enough slots available in the system to satisfy "
MPI Error: "There are not enough slots available in the system to satisfy "
当我在有 4 个 CPU 的 MacPro 上 运行 我的 MPI 程序时,我收到没有足够插槽可用的错误。只有当我 运行 超过 2 个核心时才会出现这种情况。如果我创建一个主机文件和 运行 MPI,它适用于任意数量的内核。我还是想知道不能直接运行的原因:
mpirun -np 3 ./myprogram
当我什至有 4 个物理内核时。
请参阅此处的#22-24:https://www.open-mpi.org/faq/?category=running#slots-without-hostfiles
简而言之,MPI 需要知道它何时超额订阅(运行 比系统上可用的物理 processors/threads 进程更多)以便它知道更频繁地让出处理器
当我在有 4 个 CPU 的 MacPro 上 运行 我的 MPI 程序时,我收到没有足够插槽可用的错误。只有当我 运行 超过 2 个核心时才会出现这种情况。如果我创建一个主机文件和 运行 MPI,它适用于任意数量的内核。我还是想知道不能直接运行的原因:
mpirun -np 3 ./myprogram
当我什至有 4 个物理内核时。
请参阅此处的#22-24:https://www.open-mpi.org/faq/?category=running#slots-without-hostfiles
简而言之,MPI 需要知道它何时超额订阅(运行 比系统上可用的物理 processors/threads 进程更多)以便它知道更频繁地让出处理器