Open zsluedem opened 5 years ago
我看代码, fitness运行并没有并行啊,如果是mpi master的话会全部都算一次啊
# The best individual in current population. if mpi.is_master: best_indv = self.population.best_indv(self.fitness) else: best_indv = None best_indv = mpi.bcast(best_indv)
谢谢指出,此处忘记判断进程数了,我会在后续更新中修复这里。因为本人最近需要忙于其他事情,如果可以也欢迎pr 😁
这个部分修复了吗请问
Will fix it this week :)
Thanks for your support, let's make it better :D
我看代码, fitness运行并没有并行啊,如果是mpi master的话会全部都算一次啊