Gaia AVU-GSR并行求解器:基于LSQR的应用在Exascale系统中的初步研究
The Gaia AVU-GSR parallel solver: preliminary studies of a LSQR-based application in perspective of exascale systems
摘要:
Gaia天体测量验证单元-全球球面重建(AVU-GSR)并行求解器的目标是计算银河系中$\sim$ 10颗$^8$恒星的天体测量参数、Gaia卫星的姿态和仪器参数以及后牛顿形式的全球参数$γ$。代码迭代地求解线性方程组$\mathbf{A} \times \vec{x} = \vec{b}$,其中系数矩阵$\mathbf{A}$是大的($\sim$ $10^{11} \times 10^8$元素)和稀疏的。为了解决这个方程组,代码利用迭代PC-LSQR算法的混合实现,其中与系数矩阵的不同水平部分相关的计算被分配给单独的MPI过程。在原始代码中,每个矩阵部分在OpenMP线程上进一步并行化。为了进一步提高代码性能,我们将应用程序移植到GPU上,用OpenACC取代了OpenMP并行化语言。在此端口中,$\sim$ 95%的数据在整个迭代周期开始时从主机复制到设备,使代码$compute$ $bound$而不是$data$ $-$ $transfer$ $bound$。OpenACC代码与OpenMP版本相比,速度提升了$\sim$ 1.5,但正在进行进一步优化,以获得更高的增益。该代码在多个GPU上运行,并在CINECA超级计算机Marconi 100上进行了测试,预计将于2022年安装在CINECA的pre-exascale系统Leonardo的端口。
英文摘要:
The Gaia Astrometric Verification Unit-Global Sphere Reconstruction (AVU-GSR) Parallel Solver aims to find the astrometric parameters for $\sim$10$^8$ stars in the Milky Way, the attitude and the instrumental specifications of the Gaia satellite, and the global parameter $γ$ of the post Newtonian formalism. The code iteratively solves a system of linear equations, $\mathbf{A} \times \vec{x} = \vec{b}$, where the coefficient matrix $\mathbf{A}$ is large ($\sim$$10^{11} \times 10^8$ elements) and sparse. To solve this system of equations, the code exploits a hybrid implementation of the iterative PC-LSQR algorithm, where the computation related to different horizontal portions of the coefficient matrix is assigned to separate MPI processes. In the original code, each matrix portion is further parallelized over the OpenMP threads. To further improve the code performance, we ported the application to the GPU, replacing the OpenMP parallelization language with OpenACC. In this port, $\sim$95% of the data is copied from the host to the device at the beginning of the entire cycle of iterations, making the code $compute$ $bound$ rather than $data$$-$$transfer$ $bound$. The OpenACC code presents a speedup of $\sim$1.5 over the OpenMP version but further optimizations are in progress to obtain higher gains. The code runs on multiple GPUs and it was tested on the CINECA supercomputer Marconi100, in anticipation of a port to the pre-exascale system Leonardo, that will be installed at CINECA in 2022.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。