Parthenon --一个性能可移植的块结构自适应网格加密框架
Parthenon -- a performance portable block-structured adaptive mesh refinement framework
摘要:
在通往亿万级的道路上,计算机设备架构和相应的编程模型的前景变得更加多样化。虽然有各种低级别的性能可移植编程模型,但在应用程序级别上缺乏支持。为了解决这个问题,我们提出了性能便携式块结构自适应网格细化(AMR)框架帕台农神庙,来自经过测试和广泛使用的雅典娜++天体物理磁流体动力学代码,但广义作为基础的各种下游多物理场代码。Parthenon采用了Kokkos编程模型,并提供了从多维变量到定义和分离组件的包,再到启动并行计算内核的各种级别的抽象。Parthenon在设备内存中分配所有数据以减少数据移动,支持变量和网格块的逻辑打包以减少内核启动开销,并采用单侧异步MPI调用以减少多节点模拟中的通信开销。使用流体力学迷你应用程序,我们展示了各种架构上的弱和强扩展,包括AMD和NVIDIA GPU,Intel和AMD x86 CPU,IBM Power 9 CPU以及Fujitsu A64 FX CPU。在Frontier上的最大规模(第一台TOP500 exascale机器),miniapp在9,216个节点(73,728个逻辑GPU)上达到了$1.7\times10^{13}$区域周期/秒,弱扩展并行效率约为92%(从单个节点开始)。再加上它是一个开放的协作项目,这使得Parthenon成为一个理想的框架,以针对亿级模拟,其中下游开发人员可以专注于他们的特定应用,而不是处理并行,设备加速的AMR的复杂性。
英文摘要:
On the path to exascale the landscape of computer device architectures and corresponding programming models has become much more diverse. While various low-level performance portable programming models are available, support at the application level lacks behind. To address this issue, we present the performance portable block-structured adaptive mesh refinement (AMR) framework Parthenon, derived from the well-tested and widely used Athena++ astrophysical magnetohydrodynamics code, but generalized to serve as the foundation for a variety of downstream multi-physics codes. Parthenon adopts the Kokkos programming model, and provides various levels of abstractions from multi-dimensional variables, to packages defining and separating components, to launching of parallel compute kernels. Parthenon allocates all data in device memory to reduce data movement, supports the logical packing of variables and mesh blocks to reduce kernel launch overhead, and employs one-sided, asynchronous MPI calls to reduce communication overhead in multi-node simulations. Using a hydrodynamics miniapp, we demonstrate weak and strong scaling on various architectures including AMD and NVIDIA GPUs, Intel and AMD x86 CPUs, IBM Power9 CPUs, as well as Fujitsu A64FX CPUs. At the largest scale on Frontier (the first TOP500 exascale machine), the miniapp reaches a total of $1.7\times10^{13}$ zone-cycles/s on 9,216 nodes (73,728 logical GPUs) at ~92% weak scaling parallel efficiency (starting from a single node). In combination with being an open, collaborative project, this makes Parthenon an ideal framework to target exascale simulations in which the downstream developers can focus on their specific application rather than on the complexity of handling massively-parallel, device-accelerated AMR.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。