并行化传统网格生成软件:从用于推进前沿局部重新连接的伪约束并行数据细化方法中吸取的教训
Parallelizing Legacy Mesh Generation Software: Lessons Learned from a Pseudo-Constrained Parallel Data Refinement Approach for Advancing Front Local Reconnection
浏览论文内容
中文总结 AI 辅助
研究将推进前沿局部重新连接(AFLR)传统软件并行化,核心方法是利用数据分解方案和运行时系统,结果显示并行方法稳定性好、性能提升,但因黑箱输入边界要求限制了完全稳定性和可扩展性,建议采用无此类约束的方法利用架构并发性。
中文摘要 AI 辅助
本文介绍了将传统软件推进前沿局部重新连接(AFLR)作为黑箱进行并行化时吸取的教训。并行过程利用(i)一种数据分解方案,其中每个子域使用顺序网格生成代码并行细化,以及(ii)一个用于工作负载平衡的运行时系统。网格细化操作的结果表明,并行方法的稳定性(输出网格质量)良好,并且在使用16个CPU核心时,并行方法比串行AFLR性能高出约11倍。然而,由于黑箱输入边界要求所设置的约束,完全稳定性(即生成与串行方法相同质量的网格)和潜在的可扩展性受到限制。满足每个子域的这一要求不仅会增加开销,还会使并行方法生成与串行方法不同的输出网格体积。这种先进代码的复杂性要求对其进行重大修改以消除这些约束。这些结果表明,像AFLR这样的黑箱传统代码的并行化可能不切实际,反而鼓励采用一种最初设计时没有此类约束的方法,以有效利用大规模架构提供的并发性。
英文摘要
This paper presents lessons learned from parallelizing the legacy software known as Advancing Front Local Reconnection (AFLR) as a black box. The parallel procedure utilizes (i) a data decomposition scheme where each subdomain is refined in parallel using the sequential mesh generation code and (ii) a runtime system for work-load balancing. Results on the mesh refinement operation show that the parallel method's stability (output mesh quality) is good and that the parallel method outperforms the serial AFLR by about 11 times when utilizing 16 CPU cores. However, full stability (i.e., generating the same quality as the serial method) and potential scalability is limited due to the constraints set by the black box's input boundary requirement. Satisfying this requirement for each subdomain not only adds overhead but also causes the parallel method to generate a different output mesh volume than that generated by the serial method. The complexity of such a state-of-the-art code requires that it be modified to a non-trivial extent in order to remove these constraints. These results suggest that the parallelization of black-box legacy codes like AFLR may not be practical and instead encourages an approach that is originally designed without such constraints to efficiently leverage the concurrency offered by large-scale architectures.