我目前是在Open MPI中使用MPI for python的新手,有以下问题:
当我试图用mpiexec-np7运行一个简单的脚本时mpitest.py我有以下错误:
There are not enough slots available in the system to satisfy the 7 slots that were requested by the application: python Either request fewer slots for your application, or make more slots available for use.
我不明白,我有一台12处理器的计算机,每个插槽有6个内核(每个处理器有1个插槽),所以这意味着我可以运行多达72个线程,但是OpenMPI在6个线程上卡住了。在
你知道如何利用所有处理器吗?在
对于新版本的MPI,超额订阅可能会有所帮助。使用oversubscribe开关如下:
相关问题 更多 >
编程相关推荐