问题描述
我正在尝试在我的 Windows 10 机器上运行一个基本的 mpi4py 程序,但是每当我尝试运行命令 mpiexec -n 4 python test.py
时,它都会给我以下错误
ERROR: Failed to post close command error 1726 ERROR: unable to tear down the job tree. exiting...
下面是我的程序:
from mpi4py import MPI
comm = MPI.COMM_WORLD
rank = comm.Get_rank()
if rank == 0:
data = {'a': 7,'b': 3.14}
comm.send(data,dest=1,tag=11)
elif rank == 1:
data = comm.recv(source=0,tag=11)
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)