There are not enough slots available in the system to satisfy the 4 slots Either request fewer slot

mpiexec -np 4 python main.py

mpiexec运行报错:

There are not enough slots available in the system to satisfy the 4 slots  Either request fewer slot

解决办法:

mpiexec  -oversubscribe -np 4 python main.py

猜你喜欢

转载自blog.csdn.net/qq_36114862/article/details/80519018