动态自适应网格上间断Galerkin方法的飞地任务
Enclave Tasking for Discontinuous Galerkin Methods on Dynamically Adaptive Meshes
摘要:
高阶不连续Galerkin(DG)方法结合了高运算强度和局部数据访问,有望成为偏微分方程求解器的一个优秀离散化范例。它们还有助于动态自适应,而无需保形网格。DG的弱配方内的网格遍历的并行评估是不平凡的,作为依赖图动态自适应网格的变化,作为因果约束沿分辨率转换必须保留,并作为数据发送沿MPI域边界必须以正确的顺序触发。我们建议处理网格元素受到高优先级的约束,或在需要时,连续遍历。剩余的单元形成飞地,并产生到任务系统中。这引入了并发性,将内存密集型DG积分与计算限制的黎曼解混合,并重叠计算和通信。我们讨论了MPI的影响,并表明MPI并行化提高了三个因素,通过飞地任务,而我们获得了额外的因素,从共享内存中的两个,如果网格是动态自适应的。
英文摘要:
High-order Discontinuous Galerkin (DG) methods promise to be an excellent discretisation paradigm for partial differential equation solvers by combining high arithmetic intensity with localised data access. They also facilitate dynamic adaptivity without the need for conformal meshes. A parallel evaluation of DG's weak formulation within a mesh traversal is non-trivial, as dependency graphs over dynamically adaptive meshes change, as causal constraints along resolution transitions have to be preserved, and as data sends along MPI domain boundaries have to be triggered in the correct order. We propose to process mesh elements subject to constraints with high priority or, where needed, serially throughout a traversal. The remaining cells form enclaves and are spawned into a task system. This introduces concurrency, mixes memory-intensive DG integrations with compute-bound Riemann solves, and overlaps computation and communication. We discuss implications on MPI and show that MPI parallelisation improves by a factor of three through enclave tasking, while we obtain an additional factor of two from shared memory if grids are dynamically adaptive.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。