利用OP2加速全面的工业CFD应用
Acceleration of a Full-scale Industrial CFD Application with OP2
摘要:
Hydra是一个全尺寸的工业CFD应用程序,用于劳斯莱斯公司的涡轮增压器设计。它由300多个并行循环组成,代码库超过50K行,能够在高度详细的非结构化网格几何形状上执行复杂的模拟。与更简单的结构化网格应用不同,这些应用在使用现代处理器架构(如多核和众核处理器系统)加速时具有高速度提升,Hydra在数据组织和移动方面面临重大挑战,需要克服这些挑战才能在新兴平台上保持高性能。我们目前的研究在实现这一目标,通过OP2特定领域的高层次框架。OP2针对非结构化网格问题领域,并遵循使用源到源转换和编译的活动库的设计,以从单个高级应用程序源生成多个并行实现,以便在一系列后端硬件平台上执行。我们绘制了Hydra从最初的手工调整生产版本到使用OP2的版本的转换,并绘制了在此过程中遇到的关键困难。据我们所知,这项研究提出了这样一个高层次的框架,以全面的生产代码的第一个应用程序。具体来说,我们展示了(1)如何使用活动库框架实现不同的并行实现,即使是对于高度复杂的工业应用程序,如Hydra,以及(2)如何将针对对比并行架构的不同优化无缝地应用于整个应用程序,从而减少开发人员的工作量并增加代码寿命。性能结果表明,不仅可以实现相同的运行时性能的手动调优的原始生产代码,但它可以显着提高传统的处理器系统。此外,我们还将进一步实现…
英文摘要:
Hydra is a full-scale industrial CFD application used for the design of turbomachinery at Rolls Royce plc. It consists of over 300 parallel loops with a code base exceeding 50K lines and is capable of performing complex simulations over highly detailed unstructured mesh geometries. Unlike simpler structured-mesh applications, which feature high speed-ups when accelerated by modern processor architectures, such as multi-core and many-core processor systems, Hydra presents major challenges in data organization and movement that need to be overcome for continued high performance on emerging platforms. We present research in achieving this goal through the OP2 domain-specific high-level framework. OP2 targets the domain of unstructured mesh problems and follows the design of an active library using source-to-source translation and compilation to generate multiple parallel implementations from a single high-level application source for execution on a range of back-end hardware platforms. We chart the conversion of Hydra from its original hand-tuned production version to one that utilizes OP2, and map out the key difficulties encountered in the process. To our knowledge this research presents the first application of such a high-level framework to a full scale production code. Specifically we show (1) how different parallel implementations can be achieved with an active library framework, even for a highly complicated industrial application such as Hydra, and (2) how different optimizations targeting contrasting parallel architectures can be applied to the whole application, seamlessly, reducing developer effort and increasing code longevity. Performance results demonstrate that not only the same runtime performance as that of the hand-tuned original production code could be achieved, but it can be significantly improved on conventional processor systems. Additionally, we achieve further...
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。