A formalization of parallel data exchange algorithms used by numerical methods for solving partial differential equations

被引:0
作者
Samaniego, Cristobal [1 ]
Houzeaux, Guillaume [1 ]
机构
[1] Barcelona Supercomp Ctr, Barcelona, Spain
关键词
Partial differential equations;
D O I
10.1016/j.tcs.2024.114912
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
This paper introduces a formal framework for the data exchanges required to solve partial differential equations in a distributed memory parallel environment. Many physical phenomena can be described in terms of partial differential equations, and discretization methods are commonly used to solve this class of equations. Most of them require the definition of a mesh or grid in order to discretize the problem domain. In a parallel programming environment, the original mesh is partitioned into subdomains. Then, important data that has a direct relationship with the original mesh will be also divided based on the partition. As a consequence, data between subdomains has to be exchanged in order to obtain the correct solution to the problem in parallel. In this context, the main objective of this work is to describe the existing data exchange algorithms typically used in simulation codes by formal means. This objective is achieved by first describing the original and partitioned mesh in terms of set theory concepts and using them for writing the data exchange algorithms from the perspective of a typical implementation of three numerical methods: the finite element, finite difference, and cell-centered finite volume methods. Some attempts to create a description for these algorithms can be found in the literature. However, in the authors' opinion, a formal description is necessary in order to avoid any ambiguity. Implicit and explicit schemes are considered here. However, this study is primarily focused on implicit schemes where iterative methods are employed to solve the system of linear algebraic equations arising from the discretization of a partial differential equation in a parallel environment. These iterative methods serve as motivation for defining well-known data exchange algorithms necessary to solve the system of equations. To achieve this, we will first examine a simple one-dimensional problem, followed by a general problem description. We finally illustrate the concepts presented in the paper by examining the solution of a partial differential equation in parallel.
引用
收藏
页数:23
相关论文
共 61 条
[1]   ROBUST PRECONDITIONERS VIA GENERALIZED EIGENPROBLEMS FOR HYBRID SPARSE LINEAR SOLVERS [J].
Agullo, Emmanuel ;
Giraud, Luc ;
Poirel, Louis .
SIAM JOURNAL ON MATRIX ANALYSIS AND APPLICATIONS, 2019, 40 (02) :417-439
[2]  
Altmann Christoph, 2013, An Efficient High Performance Parallelization of a Discontinuous Galerkin Spectral Element Method, P37
[3]  
Alya, high-performance computational mechanics code
[4]   Algorithms and Data Structures for Massively Parallel Generic Adaptive Finite Element Codes [J].
Bangerth, Wolfgang ;
Burstedde, Carsten ;
Heister, Timo ;
Kronbichler, Martin .
ACM TRANSACTIONS ON MATHEMATICAL SOFTWARE, 2011, 38 (02)
[5]  
Bianco Mauro, 2017, An interface for halo exchange pattern
[6]  
Blake Jack C.H., 2011, Master's thesis
[7]   Parallel mesh partitioning based on space filling curves [J].
Borrell, R. ;
Cajas, J. C. ;
Mira, D. ;
Taha, A. ;
Koric, S. ;
Vazquez, M. ;
Houzeaux, G. .
COMPUTERS & FLUIDS, 2018, 173 :264-272
[8]  
bsc, Marenostrum4 system architecture
[9]  
bsc.es, Extrae: generating paraver trace-files for a post-mortem analysis
[10]   A restricted additive Schwarz preconditioner for general sparse linear systems [J].
Cai, XC ;
Sarkis, M .
SIAM JOURNAL ON SCIENTIFIC COMPUTING, 1999, 21 (02) :792-797