Abstract
We reconstruct a time-dependent source of a two-dimensional parabolic equation from an integral flux condition by minimizing the Tikhonov functional with the conjugate gradient method. A minimization with K iterations requires solutions of the direct or adjoint problem. A serial run with on a grid takes 5824 s on one core of an InfiniBand cluster. We prove that the exact discrete adjoint of the Peaceman–Rachford (PR) scheme is again a PR scheme with the reversed order of the directional steps, so one parallel numerical algorithm can solve both problems. The reversal is not needed if the diffusion operators commute. Dot-product and Taylor tests verify the computed gradient to rounding errors. The parallel algorithm uses a two-dimensional domain decomposition and the two-process and Wang factorizations of tridiagonal systems. On eight nodes (256 cores) of the InfiniBand cluster, the parallel run is 331 times faster than the serial one, and the weak scaling efficiency is 74% relative to one node and 95% relative to two nodes. On eight nodes of a Gigabit Ethernet cluster with performance and efficiency cores, a hybrid MPI+OpenMP version is 13–33% faster than pure MPI on the same hardware, because fewer processes communicate. With 1% data noise, the discrepancy principle stops the iterations at a relative error of 4.5%.
Keywords:
inverse source problem; Tikhonov regularization; adjoint problem; gradient-based optimization; Peaceman–Rachford scheme; hybrid MPI+OpenMP MSC:
35R30; 35K20; 65M32; 65M06; 65M22; 65Y05
1. Introduction
Inverse problems for parabolic partial differential equations (PDEs) are popular mathematical models for many applied problems. Inverse source problems appear, for example, in environmental applications, where sources of water or air pollution must be identified, and in heat conduction problems, where unknown heat sources must be recovered [1].
In inverse problems, the objective is not only to determine the solution of a parabolic equation but also to identify unknown components of the underlying mathematical model, such as the initial or boundary conditions, diffusion coefficients, or source terms. This requires additional indirect measurements of the solution, which are often incomplete and contaminated by measurement noise. Such experimental data may be collected at interior points of the spatial domain [2] or at specified times, including the final time [3].
Inverse problems are typically ill-posed, meaning that the solution may not exist, may not be unique, may not depend continuously on the input data, or may exhibit a combination of these properties.
Overviews of the applications of inverse problems in science and engineering and of numerical methods for their solution are given in [4,5].
Next we briefly describe different types of coefficients and functions in parabolic equations reconstructed from experimental measurements.
Inverse problems for the heat equation with dynamic boundary conditions are studied in [2,6,7]. In [2], an unknown boundary source is recovered from measurements of the temperature at interior points, for the one-dimensional equation with dynamic integral boundary conditions. In [6], the initial temperature distribution is identified by minimizing an associated Tikhonov functional. In [7], a time-dependent source term is recovered from an additional integral measurement.
In [1], a source consisting of space- and time-dependent components is determined in the multidimensional heat equation from integral observations, and in [8], a time-dependent heat source is identified in the one-dimensional heat equation from overspecified Dirichlet boundary data. In both papers, the ill-posed problems are solved by variational methods with the conjugate gradient method. In [9], a time-dependent source is recovered in this way from an integral observation in a two-dimensional example. There, the gradient is computed from a finite element discretization of the adjoint differential problem.
This optimize-then-discretize approach differs in general from the discretize-then-optimize approach, which computes the exact gradient of the discrete functional [10]. Conditions under which the discrete adjoint of a Crank–Nicolson time discretization is again a consistent scheme for the adjoint problem are studied in [11]. In adjoint codes, the operations of the direct code are transposed and applied in the reverse order [12], and the code is checked by a dot-product test and by a Taylor test of the gradient [13,14].
In this work, we solve the inverse 2D parabolic problem, where the source function is reconstructed from a measured integral flux.
This mathematical model is well known in fluid dynamics: it describes Poiseuille-type solutions of the nonstationary Navier–Stokes problem. The PDE problem can be written in an equivalent form as a Volterra integral equation of the first kind.
The problem is ill-posed, and regularization methods are applied to control the influence of the noise in the data. This approach can also be used to prove the existence of weak and very weak solutions. More details are given in [15,16,17].
We will approximate the direct 2D problem by the economical Peaceman–Rachford splitting scheme. At the simulation stage, it is important that this scheme is unconditionally stable and second-order accurate in both time and space.
We solve a variational problem in which the Tikhonov regularization functional is minimized by the conjugate gradient method (CGM), two standard tools for such problems [18,19]. An important part of the algorithm is the efficient computation of the gradient directions. The 2D nonstationary adjoint problems are solved in order to find these gradients.
Another new and attractive approach to the solution of inverse problems is the use of artificial neural networks, in particular, physics-informed neural networks (PINNs) [20,21,22]. In this approach, the solution of the PDE problem and the unknown source are approximated by neural networks, which are trained by minimizing a loss function that includes the residual of the PDE, the initial and boundary conditions, and the measured data. The main advantages are the simplicity of implementation, a mesh-free formulation which easily incorporates measured data and complex geometries, and the possibility to solve direct and inverse problems by the same algorithm. Compared with the methods discussed above, the training is computationally expensive, the accuracy is usually lower than that of classical discretization methods, the results depend on the network architecture and on the weights of the terms of the loss function, and rigorous error estimates are available only for special problems (see, e.g., [22] for a convergence analysis of PINNs for an inverse source problem of the heat equation). The application of neural network algorithms to the inverse problem considered here and their comparison with the methods of this paper will be presented in a separate paper.
Our aim is to investigate in detail a parallel Peaceman–Rachford splitting algorithm. It can be taken as a good example of many other multidimensional ADI splitting algorithms, including 3D problems. We consider distributed memory computer systems, and the MPI library is used for the practical implementation of this parallel PR algorithm. We study Wang’s algorithm, which is used to solve tridiagonal systems of linear equations distributed among processes (for the original algorithm, see [23]). Other parallel algorithms for tridiagonal systems include the parallel diagonal dominant algorithm [24] and the solvers of the library PaScaL_TDMA for many systems on CPUs and GPUs [25].
The second question considered in this paper deals with another important challenge: the different characteristics of the computing cores in the nodes of clusters and of the communication networks of these computer systems.
If the cores of one node have different computational capacities, we deal with a classical load balancing (adaptivity) problem. In this paper, we solve it by using the hybrid parallelization approach based on the MPI+OpenMP combination. Inside a node, the independent tridiagonal systems are distributed among the threads dynamically, so that faster threads solve more systems (Section 6.2). Hybrid MPI+OpenMP programming is discussed in [26], and the processors with performance and efficiency cores used here are described in [27].
A more general method would be an adaptive algorithm that distributes the grid among the MPI processes according to the speed of their cores. We will investigate this approach in a forthcoming paper. Such methods include asymmetry-aware loop scheduling [28] and the partitioning of a grid among processors of different speeds [29].
This paper extends our earlier study [30], which applied the discretize-then-optimize approach to one-dimensional problems and to the Crank–Nicolson scheme with the fast Fourier transform in two dimensions. Here, the same approach is applied to the Peaceman–Rachford splitting scheme. The two-process (counter-sweep) and Wang’s factorization algorithms for tridiagonal systems used here were applied in [31] to a locally one-dimensional scheme for a three-dimensional direct problem with a nonlocal boundary condition, on a parallel computer with identical processors. The contributions of this paper are as follows:
- The exact discrete adjoint of the PR scheme (Section 4). It is again a PR scheme with the reversed order of the directional half-steps, for any symmetric difference operators, including non-commuting ones, so one parallel solver serves both the direct and the adjoint problems. The reversal is not needed if the diffusion operators commute, as in the test problem (Remark 1). The gradient is verified to rounding errors in serial and parallel runs (Section 7.2).
- A parallel PR solver with a two-dimensional domain decomposition, in which the messages of all independent systems are combined and the reduced systems of Wang’s algorithm are solved redundantly after one (Section 6).
- A hybrid MPI+OpenMP version for nodes with performance and efficiency cores, compared with pure MPI on the same hardware (Section 7.5).
- A performance study on two clusters with very different networks and cores, and a study of the accuracy of the reconstruction with exact and noisy data (Section 7).
The rest of this paper is organized as follows. In Section 2, we introduce the direct and inverse problems. Section 3 discusses the discretization of the direct problem. The existence of the solution of the discrete inverse problem is also shown there. The construction of the discrete scheme for the exact adjoint operator is studied in Section 4. The discrete Tikhonov functional, its gradient, and the conjugate gradient minimization algorithm are presented in Section 5. Parallel algorithms targeted for distributed and shared memory parallel clusters are proposed and investigated in Section 6. The results of computational experiments are presented in Section 7. We summarize our findings and provide some comments in Section 8.
2. Problem Formulation
Let be a bounded domain and T be a given positive number. Denote , and . Let us consider an initial-boundary value problem for a 2D parabolic equation
where
or more general diffusion operators
and is a given diffusion coefficient.
The direct (forward) problem is to find the solution of the problem (1) for given functions , , , and .
The inverse problem consists of determining the solution of (1) and finding the right hand side source function from the additional over-specified flux condition
where is a given weight function.
This model describes, for example, the nonstationary Poiseuille-type flow of a viscous incompressible fluid in an infinite straight pipe with the cross-section [15,32]. Here u is the axial velocity, the kinematic viscosity, the unknown axial pressure gradient divided by the density, its distribution over the cross-section ( for a pure pressure gradient), and a known body force. With , is the prescribed flow rate through the cross-section. In heat conduction, u is the temperature, a heat source of unknown intensity, and the reading of an integral (averaging) sensor [1]. Existence and uniqueness results for inverse problems with integral overdetermination are given in [33], and for the flow problem in [32]. The test problem of Section 7.1 is manufactured: the data are chosen so that the exact solution is known.
We find both functions u, f by minimizing with respect to f the Tikhonov regularization functional, which measures the discrepancy between the computed flux and the data:
where denotes the solution of the direct problem corresponding to a given source and is the regularization parameter.
The optimal source f balances the fit to measurement data with the penalty . A good introduction to the Tikhonov regularization is given in [34].
3. Discrete Approximation
In this section, we construct the discrete Peaceman–Rachford (PR) ADI splitting scheme. This scheme is well suited for two-dimensional parabolic problems. However, its straightforward three-dimensional extension is only conditionally stable. For three-dimensional problems, other splitting schemes should be used, e.g., the scheme of Douglas [35] or locally one-dimensional schemes [36,37].
First, we define the discrete grids in time and space. We use the uniform time grid
The 2D domain is approximated by the uniform space grid
The set of boundary grid points is denoted by , and the values of a grid function V are denoted by ; we also use the notation .
Then, the problem (1) is approximated by the PR splitting scheme
where the discrete diffusion operators and are defined as
The grid functions , , define approximations of the solution of the differential problem (1).
General results on the accuracy and stability of the PR scheme are well known, see, e.g., [36,37]: (a) the approximation accuracy is of order ; (b) the scheme is unconditionally stable; (c) at each time step, one-dimensional tridiagonal systems of size J are solved; thus, the total complexity of the solution of the direct problem is .
The first half-step of (3), the sweep in the x-direction, requires the standard modification of the boundary conditions at and :
In the CGM algorithm (Section 5), the boundary data enter only the direct problem of Step 1. The variations and the solutions of the adjoint problem vanish on .
For grid functions U, W vanishing on , we define the scalar product and the norm
The operators and are symmetric and positive definite with respect to this scalar product, hence .
In the case , the discrete inverse problem can be solved directly, time step by time step. More precisely, let Z be the solution of one time step of the PR scheme (3) with zero initial and boundary data, and ; since the operators do not depend on time, Z is computed only once. Due to linearity, , where is obtained from by one step of (3) with . Then the discrete flux condition (see Section 5) gives
hence the discrete inverse problem with has a unique solution if and only if . Since , we have . Therefore, in one step of (5), an error of the data is amplified by a factor of order , and it also propagates to the following steps through and .
The whole amplification is described by a matrix. Let A be the linear map , where solves (3) with and zero initial and boundary data. Since the operators and the weights do not depend on time and the time step is uniform, A is a lower-triangular Toeplitz matrix, and one solution of the direct problem gives the whole matrix. The flux condition is the linear system , where and solves (3) with and the given data. Formula (5) is the forward substitution for this system. For the test problem of Section 7.1 with , the smallest singular value of A is and for all space grids of Section 7, so errors of the data can be amplified by up to . The condition number grows like : it is for and for . This is a discrete manifestation of the ill-posedness of the inverse problem.
For noisy data, the problem must be regularized, either with or by stopping an iterative method early [18,19]. We minimize the functional (2) by the conjugate gradient method (Section 5). It applies to any , to noisy data, and to other observation operators, and its cost per iteration does not depend on . For , it is the conjugate gradient method for the normal equations (CGLS). Formula (5) is specific to , and even with exact data, the discretization error of acts as noise in it. We use it as an independent check (Section 7.7).
4. Adjoint Problem
The first order variations of the solution of the discrete scheme (3), caused by a variation of the source, satisfy the problem
with the initial condition and zero boundary conditions.
Next we will write this problem in an equivalent form without the intermediate level . Subtracting the first equation of (6) from the second one, we get
and substituting this expression into the sum of the two equations of (6) we get the discrete scheme
where . We take the scalar product of (7) with
where are grid functions vanishing on and , multiply by , sum over n, and apply the formula of summation by parts given below together with the symmetry properties of , (see Section 3). This gives
As expected, the obtained problem defines a backward-in-time approximation; in addition, the order of the multiplication of the diffusion operators is reversed. This reversal has a purely discrete origin: the transpose of a product of matrices is the product of the transposes in the reverse order [12], whereas the adjoint problem for the continuous 2D PDE has no order of the directions.
The summation by parts formula
follows by adding two equalities, which are valid for any discrete functions such that , :
Thus, the adjoint problem is defined by the backward-in-time scheme
where is a given grid function (it is specified in Section 5). Then we write the obtained adjoint problem in an equivalent form as a splitting PR scheme
Indeed, eliminating from (8), we obtain the backward scheme given above. If is the solution of (6) and is the solution of (8), then it follows from the obtained summation by parts identity that
It should be emphasized that the new discrete scheme is implemented in the same way as the direct PR scheme; only the order of the directional splitting is changed. Therefore, no new problems arise in the implementation of the algorithm. This property also holds for the parallel algorithms.
Remark 1.
For the operators considered in this paper (a constant coefficient ν, or coefficients , depending on one variable) the matrices and commute; therefore , and the adjoint scheme could also be implemented with the same order of the half-steps as the direct scheme. The reversed order is essential when the operators do not commute, e.g., for a diffusion coefficient depending on both variables; the derived adjoint scheme remains valid in this case, since only the symmetry of and was used. We checked this with a serial reference implementation for in the divergence form (, ). In the dot-product test of Section 7.2, the defect of the reversed-order adjoint is at the level of rounding errors (below relative to ), whereas the same order gives the defect . With this inexact gradient, the CGM loses the conjugacy of its directions and stagnates. For and , the relative residual is still after 40 iterations, while with the exact gradient, it reaches the level of rounding errors after 30 iterations.
5. Gradient of the Regularization Functional and the Conjugate Gradient Minimization Algorithm
The integral in the flux condition is approximated by the two-dimensional trapezoidal formula
and the discrete flux condition reads , , where and . It is clear that the approximation error is of order .
Next we approximate the Tikhonov regularization functional; the time integrals are approximated by the midpoint rule:
The approximation accuracy is of order .
The first order variation of the discrete cost functional (10) is calculated by using the standard definition [38]
Then we solve the adjoint problem (8) with
Hence, the gradient of the cost functional with respect to the scalar product (with the norm ) is given by
where is the scalar product (4).
Proposition 1.
Let V be the solution of the PR scheme (3) and let Φ be the solution of the adjoint PR scheme (8) with . Then the gradient of the discrete functional (10) with respect to the scalar product is given by (12), i.e., the gradient of the fully discrete problem is computed exactly (up to rounding errors).
Proof.
We describe the CGM algorithm in detail, since the parallel algorithms of Section 6 implement it (for its theoretical justification and 1D computational tests, see [30]).
The CGM for nonlinear optimization extends the classical and very efficient linear conjugate gradient algorithm. It is used to find minima of general nonlinear functionals. Our problem is simpler, since only quadratic functionals are minimized. We use the Fletcher–Reeves version of the CGM [39].
- CGM Algorithm
- Choose an initial approximation (we take ), solve the direct problem (3) with , and compute the residualSolve the adjoint problem (8) with , compute the gradient as in Step 2.3 below and define the initial conjugate (minimization) direction .
- For , until a stopping rule given below is satisfied (K denotes the last iteration), make the following steps.
- 2.1
- Calculate the vector with the components , , where is the solution of the discrete problem (with zero initial and boundary conditions and ):
- 2.2
- Update vector f:where the step length is computed by solving a minimization problemThis minimization problem of the quadratic functional is solved exactly (the optimal parameter can be written in several equivalent forms):
- 2.3
- Update the residualand calculate the gradient vector :where is a solution of the adjoint scheme (backward in time):
- 2.4
- Update the new conjugate minimization direction :where
Stopping rules and cost. With exact data, and with , the iterations are stopped when . With noisy data and , we stop the CGM by the discrepancy principle [18,19], i.e., at the first K with . Here is the norm of the data error and . In the timing tests of Section 7, a fixed number of iterations is made. Every iteration needs one solution of the direct problem (step 2.1) and one of the adjoint problem (step 2.3), so a minimization needs solutions of two-dimensional problems. Since the observation is an integral, the adjoint problem needs only the residual , a vector of length N. Therefore, the solution of the direct problem need not be stored (no checkpointing), and the memory is .
6. Parallel Algorithm
At the beginning of this section, we describe two computer systems (computer clusters) used in our computational experiments. They have very different properties, and precisely this fact is responsible for some important challenges in the development of efficient parallel solvers based on 2D ADI discrete schemes.
The first computer system is the VU HPC Saulėtekis cluster of Vilnius University. Each of its nodes has two 16-core Intel Xeon Gold 6130 processors with identical cores. The cluster uses an InfiniBand interconnect with a bandwidth of up to 100 Gb/s, offering high throughput and very low communication latency.
The second computer system is the VILNIUS TECH Warewulf cluster of Vilnius Gediminas Technical University. Each node has one Intel Core i7-12700 processor with 12 cores: eight performance cores (P-cores) and four efficiency cores (E-cores). The nodes are connected by a 1 Gigabit Ethernet network.
The main parameters of both clusters are given in Table 1.
Table 1.
Parameters of the two clusters; and from a ping-pong test (linear fit for messages of 4 KB–32 MB).
One remark follows from the given information on these two computer clusters: it is easier to achieve a good scalability/efficiency of parallel algorithms for clusters with slower cores but faster communication networks than for machines with faster cores but slower communication networks.
The parallel CGM algorithm is implemented by using the data parallel domain decomposition method. Let us assume that a Cartesian process grid is used. Thus the computational grid is decomposed into p two-dimensional rectangular subgrids
Each subdomain has about computational points of the grid . In order to implement the discrete diffusion operators , , one layer of virtual (ghost) points is added on each side of the subdomains. The five point stencil of a point in the grid is made up of the point itself together with its four “neighbors”. The solution values at the virtual points are also updated at each time step of the computations.
6.1. Parallel Algorithms to Solve 1D Tridiagonal Systems of Linear Equations
The main part of computations of one half-step of the ADI scheme consists in solving J tridiagonal systems of J equations. The total complexity of this part of the discrete problem is equal to . The remaining sub-tasks of the CGM algorithm require the computation of the discrete integrals of observation and gradient functions. These integrals also require operations per time step, but they are local to each subdomain and are parallelized trivially (the partial sums are combined by one global reduction per solve); thus, we skip a detailed description of this part.
Now we consider the parallel algorithm for solving J independent systems of tridiagonal linear equations. We describe the x-direction, where the systems are distributed among processes; the y-direction is treated analogously with processes. It is well known that the complexity of solving one tridiagonal system of J equations by the sequential Thomas (factorization) algorithm is equal to about arithmetical operations [36,37]. Thus the total complexity of solving J systems by the sequential algorithm is equal to operations.
- The case of processes in the Cartesian process grid.
A simple modification of the sequential Thomas algorithm is used: the first process of the pair applies the classical factorization algorithm moving from left to right direction of iterations
The second process moves in an opposite direction
Then both processes exchange information and send factorization coefficients and . After that both processes calculate the solution , and implement the backward factorization step with known boundary condition at (or ).
It follows that the amount of computation done by any process in solving one tridiagonal linear system of size J is halved: only about floating point operations are done by each process.
The communication costs can be estimated by the standard model [40]: sending a message of m bytes costs
where is the latency (start-up time) and is the transfer time per byte (the inverse of the bandwidth) of the network. For one system, the two processes exchange two coefficients (16 bytes). Since for most networks , we combine all J independent messages of one iteration stage into one message and send a block of J pairs of factorization coefficients. Then the communication costs are reduced to instead of .
The values of and for both networks are given in Table 1.
- The case of processes in the Cartesian process grid.
When tridiagonal linear systems are distributed between processes, the Wang parallel factorization algorithm is used [31,40]; see also the original paper [23]. The main idea of this method is to transform the given system of size J to a new tridiagonal system of equations, where each process has only one equation of this system.
First we note that the total number of floating point operations of the Wang algorithm is about twice as large as that of the standard factorization algorithm and equal to . This is a price we pay for the parallel Wang algorithm: since only for , should be at least 3 in order to get a speed-up of parallel computations.
For one system, the ideal speed-up of Wang’s algorithm without communication is , i.e., 1.41, 1.88, 3.76, and 7.53 for (both algorithms and their costs are analyzed in [31]). In one PR step on the process grid , each process solves parts of systems of the x-direction and of systems of the y-direction, so its arithmetic is
for the Thomas, the two-process, and Wang’s algorithms. Relative to the sequential operations, this gives three classes of process grids with processes. If , no Wang’s algorithm is needed, , and the efficiency is . With Wang’s algorithm in one direction, (), and in both directions, (). For , at least one direction needs Wang’s algorithm, and grids of the same class have the same arithmetic, so the communication decides which of them is faster (Section 7.4). The measurements follow these classes. On one node, the best grid of the class takes 1.20–1.29 times longer than the best grid of the class (MPI-12 for , MPI-32 for and 4800), while the arithmetic alone gives .
Now we present estimates of communication costs among processes. The implementation of the parallel Wang algorithm requires local send/receive operations between neighbor processes. During algebraic modifications, each process of rank I sends the three coefficients of the first line of its block to process . We use combination of communication subroutines. Again, the messages of all systems of the block are combined into one message.
The reduced tridiagonal systems are solved by the sequential factorization algorithm, in one of two ways. In the first variant, all processes send their last equations to the root process (rank 0 of the subcommunicator) via ; the root process solves the obtained systems sequentially, packs the solutions (for a batch of independent systems), and redistributes them via , while all other processes remain idle during this stage.
In the second variant, a single is done, after which all processes have the data of the small tridiagonal systems and every process redundantly solves the full batch of reduced systems locally. This strategy eliminates the costly collective communication operation and the sequential solution of the reduced systems on the root process.
In all computational experiments, the second variant is used.
6.2. Hybrid MPI+OpenMP Parallelism
The first aim of the hybrid MPI+OpenMP parallelism is to resolve the -core asymmetry of the i7-12700 nodes. In the pure MPI algorithm without hyper-threading, the four efficiency cores of each node are practically useless. We will present the results of experiments showing that simply adding E-cores to the set of P-cores can even decrease the performance of the cluster.
To overcome this problem, we apply hybrid MPI+OpenMP parallelism. OpenMP is an application programming interface (API) that lets programmers write multi-threaded, shared-memory parallel programs [41,42]. It is well suited for the parallelization of independent loops in the code. The idea of the OpenMP strategy is very simple. The computation starts with one main thread. When a parallel region with independent loop iterations is reached, a team of threads is created, and each thread solves the set of independent small subproblems assigned to it by the dynamic (adaptive) distribution of the loop iterations. This dynamic distribution is greedy self-scheduling. A thread that has finished its chunk of systems takes the next one, so faster threads (on the P-cores) solve more systems than slower ones (on the E-cores, or two hardware threads sharing a core). Thus the load inside a node is balanced without a model of the core speeds. A static distribution does not balance the threads. On one node (, single runs) with static scheduling, 12 threads on the 8 P-cores and 4 E-cores take 20% longer than 8 threads on the P-cores alone (535 s vs. 445 s). With dynamic scheduling in chunks of eight systems, they take 8% less (393 s vs. 427 s). The distribution between the MPI processes is uniform: every process has a subdomain of the same size.
The main idea is to use a smaller number of MPI processes, which form the Cartesian grid , and to run a team of OpenMP threads inside each process.
The hybrid algorithm has two additional advantages. First, threads do not take part in MPI communication; therefore, the number of participants of the collective operations is reduced. Second, the process grid becomes smaller, and if , then the Wang algorithm is not needed in this direction of the ADI scheme. Thus the amount of communication is reduced and the number of floating point operations remains about per system. With one process per node, the grids , and on up to four nodes need no Wang’s algorithm (the class of Section 6.1), and the grid on eight nodes needs it in one direction (). Pure MPI with 8–32 processes per node needs it in at least one direction already on one node.
6.3. Implementation
MPI is initialized with , and all MPI calls are made outside OpenMP parallel regions.
For each direction, the following loops over independent systems are parallelized with OpenMP: the assembly of the systems; the sequential forward and backward factorization (); the counter-sweep twin factorization and back substitution (); the three main stages of Wang’s partition algorithm and the back substitution (); and the solution-copy loops of both half-steps of the ADI scheme.
These parts of the code are annotated with
where the chunk size c is the number of systems that a thread takes at a time. We used and , and the times differ by up to 15%.
A particularly convenient feature of this approach is that a single source code can be used to build both variants of the parallel solver. When compiled with the -fopenmp (GNU) or -qopenmp (Intel) option, the code produces a hybrid MPI+OpenMP executable. When compiled without the OpenMP option, the OpenMP directives are ignored, resulting in a pure MPI executable.
7. Numerical Experiments and Scalability Analysis
7.1. Test Problem
We solve problem (1) with , and . The test problem is adapted from [1]: the functions , , the boundary values of u, and the data are chosen such that the exact solution is
hence with . The source term of the data is . The exact value is . The code computes C by the trapezoidal formula with , and this value differs from the exact one by (relative), far below the errors studied in Section 7.7. In the timing tests, the data are exact, , , , and CGM iterations are made. This is a fixed workload, not a converged solution (Section 7.7). In the strong scalability tests or , i.e., the space grids contain and points.
7.2. Verification of the Discrete Gradient
We verify the gradient (12) of the discrete functional by two standard tests [13,14]. In the dot-product test, we take random vectors p and (with a fixed seed) and compute with the direct solver and with the adjoint solver. Here A is the matrix of Section 3, , and solves (8) with . By (9), the two numbers are equal, and their difference measures the rounding errors. In the Taylor test, we compare with . Since the functional is quadratic, the remainder is exactly , and the central difference quotient equals for every .
Table 2 gives the results for and , for the serial code on both clusters (the Thomas algorithm in both directions) and for three runs on eight nodes, which use the two-process and Wang’s algorithms. The defect of the dot-product test is at most , and the parallel runs reproduce of the serial run to in the same units. In the Taylor test, the remainder agrees with its exact value to and the central quotient with to (relative). This holds at and, in the runs on eight nodes, also at . For , the rounding errors of dominate. The tests for and give the same results. The test with non-commuting operators is described in Remark 1.
Table 2.
Verification of the discrete gradient (, ). Dot-product test with random p, (fixed seed), for which and in all runs. The table gives the defect and the distance of to the serial run of the same cluster, in the same units (*: to the serial run on Warewulf, –: the reference itself). In the Taylor test (the maximum over ), is the remainder divided by its exact value, and is the relative error of the central difference quotient.
As an independent check of the whole iteration, we compare the CGM of the parallel code for with CGLS applied to the matrix A. In all 20 runs of Section 7.7, the errors of the iterates of both methods agree to (relative) up to iteration 19. Later iterates are affected by rounding errors and differ slightly, for example, between process grids, but the number of iterations at a tolerance and the lowest error do not change.
7.3. Computational Setup
We report the wall-clock time measured by on process 0 from the start of the program (after the initialization of MPI) to the end of the last CGM iteration. It includes the setup (the process topology, the allocation, and the initialization of the arrays), which takes at most 0.1% of the time, the initial direct and adjoint solutions, and the K iterations. The factorization coefficients of the tridiagonal systems are computed again in every half-step. For parts of the solver, such as , we report the maximum time over the processes, which includes the waiting.
On the Warewulf cluster, the processes and threads are bound to cores or hardware threads, and in multi-node runs uses the ring algorithm of Open MPI. The pure MPI versions run 8 processes per node on the P-cores (MPI-8), 12 on all cores (MPI-12), 16 on the hardware threads of the P-cores (MPI-16), or 20 on all hardware threads (MPI-20). The hybrid versions run one MPI process per node with 8 threads on the P-cores (P8), 16 threads on the hardware threads of the P-cores (P16), 12 threads on all cores (T12), or 20 threads on all hardware threads (T20). T20 is the hybrid version of Table 3. On the Saulėtekis cluster, 32 MPI processes per node are used (MPI-32), one per core.
Table 3.
Strong scaling: median wall-clock time in seconds of 3–6 runs (, ) on the process grid with the lowest median (in parentheses). The spread (max − min)/median is at most 2.4% except in the two cells marked * (one slow run each). Warewulf: hybrid = 1 MPI process with 20 OpenMP threads per node (T20, chunk size 8, or 4 for on 1 and 2 nodes), MPI-8 and MPI-12 = 8 and 12 MPI processes per node. Saulėtekis: MPI-32 = 32 MPI processes per node.
Each case was run on several process grids and repeated 3–6 times. Following [43], we report the median time on the grid with the lowest median, together with this grid. For the hybrid versions, we report the faster of the chunk sizes 4 and 8 (Section 6.3). The spread (max − min)/median is at most 2.4% in 30 of the 32 cells of Table 3, and the medians exceed the minima by at most 0.8%. The serial runs with one process (, ) take 2297.4 s on the Warewulf cluster and 5824.2 s on the Saulėtekis cluster.
7.4. Strong Scaling
The strong scaling results on both clusters are presented in Table 3.
- Choice of the process grid.
For a given number of processes, the process grid determines both the amount of computation (Section 6.1) and the communication. Since the processes are numbered row by row and placed on the nodes in blocks, the grid (n nodes, k processes per node) keeps all communication of the y-direction inside the nodes. The effect is large. On one node of the Warewulf cluster (), MPI-12 takes 478.7 s on the grid, 517.9 s on , and 616.7 s on . On eight nodes, the hybrid version (chunk size 4) takes 64.6 s on and 109.0 s on . On the Saulėtekis cluster (), the grid is the fastest on one node (840.7 s vs. 1100.6 s on the near-square grid ), but on eight nodes, the near-square grid wins (108.5 s vs. 292.1 s on ). Therefore, the process grid is a tuning parameter. We choose it once for each version, cluster, and number of nodes from such scans, and Table 3 gives it in each cell. The second best grid takes 1–28% longer than the best one (the hybrid version was scanned with the chunk size 4). For pure MPI on the Warewulf cluster, the node-aligned grid is the best grid on 2–8 nodes, with two exceptions. For MPI-8 on eight nodes, it is 16% () and 12% () slower than the grid , and in two cells with on four nodes, it is 2–3% slower than the best grid. With the node-aligned grid on eight nodes, the efficiency of MPI-8 in conclusion 3 below would be 61% instead of 71% for . The conclusions do not change.
Three conclusions follow from these results.
- If the pure MPI algorithm uses all 12 cores of each node (MPI-12), the computation takes 7–22% longer than with the 8 P-cores only (MPI-8), in all cases. The domain is divided into equal parts, so the processes on the P-cores wait for those on the E-cores. On one node, MPI-12 spends 214 s of its 479 s in , and MPI-8 only 24 s. In the hybrid version, the E-cores do help. With 16 threads on the P-cores only, the one-node time is 3.6% () and 4.9% () longer than with all 20 threads.
- The hybrid version is faster than MPI-8 and MPI-12 in all cases, and MPI-8 takes 10–53% longer. However, this comparison uses 20 hardware threads per node for the hybrid version and only 8 or 12 for pure MPI. Section 7.5 compares both versions on the same hardware.
- The strong scaling on the Saulėtekis cluster is very efficient for problems of both sizes. The efficiency on eight nodes is 134% for and 97% for , and for , eight nodes (256 cores) are 331 times faster than the serial run. The superlinear speed-up for is supported by the time per grid point, , measured on one node with the grid fixed. Relative to ( grid points per process), it is 1.09, 1.29, and 1.43 for , 2400, and 4800 ( points per process). This is consistent with a cache effect: the larger the subdomain, the less well the working set of a process fits into the caches. On eight nodes (, points per process), the time per grid point is 0.96, although this grid uses Wang’s algorithm in both directions. On the Warewulf cluster, the efficiency on eight nodes is 63–86% for and 78–86% for , and eight nodes of the hybrid version are 39.8 times faster than the serial run.
7.5. Hybrid and Pure MPI Versions on the Same Hardware
To separate the programming model from the hardware (conclusion 2), we ran both versions on the same four sets of hardware threads per node (Table 4, , the best grid for pure MPI).
Table 4.
Hybrid and pure MPI versions on the same hardware threads per node (, median of 3 runs, times in seconds). Pure MPI runs one process per hardware thread (the best grid in parentheses). The hybrid version uses the same threads with the chunk sizes 4 and 8, and the faster one is in bold. The last column gives with the faster chunk size, so it is negative when the hybrid version is faster. P, E: performance and efficiency cores. HT: hyper-threading.
On eight nodes, the hybrid version is faster on every set, by 13–33%, and T20 (57.7 s) is 27% faster than the best pure MPI version of any set (MPI-8, 78.8 s). The reason is the communication. With one process per node, fewer processes take part in the collective operations, and takes 17–18 s in every hybrid version but 37–65 s in pure MPI. Hyper-threading and the E-cores make the hybrid version faster on eight nodes (P8→P16: , P8→T12: ), but not pure MPI.
On one node, the hybrid version is faster without hyper-threading (P8 and T12), but with hyper-threading, pure MPI is faster (P16: , T20: ). MPI-20 (, 382.7 s) is the fastest one-node configuration. The best hybrid version (T12, 393.3 s) takes 2.8% longer. Without hyper-threading, the E-cores slow pure MPI down (conclusion 1), but with it they help. A probable reason is that a hardware thread of a P-core runs at a speed close to that of an E-core, so the equal subdomains are nearly balanced again: MPI-20 spends only 20 s in .
7.6. Weak Scaling
Weak scaling is investigated by holding the work per core constant. Thus the size J of the space grid is changed according to the number of nodes n used in the computations,
and we fix . Table 3 contains two such cases, and , and we also ran the cases and .
The weak efficiency on eight nodes is 74% on the Saulėtekis cluster and 68–72% on the Warewulf cluster (hybrid 72%, MPI-8 68%, MPI-12 70%). On the Saulėtekis cluster, almost all of this loss occurs between one and two nodes. It is not a cache effect: all cases of this family have about grid points per process. The timers of the solver show that it comes from the communication of Wang’s algorithm. On two nodes, the grid solves the systems of the y-direction with 32 processes that span both nodes. The time of grows from 2.8 s to 15.5 s, and that of the redundant solution of the reduced systems from 3.2 s to 15.4 s, while the total time grows from 80.0 s to 103.5 s.
Relative to two nodes, the weak efficiency is 95% on the Saulėtekis cluster, but only 73–78% on the Warewulf cluster. The InfiniBand network is fast enough for the given grids and numbers of cores, while the 1 Gigabit Ethernet network is too slow for the dependence .
7.7. Accuracy of the Reconstruction and Convergence of the CGM
In this section, the source is reconstructed with the hybrid version (T20, chunk size 8) on one node, and for on four nodes (grid ), with and . The error is .
Exact data. Table 5 and Figure 1b show the convergence for –4800. With the gradient tolerance , the CGM stops after 29–31 iterations for every J, with errors of about , and with after 99–105 iterations. Thus the number of iterations at a fixed tolerance does not depend on the space grid. The iterations of the timing tests give the error . With more iterations, the error decreases until it reaches the error of the data, i.e., the discretization error of . For , the lowest error is reached at , and the error grows afterwards (semi-convergence), whereas for , it still decreases at . Formula (5) gives the exact solution of (Section 3), in which the discretization error of is amplified by . For , the CGM after 300 iterations is 5.4, 4.7, and 1.4 times more accurate than Formula (5), and only for is the Formula (5) more accurate.
Table 5.
Accuracy for exact data (, , ). The table gives the number of CGM iterations K at which , the residual and the relative error , as well as the error at and the error of Formula (5).
Figure 1.
Accuracy of the reconstruction (). (a) The exact source f and two reconstructions from noisy data (, , one realization): the CGM with stopped by the discrepancy principle, and the CGM for the Tikhonov functional with the best of the grid. The legend gives the number of iterations K and the relative error . (b) The relative error for exact data, with dots at the stop by the gradient tolerance . Up to , the errors of the four grids differ by less than 10%, so their curves and dots overlap. (c) for noisy data (, , no stop), with dots at the stop by the discrepancy principle. The dotted lines in (b,c) show the error of Formula (5) for the same data.
Noisy data. The noisy data are , , where are independent standard normal random numbers (the generator mt19937_64 with a fixed seed), and the half-step data are the averages of two neighboring values. For and one realization, the noise levels and give and (Table 6, Figure 1a,c). With , the error first decreases and then grows, i.e., the CGM regularizes by early stopping. The discrepancy principle stops it after 3 and 1 iterations, with the errors 1.0% and 4.5%, close to the lowest errors 0.79% and 3.7%. Without a stop, the error after 100 iterations is 11% and 112%. Formula (5) gives 12% and 120%, so it cannot be used for noisy data. With and the gradient tolerance , the best of the grid gives the larger errors 2.7% and 9.3%. The reason is that the source lies almost entirely in the two right singular vectors of A with the largest singular values (98% of ). The CGM with adapts its filter to the data [19] and recovers these components in a few iterations, before the noise in the other components enters. The Tikhonov filter factors , with the singular values of A, do not depend on the data. Therefore, an that suppresses the noise also damps the source, by the factor 0.93 for (Figure 1a). The number of iterations for depends strongly on (7–124 and 7–177 for the two noise levels, more for smaller ), whereas the cost of one iteration does not.
Table 6.
Accuracy for noisy data (, , one realization). : stopped by the discrepancy principle (DP, ), at the best K (known only from the exact f), and without a stop at . : stopped at , with the lowest error of the grid in bold. in per cent.
Choice of the regularization parameter. Since the matrix A is assembled from one solution of the direct problem, the choice of the regularization parameter can be studied for many noise realizations at a low cost. For 100 realizations of the same noise model (), the discrepancy principle gives the median errors 0.97% and 3.8% for the CGM with , close to the best K (0.82% and 3.2%). For the exact minimizer of the Tikhonov functional, it gives 3.0% and 10%, close to the best (2.4% and 9.9%). The L-curve [44] and the generalized cross-validation choose too small for this noise model, in which the averaging makes the noise of neighboring half-step values correlated. Their median errors are 12% and 26% (L-curve) and 11% and 112% (generalized cross-validation). Thus, for this problem, the CGM stopped by the discrepancy principle is both the cheapest and the most accurate of the methods studied.
7.8. Limitations
The hybrid version uses , so communication and computation do not overlap. The grid is divided into equal parts among the MPI processes. The dynamic scheduling balances the threads only inside a node, and pure MPI cannot use the E-cores efficiently without hyper-threading. Part of the advantage of the hybrid version in Table 3 comes from hyper-threading and the E-cores (Section 7.5). On eight nodes of the Warewulf cluster, the 1 Gigabit Ethernet network bounds the scalability: takes 31% of the time of the hybrid version (T20) and 47–68% of the time of pure MPI. Finally, only two clusters, up to eight nodes and two-dimensional problems were studied.
8. Conclusions
In this work, we developed and analyzed a set of robust numerical parallel algorithms for solving two-dimensional inverse parabolic problems.
The source function is reconstructed by minimizing the discrete Tikhonov functional with the conjugate gradient method. The adjoint problem is derived from the discrete Peaceman–Rachford scheme: it is again a PR scheme, solved backward in time with the reversed order of the directional operators, and it gives the exact gradient of the discrete functional (Proposition 1). Therefore the direct and the adjoint problems are solved by the same parallel algorithm. The order matters when the directional operators do not commute. The gradient computed in this way was verified to rounding errors by dot-product and Taylor tests, in serial and parallel runs on both clusters.
The parallel algorithm is based on a two-dimensional decomposition of the grid. The tridiagonal systems of the ADI scheme are solved by a modification of the Thomas algorithm for two processes and by Wang’s algorithm for more processes. Reduced systems are solved redundantly after one . The hybrid MPI+OpenMP version is built from the same source code.
The efficiency of the parallel algorithms depends strongly on the computer system. On the Saulėtekis cluster with the InfiniBand network, the strong scaling efficiency on eight nodes relative to one node is 134% for and 97% for , and the solver is 331 times faster than on one core. The weak scaling efficiency on eight nodes is 74% relative to one node and 95% relative to two nodes. The loss between one and two nodes comes from the communication of Wang’s algorithm. On the Warewulf cluster, with fast cores and a slow 1 Gigabit Ethernet network, the hybrid version is 13–33% faster than pure MPI on the same hardware of eight nodes, because fewer processes communicate. On one node, pure MPI with one process per hardware thread is slightly faster.
With exact data, the number of CGM iterations at a fixed tolerance does not depend on the space grid. With noisy data, the CGM with stopped by the discrepancy principle recovers the source with errors of 1.0% and 4.5% for the noise levels and , more accurately than the Tikhonov method with the best .
In future work, we plan to distribute the grid among the processes according to the speed of their cores [28,29] and to overlap communication and computation. We also plan to port the solver to GPUs with batched tridiagonal solvers [25], to solve three-dimensional problems with splitting schemes that are suitable in 3D [35] together with their exact discrete adjoints, and to compare the proposed algorithms with neural network methods.
Author Contributions
Conceptualization, R.Č.; Methodology, R.Č.; Software, V.S. and K.B.; Validation, K.B.; Writing—Original Draft, R.Č. and V.S.; Writing—Review and Editing, V.S. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Data Availability Statement
The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.
Acknowledgments
Computations were performed using the high performance computing resources of the supercomputer VU HPC Saulėtekis of Vilnius University (Faculty of Physics) and of the VILNIUS TECH Warewulf cluster of Vilnius Gediminas Technical University.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Hào, D.N.; Thanh, P.X.; Lesnic, D.; Ivanchov, M. Determination of a source in the heat equation from integral observations. J. Comput. Appl. Math. 2014, 264, 82–98. [Google Scholar] [CrossRef] [Scilit]
- Koleva, M.N.; Vulkov, L.G. Inverse problem for parabolic equation with dynamic integral boundary conditions. Axioms 2026, 15, 547. [Google Scholar] [CrossRef] [Scilit]
- Janno, J.; Kinash, N. Reconstruction of an order of derivative and a source term in a fractional diffusion equation from final measurements. Inverse Probl. 2018, 34, 025007. [Google Scholar] [CrossRef] [Scilit]
- Samarskii, A.; Vabishchevich, P. Numerical Methods for Solving Inverse Problems of Mathematical Physics; de Gruyter: Berlin, Germany, 2007. [Google Scholar] [CrossRef] [Scilit]
- Lesnic, D. Inverse Problems with Applications in Science and Engineering; CRC Press: Abingdon, UK, 2021. [Google Scholar] [CrossRef] [Scilit]
- Chorfi, S.E.; El Guermai, G.; Maniar, L.; Zouhair, W. Numerical identification of initial temperatures in heat equation with dynamic boundary conditions. Mediterr. J. Math. 2023, 20, 256. [Google Scholar] [CrossRef] [Scilit]
- Slodička, M. A parabolic inverse source problem with a dynamical boundary condition. Appl. Math. Comput. 2015, 256, 529–539. [Google Scholar] [CrossRef] [Scilit]
- Hasanov, A.; Pektaş, B. Identification of an unknown time-dependent heat source term from overspecified Dirichlet boundary data by conjugate gradient method. Comput. Math. Appl. 2013, 65, 42–57. [Google Scholar] [CrossRef] [Scilit]
- Hào, D.N.; Huong, B.V.; Oanh, N.T.N.; Thanh, P.X. Determination of a term in the right-hand side of parabolic equations. J. Comput. Appl. Math. 2017, 309, 28–43. [Google Scholar] [CrossRef] [Scilit]
- Hinze, M.; Pinnau, R.; Ulbrich, M.; Ulbrich, S. Optimization with PDE Constraints; Springer: Dordrecht, The Netherlands, 2009. [Google Scholar] [CrossRef] [Scilit]
- Apel, T.; Flaig, T.G. Crank–Nicolson schemes for optimal control problems with evolution equations. SIAM J. Numer. Anal. 2012, 50, 1484–1512. [Google Scholar] [CrossRef] [Scilit]
- Griewank, A.; Walther, A. Evaluating Derivatives: Principles and Techniques of Algorithmic Differentiation, 2nd ed.; SIAM: Philadelphia, PA, USA, 2008. [Google Scholar] [CrossRef] [Scilit]
- Navon, I.M.; Zou, X.; Derber, J.; Sela, J. Variational data assimilation with an adiabatic version of the NMC spectral model. Mon. Weather Rev. 1992, 120, 1433–1446. [Google Scholar] [CrossRef] [Scilit]
- Farrell, P.E.; Ham, D.A.; Funke, S.W.; Rognes, M.E. Automated derivation of the adjoint of high-level transient finite element programs. SIAM J. Sci. Comput. 2013, 35, C369–C393. [Google Scholar] [CrossRef] [Scilit]
- Čiegis, R. Numerical algorithms to solve one inverse problem for Navier–Stokes equations. Nonlinear Anal. Model. Control 2025, 30, 771–791. [Google Scholar] [CrossRef] [Scilit]
- Kaulakytė, K.; Kozulinas, N.; Pileckas, K. Time-periodic Poiseuille-type solution with minimally regular flow rate. Nonlinear Anal. Model. Control 2021, 26, 947–968. [Google Scholar] [CrossRef] [Scilit]
- Lamm, P.K. A survey of regularization methods for first-kind Volterra equations. In Surveys on Solution Methods for Inverse Problems; Colton, D., Engl, H.W., Louis, A.K., McLaughlin, J.R., Rundell, W., Eds.; Springer: Vienna, Austria, 2000; pp. 53–82. [Google Scholar] [CrossRef] [Scilit]
- Engl, H.W.; Hanke, M.; Neubauer, A. Regularization of Inverse Problems; Kluwer Academic Publishers: Dordrecht, The Netherlands, 1996. [Google Scholar]
- Hanke, M. Conjugate Gradient Type Methods for Ill-Posed Problems; Longman Scientific & Technical: Harlow, UK, 1995. [Google Scholar]
- Raissi, M.; Perdikaris, P.; Karniadakis, G.E. Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations. J. Comput. Phys. 2019, 378, 686–707. [Google Scholar] [CrossRef] [Scilit]
- Lu, L.; Meng, X.; Mao, Z.; Karniadakis, G.E. DeepXDE: A deep learning library for solving differential equations. SIAM Rev. 2021, 63, 208–228. [Google Scholar] [CrossRef] [Scilit]
- Zhang, X.; Li, Z. Convergence analysis of a PINNs-based approach to the inverse source problem of the heat equation with local measurements. J. Comput. Appl. Math. 2026, 476, 117077. [Google Scholar] [CrossRef] [Scilit]
- Wang, H.H. A parallel method for tridiagonal equations. ACM Trans. Math. Softw. 1981, 7, 170–183. [Google Scholar] [CrossRef] [Scilit]
- Sun, X.H.; Zhang, H.; Ni, L.M. Efficient tridiagonal solvers on multicomputers. IEEE Trans. Comput. 1992, 41, 286–296. [Google Scholar] [CrossRef] [Scilit]
- Yang, M.; Kang, J.H.; Kim, K.H.; Kwon, O.K.; Choi, J.I. PaScaL_TDMA 2.0: A multi-GPU-based library for solving massive tridiagonal systems. Comput. Phys. Commun. 2023, 290, 108785. [Google Scholar] [CrossRef] [Scilit]
- Rabenseifner, R.; Hager, G.; Jost, G. Hybrid MPI/OpenMP parallel programming on clusters of multi-core SMP nodes. In Proceedings of the 17th Euromicro International Conference on Parallel, Distributed and Network-Based Processing (PDP 2009); IEEE: Piscataway, NJ, USA, 2009; pp. 427–436. [Google Scholar] [CrossRef] [Scilit]
- Rotem, E.; Yoaz, A.; Rappoport, L.; Robinson, S.J.; Mandelblat, J.Y.; Gihon, A.; Weissmann, E.; Chabukswar, R.; Basin, V.; Fenger, R.; et al. Intel Alder Lake CPU architectures. IEEE Micro 2022, 42, 13–19. [Google Scholar] [CrossRef] [Scilit]
- Saez, J.C.; Castro, F.; Prieto-Matias, M. Enabling performance portability of data-parallel OpenMP applications on asymmetric multicore processors. In Proceedings of the 49th International Conference on Parallel Processing (ICPP ’20); ACM: New York, NY, USA, 2020; p. 51. [Google Scholar] [CrossRef] [Scilit]
- Beaumont, O.; Boudet, V.; Rastello, F.; Robert, Y. Partitioning a square into rectangles: NP-completeness and approximation algorithms. Algorithmica 2002, 34, 217–239. [Google Scholar] [CrossRef] [Scilit]
- Čiegis, R.; Suboč, O.; Starikovičius, V. Numerical algorithms to solve inverse problems for parabolic equations. Math. Model. Anal. 2026, 31, 246–266. [Google Scholar] [CrossRef] [Scilit]
- Čiegis, R. Parallel numerical algorithms for 3D parabolic problem with nonlocal boundary condition. Informatica 2006, 17, 309–324. [Google Scholar] [CrossRef] [Scilit]
- Pileckas, K.; Keblikas, V. Existence of a nonstationary Poiseuille solution. Sib. Math. J. 2005, 46, 514–526. [Google Scholar] [CrossRef] [Scilit]
- Prilepko, A.I.; Orlovsky, D.G.; Vasin, I.A. Methods for Solving Inverse Problems in Mathematical Physics; Marcel Dekker: New York, NY, USA, 2000. [Google Scholar]
- Golub, G.H.; Hansen, P.C.; O’Leary, D.P. Tikhonov regularization and total least squares. SIAM J. Matrix Anal. Appl. 1999, 21, 185–194. [Google Scholar] [CrossRef] [Scilit]
- Douglas, J. Alternating direction methods for three space variables. Numer. Math. 1962, 4, 41–63. [Google Scholar] [CrossRef] [Scilit]
- Hundsdorfer, W.; Verwer, J. Numerical Solution of Time-Dependent Advection-Diffusion-Reaction Equations; Springer Series in Computational Mathematics; Springer: Berlin/Heidelberg, Germany, 2003; Volume 33. [Google Scholar] [CrossRef] [Scilit]
- Samarskii, A.A. The Theory of Difference Schemes; Marcel Dekker: New York, NY, USA, 2001. [Google Scholar] [CrossRef] [Scilit]
- Tröltzsch, F. Optimal Control of Partial Differential Equations: Theory, Methods and Applications; Graduate Studies in Mathematics; American Mathematical Society: Providence, RI, USA, 2010; Volume 112. [Google Scholar] [CrossRef] [Scilit]
- Fletcher, R.; Reeves, C.M. Function minimization by conjugate gradients. Comput. J. 1964, 7, 149–154. [Google Scholar] [CrossRef] [Scilit]
- Kumar, V.; Grama, A.; Gupta, A.; Karypis, G. Introduction to Parallel Computing: Design and Analysis of Algorithms; Benjamin/Cummings: Redwood City, CA, USA, 1994. [Google Scholar]
- OpenMP Architecture Review Board. OpenMP Application Programming Interface, Version 5.0. 2018. Available online: https://www.openmp.org/specifications/ (accessed on 19 November 2026).
- Chapman, B.; Jost, G.; van der Pas, R. Using OpenMP: Portable Shared Memory Parallel Programming; MIT Press: Cambridge, MA, USA, 2008. [Google Scholar]
- Hoefler, T.; Belli, R. Scientific benchmarking of parallel computing systems: Twelve ways to tell the masses when reporting performance results. In Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis (SC ’15); ACM: New York, NY, USA, 2015; p. 73. [Google Scholar] [CrossRef] [Scilit]
- Hansen, P.C. Analysis of discrete ill-posed problems by means of the L-curve. SIAM Rev. 1992, 34, 561–580. [Google Scholar] [CrossRef] [Scilit] [PubMed]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
