消息传递接口MPI广泛采用的fork-join编程模式会使程序在扩展时遭遇隐式代码规模膨胀的问题,根据迭代空间理论分析了问题产生的原因,针对MPI程序任务分派的各个阶段提出了相应解决方法,并将扩展性较好的一种实现为MPI自动执行框架.实验证明,这个框架仅会造成轻微的性能减损,却显著地减轻了隐式代码规模膨胀产生的影响.
The widely used programming pattern in MPI(Message Passing Interface)is fork-join,there will be a problem of latent codes explosion when extending the original program,analysis this problem with theory of iteration space,state correspond solutions in allusion to each step of computation distribution of MPI,and make the solution that is more portable to be a auto-perform framework of MPI.The experiment show that the framework cause little performance lost and lighten the effect of latent codes explosion markedly.