基于任务并行的SpECTRE数值相对论程序的可扩展椭圆求解器
A scalable elliptic solver with task-based parallelism for the SpECTRE numerical relativity code
摘要:
数值相对论中的许多问题都需要数值求解椭圆型偏微分方程组,如每次黑洞和中子星合并模拟的初始数据。现有的椭圆解算器可能需要几天的时间来解决这些问题,在高分辨率和物质时,因为它们要么很难并行化,要么需要大量的计算资源。在这里,我们提出了一个新的求解器的线性和非线性椭圆问题,旨在规模与分辨率和并行计算集群。为了实现这一点,我们采用了不连续的Galerkin离散化,迭代multigrid-Schwarz预处理牛顿-克雷洛夫算法,和基于任务的并行范例。为了加快收敛的椭圆型求解器,我们开发了新的子域预处理技术。我们发现,我们的multigrid-Schwarz预处理椭圆解实现迭代次数是独立的分辨率,我们的基于任务的并行程序规模超过200万自由度,至少有几千个核心。我们的新代码解决了二进制黑洞的一个经典的初始数据问题比光谱代码SpEC更快时,分布到只有八个核心,并在一小部分的时间在更多的核心。它可以在下一代SpECTRE数值相对论代码中公开访问。我们的研究结果铺平了道路,高度并行的椭圆解决数值相对论和超越。
英文摘要:
Elliptic partial differential equations must be solved numerically for many problems in numerical relativity, such as initial data for every simulation of merging black holes and neutron stars. Existing elliptic solvers can take multiple days to solve these problems at high resolution and when matter is involved, because they are either hard to parallelize or require a large amount of computational resources. Here we present a new solver for linear and nonlinear elliptic problems that is designed to scale with resolution and to parallelize on computing clusters. To achieve this we employ a discontinuous Galerkin discretization, an iterative multigrid-Schwarz preconditioned Newton-Krylov algorithm, and a task-based parallelism paradigm. To accelerate convergence of the elliptic solver we have developed novel subdomain-preconditioning techniques. We find that our multigrid-Schwarz preconditioned elliptic solves achieve iteration counts that are independent of resolution, and our task-based parallel programs scale over 200 million degrees of freedom to at least a few thousand cores. Our new code solves a classic initial data problem for binary black holes faster than the spectral code SpEC when distributed to only eight cores, and in a fraction of the time on more cores. It is publicly accessible in the next-generation SpECTRE numerical relativity code. Our results pave the way for highly parallel elliptic solves in numerical relativity and beyond.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。