英文标题:Towards Heterogeneous Exascale CFD with a Single Fortran Code Base: OpenMP Target Acceleration of the High-Order Unstructured Solver UCNS3D
作者:Panagiotis Tsoutsanis, Michal Uminski, Christopher Day, David Henty
arXiv ID:2609.07387 | 分类:math-ph | 发表:2026-09-07
许可:CC-BY-SA
摘要 异构百亿亿次系统正在重塑计算流体力学,但许多成熟的高阶求解器无法在不割裂其代码库、不削弱可复现性、不丧失数十年数值开发成果的前提下为加速器重写。本文提出对 UCNS3D 进行单源 OpenMP target 现代化改造,UCNS3D 是一款面向可压缩流的生产级高阶非结构有限体积求解器。该工作表明,一个复杂的科学 CFD 代码可以被转化为通用的 CPU/GPU 实现,同时保持其数值格式、Fortran 代码库以及既有的生产工作流。 本文的贡献是端到端的求解器加速,而非内核级移植。完整的显式时间推进路径均被改造为可在设备上执行,包括高阶重构、梯度计算、无粘与粘性通量积分、边界处理、halo
Heterogeneous exascale systems are reshaping computational fluid dynamics, yet rewriting mature high-order solvers for accelerators can fragment code bases and weaken reproducibility. We present a single-source OpenMP target modernisation of UCNS3D, a high-order unstructured finite-volume solver for compressible flows. The common CPU/GPU implementation preserves its numerical formulation, Fortran code base, and workflows. Rather than porting isolated kernels, we enable the complete explicit time-advancement path: high-order reconstruction, gradient evaluation, inviscid and viscous fluxes, boundary treatment, halo exchange, and solution update. The implementation uses persistent target data regions, flat run-time arrays, compile-time sizing of temporary storage, explicit local algebra, target-callable routines, and GPU-aware MPI with device-resident buffers. These choices address the irregular stencils, complex data structures, and substantial temporary storage of high-order unstructured CFD. Verification using the compressible Taylor-Green vortex shows CPU and GPU dissipation histories agreeing to machine precision on LUMI and with published reference data. A single-node run on the ARCHER2 GPU platform provides an independent portability check. End-to-end performance is evaluated on fully populated nodes using Taylor-Green vortex, LM1021 sonic-boom, and NASA high-lift CRM benchmarks. Relative to the previous production implementation, the refactored CPU path is 1.27-1.67 times faster, while GPU offload delivers same-node speed-ups of 2.71-4.05 and 84-101 percent strong-scaling efficiency. The results show that standards-based OpenMP provides portable, production-scale acceleration without sacrificing numerical fidelity, CPU performance, or software sustainability.
查看完整双语翻译 →
正在跳转到翻译阅读页… 如果没有自动跳转,请点击这里。