面向下一代百亿亿次级基础设施的 MPI + CUDA Gaia AVU-GSR 并行求解器
The MPI + CUDA Gaia AVU-GSR Parallel Solver Toward Next-generation Exascale Infrastructures
AI总结:
本研究通过 CUDA 将 ESA Gaia 任务的 AVU-GSR 并行求解器移植至 GPU,利用 LSQR 算法求解大规模稀疏线性方程组,在 Marconi100 集群上实现了最高约 14 倍的加速,为 Gaia 数据发布及探索预百亿亿次级行为奠定基础。
摘要:
我们通过优化该应用此前的 OpenACC 移植版本,将欧洲航天局(ESA)Gaia 任务开发的 Astrometric Verification Unit-Global Sphere Reconstruction (AVU-GSR) 并行求解器使用 CUDA 移植到了 GPU 上。该代码旨在通过使用 LSQR 迭代算法求解线性方程组 $A\times x=b$,以 [10,100]$μ$as 的精度求出约 $10^8$ 颗恒星的星历参数、Gaia 卫星的姿态与仪器校准参数,以及参数化后牛顿形式中的全局参数 $γ$。最终 Gaia 数据集的系数矩阵 $A$ 规模庞大,包含约 $10^{11} \times 10^8$ 个元素且高度稀疏,大小达到约 10-100 TB,这在 Big Data 分析中很典型,需要高效的并行化才能在合理的时间范围内获得科学结果。CUDA 代码相对于原始的基于 MPI+OpenMP 在 CPU 上并行化的 AVU-GSR 求解器的加速比,随系统规模和资源数量的增加而提升,最高达到约 14 倍,且比 OpenACC 应用快 9 倍以上。该结果是通过在 CINECA 的 Marconi100 集群(每个节点配备 4 块 V100 GPU)上对比这两个代码获得的。在验证了使用 CUDA 和 OpenMP 代码计算出的一组不同规模系统的解之间的一致性,并确认这些解达到了所需精度后,CUDA 代码已投入 Marconi100 生产环境,这对于实现最优的 AVU-GSR 流水线及后续的 Gaia Data Releases 至关重要。本分析代表了理解遵循此代码结构的同类应用在(预)百亿亿次级行为的第一步。在接下来的几个月里,我们计划在 CINECA 的预百亿亿次级平台 Leonardo(每个节点配备 4 块下一代 A200 GPU)上运行此代码,以期在该基础设施上进行移植,我们预期届时将获得更高的性能。
英文摘要:
We ported to the GPU with CUDA the Astrometric Verification Unit-Global Sphere Reconstruction (AVU-GSR) Parallel Solver developed for the ESA Gaia mission, by optimizing a previous OpenACC porting of this application. The code aims to find, with a [10,100]$μ$as precision, the astrometric parameters of $\sim$$10^8$ stars, the attitude and instrumental settings of the Gaia satellite, and the global parameter $γ$ of the parametrized Post-Newtonian formalism, by solving a system of linear equations, $A\times x=b$, with the LSQR iterative algorithm. The coefficient matrix $A$ of the final Gaia dataset is large, with $\sim$$10^{11} \times 10^8$ elements, and sparse, reaching a size of $\sim$10-100 TB, typical for the Big Data analysis, which requires an efficient parallelization to obtain scientific results in reasonable timescales. The speedup of the CUDA code over the original AVU-GSR solver, parallelized on the CPU with MPI+OpenMP, increases with the system size and the number of resources, reaching a maximum of $\sim$14x, >9x over the OpenACC application. This result is obtained by comparing the two codes on the CINECA cluster Marconi100, with 4 V100 GPUs per node. After verifying the agreement between the solutions of a set of systems with different sizes computed with the CUDA and the OpenMP codes and that the solutions showed the required precision, the CUDA code was put in production on Marconi100, essential for an optimal AVU-GSR pipeline and the successive Gaia Data Releases. This analysis represents a first step to understand the (pre-)Exascale behavior of a class of applications that follow the same structure of this code. In the next months, we plan to run this code on the pre-Exascale platform Leonardo of CINECA, with 4 next-generation A200 GPUs per node, toward a porting on this infrastructure, where we expect to obtain even higher performances.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。