更新时间:2023-11-10 14:49:28
感谢大家的评论和回答.没事的全部与"PIN"选项有关.
Thanks all for the comments and answers. You are all right. It's all about the "PIN" option.
要解决我的问题,我只需要:
To solve my problem, I just had to:
I_MPI_WAIT_MODE = 1
I_MPI_WAIT_MODE=1
I_MPI_PIN_DOMAIN = omp
I_MPI_PIN_DOMAIN=omp
就这么简单.现在所有处理器都适用于所有级别.
Simple as that. Now all processors are available to all ranks.
该选项
I_MPI_DEBUG = 4
I_MPI_DEBUG=4
显示每个等级获得的处理器.
shows which processors each rank gets.