Skip to main content
Elsevier - PMC COVID-19 Collection logoLink to Elsevier - PMC COVID-19 Collection
. 2020 Apr 9;377:112915. doi: 10.1016/j.cam.2020.112915

An adaptive parareal algorithm

Y Maday a,b, O Mula c,d,
PMCID: PMC7155213  PMID: 32292231

Abstract

In this paper, we consider the problem of accelerating the numerical simulation of time dependent problems by time domain decomposition. The available algorithms enabling such decompositions present severe efficiency limitations and are an obstacle for the solution of large scale and high dimensional problems. Our main contribution is the improvement of the parallel efficiency of the parareal in time method. The parareal method is based on combining predictions made by a numerically inexpensive solver (with coarse physics and/or coarse resolution) with corrections coming from an expensive solver (with high-fidelity physics and high resolution). At convergence, the algorithm provides a solution that has the fine solver’s high-fidelity physics and high resolution. In the classical version, the fine solver has a fixed high accuracy which is the major obstacle to achieve a competitive parallel efficiency. In this paper, we develop an adaptive variant that overcomes this obstacle by dynamically increasing the accuracy of the fine solver across the parareal iterations. We theoretically show that the parallel efficiency becomes very competitive in the ideal case where the cost of the coarse solver is small, thus proving that the only remaining factors impeding full scalability become the cost of the coarse solver and communication time. The developed theory has also the merit of setting a general framework to understand the success of several extensions of parareal based on iteratively improving the quality of the fine solver and re-using information from previous parareal steps. We illustrate the actual performance of the method in stiff ODEs, which are a challenging family of problems since the only mechanism for adaptivity is time and efficiency is affected by the cost of the coarse solver.

Keywords: Domain decomposition, Parareal in time algorithm, Parallel efficiency, Convergence rates, Inexact fine solver, a posteriori estimators

1. Introduction

Solving complex models with high accuracy and within a reasonable computing time has motivated the search for numerical schemes that exploit efficiently parallel computing architectures. In this paper, the model consists of a Partial Differential Equation (PDE) set on a domain D. In this context, one of the main ideas to parallelize a simulation is to break the problem into subproblems defined over subdomains of a partition of D. The domain can potentially have high dimensionality and be composed of different variables like space, time, velocity or even more specific variables for some problems. While there exist algorithms with very good scalability properties for the decomposition of the spatial variable in elliptic and saddle-point problems (see [1] or [2] for an overview), the same cannot be said for the decomposition of time of even simple systems of ODEs. This is despite the fact that research on time domain decomposition is currently very active and has by now a history of at least 50 years (back to at least [3]) during which several algorithms have been explored (see [4] for an overview). As a consequence, time domain decomposition is to date only a secondary option when it comes to deciding what algorithm/method distributes the tasks in a parallel cluster.

The main goal of this work is to address this efficiency limitation in the framework of one particular scheme: the parareal in time algorithm. The method was first introduced in [5] and has been well accepted by the community because it is easily applicable to a relatively large spectrum of problems. (Some specific difficulties are nevertheless encountered on certain types of PDEs as reported in, e.g., [6], [7] for hyperbolic systems or [8], [9] for hamiltonian problems). Another ingredient for its success is that, even though its scalability properties are limited, they are in general competitive in comparison with other methods. Without entering into very specific details of the algorithm at this stage, we can summarize the procedure by saying that we build iteratively a sequence to approximate the exact solution of the problem by a predictor–corrector algorithm. At every iteration, predictions are made by a solver which has to be as numerically inexpensive as possible since it is run on the full time interval. It usually involves coarse physics and/or coarse resolution. Corrections involve an expensive solver with high-fidelity physics and high resolution which is propagated in parallel over small time subdomains. In the classical version of parareal, the fine solver has a fixed high accuracy across all iterations. It is set to the one that we would use to solve the dynamics at the desired accuracy with a purely sequential solver. It is well-known that this point is the major obstacle to achieve better parallel efficiency. In this paper, we propose an adaptive variant where the accuracy of the fine solver is increased across the iterations. Our main goal is to show that this new point of view overcomes the obstacle of the cost of the fine solver and that the only remaining factors limiting high performance become the cost of the coarse solver and communication time. We refer to, e.g., [10] for contributions on the lowering of the cost of that coarse solver.

We present in Section 2 the new adaptive point of view. This requires to formulate an idealized version of the parareal algorithm in an infinite dimensional function space where the fine propagations are replaced by the exact ones (Section 2.2). Since this scheme is obviously not implementable in practice, we formulate a feasible “perturbed” version that involves approximations of the exact propagations at increasing accuracy across the iterations (Section 2.3). The accuracies are tightened in such a way that the feasible adaptive algorithm converges at the same rate as the ideal one and with a near-minimal numerical cost. The identified tolerances involve quantities that are difficult to estimate in practice. In addition, they may not be optimal because they are derived from a theoretical convergence analysis based on abstract conditions for the coarse and fine solvers. We bridge this gap between theory and actual implementation by proposing practical guidelines to set these tolerances. We next explain in Section 2.4 how the new formulation invites to use adaptive schemes not only in the time variable, but also in other variables that may be involved in the dynamics. The performance of the algorithm could also be enhanced by re-using informations from previous iterations in order to limit the cost of internal solvers. The techniques for this will strongly depend on the nature of the specific problem. We discuss common situations in Appendix. We close Section 2.5 by listing the main advantages of the new framework and how the classical parareal paradigm can be formulated with the optics of the new standpoint.

The parallel performance of the adaptive scheme is difficult to predict a priori but in Section 3 we carry a discussion where we show that it will always be superior to the classical approach. In the idealized situation where the cost of the coarse solver and communication delays are negligible, we show that the algorithm would exhibit a very high parallel efficiency.

We emphasize that our theory is general in the sense that it is applicable to ODEs and also to PDEs involving time, space and possibly other variables. We defer to a future work the presentation of a numerical PDE example since it requires the deployment of space–time adaptive methods which is a challenging topic in itself and the techniques usually depend very specifically on the problem nature. Instead, we illustrate the performance of the algorithm on stiff ODEs in Section 4. They are a challenging family of problems because the only source of adaptivity is time and they do not allow to use a very inexpensive coarse solver. The tested ODEs are the Brusselator, the Van der Pol, the Oregonator equations, and an SEIR model which has very recently been proposed in [11] to model the spread of the COVID-19 virus in the Wuhan city area. The code to reproduce our results (and experiment with other ODEs) is available online.1 Our first two examples are relatively stiff, while the other two are highly stiff, and serve to illustrate the limitations of the approach. We show that in the relatively stiff problems, the adaptive parareal algorithm performs between 2 to 3 times better than the classical one when the solution is approximated at high accuracy. In addition, we confirm in these two examples that the only remaining obstacles to achieve a very competitive performance are the cost of the coarse solver and communication time between processors. Due to the nature of the algorithm, it is not clear how to overcome these limitations, especially the one coming from the coarse solver. This issue will come at the forefront for future research since, as our two highly stiff examples illustrate, the cost of the coarse solver may even prevent from obtaining any speed-up at all. We show that if we could find an inexpensive coarse solver, perhaps based on empirical data or on good back-of the envelope calculations, our adaptive algorithm would yield interesting speeds-ups even in highly stiff cases.

In addition to the improvement in parallel efficiency (except, of course, in the above discussed extreme cases), the adaptive version of parareal brings an important conceptual novelty to the field of time domain decomposition which is the one of error controlled computations. By this we mean that the deviation of the numerical result from the exact continuous solution is certifiably quantified and set to meet a given target accuracy with respect to a problem relevant norm. This requires the formulation of the algorithm at an infinite dimensional level as is done in this paper. This point of view is fundamentally different from the fully discrete setting in which the parareal algorithm has always been thought of in practice. That is, we first fix a discretization (often on a uniform grid) and then speed-up the computation of the discrete evolution with parareal. In this way, we do not have any rigorous control of the error with respect to the actual continuous solution and we do not have any systematic procedure to minimize the number of degrees of freedom.

We conclude this introduction by some bibliographical remarks. To the best of our knowledge, the current abstract and broad formulation of an adaptive version of parareal has never been proposed in the literature. However, previous works have instantiated in a variety of particular applications the idea of re-using information from previous parareal iterations, either with the purpose of improving the quality of the fine solver or to build an initial guess of internal iterative routines. Among the most relevant ones stand the coupling of the parareal algorithm with spatial domain decomposition (see[12], [13], [14]), the combination of the parareal algorithm with iterative high order methods in time like spectral deferred corrections (see [15], [16], [17]). Parareal has also been combined with multigrid iterative techniques which, in addition, involve a hierarchy of space–time meshes (see [18], [19]). In a similar spirit, we can also cite applications of the parareal algorithm to solve optimal control problems where information from previous steps is used (see [12], [20]). In Appendix, we briefly explain in what sense the above strategies can be seen as particular instances of the current approach and how our viewpoint could help to give them more solid theoretical foundations. The idea of re-using information as a starting guess for internal iterative solvers is also discussed in the Appendix. It has been explored in several different works, e.g. [17], [18], and [21] provides a convergence analysis in simple situations (a more complete analysis will be proposed in a forthcoming work).

2. An adaptive parareal algorithm

In this section, after introducing some preliminary notations in Section 2.1, we formulate an ideal parareal scheme on an infinite dimensional functional setting (Section 2.2). We then present feasible realizations involving a fine solver whose accuracy is adaptively increased across the iterations (Section 2.3). We prove that the feasible adaptive algorithm converges at the same rate as the ideal one provided that the tolerances of the fine solver are increased at certain rate which will be discussed. Finally, we discuss how the new paradigm can be realized thanks to adaptive schemes and/or the re-use of information from previous steps (Section 2.4 and Appendix). In Section 2.5, we connect the new adaptive formulation with the classical parareal algorithm and list the main advantages of the new standpoint.

2.1. Setting and preliminary notations

Let U be a Banach space of functions defined over a domain ΩRd (d1), e.g. U=L2(Ω). Let

E:[0,T]×[0,T]×UU

be a propagator, that is, an operator such that, for any given time t[0,T], s[0,Tt] and any function wU, E(t,s,w) takes w as an initial value at time t and propagates it at time t+s. We assume that E satisfies the semi group property

E(r,tr,w)=E(s,ts,E(r,sr,w)),wU,(r,s,t)[0,T]3,r<s<t.

We further assume that E is implicitly defined through the solution uC1([0,T],U) of the time-dependent problem

u(t)+At,u(t)=0,t[0,T], (1)

where A is an operator from [0,T]×U into U with adequate regularity we shall detail latter. Then, given any wU, E(t,s,w) denotes the solution to (1) at time t+s with initial condition w at time t0. In our problem of interest, we study the evolution given by (1) when the initial condition is u(0)U. Note that E could also be associated to a discretized version of the evolution equation or be defined through an operator that is not necessary related to an evolution equation (see [22]).

Since, in general, the problem does not have an explicit solution, we seek to approximate it at a given target accuracy. For any initial value wU, any t[0,T[, s[0,Tt] and any ζ>0 we denote by [E(t,s,w);ζ] an element of U that approximates E(t,s,w) such that we have

E(t,s,w)[E(t,s,w);ζ]ζs(1+w), (2)

where, here and in the following, denotes the norm in U. Any realization of [E(t,s,w);ζ] involves three main ingredients:

  • (i)

    a numerical scheme to discretize the time dependent problem (1) (e.g. an Euler scheme in time),

  • (ii)

    a certain expected error size associated with the choice of the discretization (e.g. error associated with the time step size of the Euler scheme),

  • (iii)

    a numerical implementation to solve the resulting discrete systems (e.g. conjugate gradient, Newton method, SSOR, …).

In the following, we will use the term solver to denote a particular choice for (i), (ii) and (iii). Given a solver S, we will use the same notation as for the exact propagator E to express that S(t,s,w) is an approximation of E(t,s,w) with a certain accuracy ζ. In other words, we can write S(t,s,w)=[E(t,s,w);ζ].

2.2. An idealized version of the parareal algorithm

We introduce a decomposition of the time interval [0,T] into N_ subintervals [TN,TN+1], N=0,,N_1. Without loss of generality, we will take them of uniform size ΔT=TN_ which means that TN=NΔT for N=0,,N_. For a given target accuracy η>0, the primary goal of the parareal in time algorithm is to build an approximation u~(TN) of u(TN) such that

max1NN_u(TN)u~(TN)η. (3)

The classical way to achieve this is to set

u~(TN)=Sseq(0,TN,u(0))=[E(0,TN,u(0));ζ],1NN_,

where Sseq is some sequential solver in [0,T] with ζ=η(T(1+u(0))) in (2). Since this comes at the cost of solving over the whole time interval [0,T], the main goal of the parareal in time algorithm is to speed up the computing time, while maintaining the same target accuracy η. This is made possible by first decomposing the computations over the time domain. Instead of solving over [0,T], we perform N_ parallel solves over each interval (TN,TN+1] of size ΔT. We next introduce an idealized version of it which will not be feasible in practice but will be the starting point of subsequent implementable versions. The algorithm relies on the use of a solver G (known as the coarse solver) with the following properties involving the operator

δGEG.

Hypotheses (H): There exists constants εG,Cc,Cd>0 such that for any function x,yU and for any t[0,T[ and s[0,Tt],

G(t,s,x)=[E(t,s,x),εG]δG(t,s,x)s(1+x)εG (4a)
G(t,s,x)G(t,s,y)(1+Ccs)xy, (4b)
δG(t,s,x)δG(t,s,y)CdsεGxy (4c)

Note that these hypothesis are the classical abstract formulations of the properties of numerical schemes related to stability and accuracy. Hypothesis (4b) is a Lipschitz condition and the quantity εG is a small constant which, in the case of a Euler scheme, would be equal to the time step size.

The idealized version of the algorithm consists in building iteratively a series (ykN)k of approximations of u(TN) for 0NN_ following the recursive formula

y0N+1=G(TN,ΔT,y0N),0NN_1yk+1N+1=G(TN,ΔT,yk+1N)+E(TN,ΔT,ykN)G(TN,ΔT,ykN),0NN_1,k0,y00=u(0). (5)

At this point, several comments are in order. The first one is that the computation of ykN only requires propagations with E over intervals of size ΔT. As follows from (5), for a given iteration k, N_ propagations of this size are required, each of them over distinct intervals [TN,TN+1] of size ΔT, each of them with independent initial conditions. Since they are independent from each other, they can be computed over N_ parallel processors and the original computation over [0,T] is decomposed into parallel computations over N_ subintervals of size ΔT. The second observation is that the algorithm may not be implementable in practice because it involves the exact propagator E. Feasible instantiations consist of replacing E(TN,ΔT,ykN) by some approximation [E(TN,ΔT,ykN),ζkN] with a certain accuracy ζkN which has to be carefully chosen. We will come to this point in the next section. The third observation is to note that, in the current version of the algorithm, for all N=0,,N_, the exact solution u(TN) is obtained after exactly k=N parareal iterations. This number can be reduced when we only look for an approximate solution with accuracy η. Depending on the problem, the final number of iterations K(η) can actually be much smaller than N_. The convergence result of Theorem 2.1 and its proof are helpful to understand the main mechanisms driving the convergence of the algorithm and explaining its behavior. To present it, we introduce the shorthand notation for the error norm

EkNu(TN)ykN,k0,0NN_,

and the quantities

μ=eCcTCdmax0NN_(1+u(TN)),andτCdTeCcΔTεG.

Theorem 2.1

If G and δG satisfy Hypothesis (4) , then,

max0NN_u(TN)ykNμτk+1(k+1)!,k0. (6)

Proof

The proof is in the spirit of existing results from the literature (see [5], [23], [24], [25]) but it is instructive to give it for subsequent developments in the paper. We introduce the following quantities

αCdεGΔTβ1+CcΔTγΔTεGmax0NN_(1+u(TN)) (7)

as shorthand notations for the proof.

If k=0, using definition (5) for y0N, we have for 0NN_1,

E0N+1=y0N+1u(TN+1)=G(TN,ΔT,y0N)E(TN,ΔT,u(TN))G(TN,ΔT,y0N)G(TN,ΔT,u(TN))+G(TN,ΔT,u(TN))E(TN,ΔT,u(TN))(1+CcΔT)E0N+ΔTεG(1+u(TN))βE0N+γ,

where we have used (4a), (4b) to derive the second to last inequality.

For k1, starting from (5), we have

ykN+1u(TN+1)=G(TN,ΔT,ykN)+E(TN,ΔT,yk1N)G(TN,ΔT,yk1N)E(TN,ΔT,u(TN))=G(TN,ΔT,ykN)G(TN,ΔT,u(TN))+δG(TN,ΔT,yk1N)δG(TN,ΔT,u(TN)).

Taking norms and using (4b), (4c), we derive

EkN+1βEkN+αEk1N,

Following [25], we consider the sequence (ekN)N,k0 defined recursively as follows. For k=0,

e0N=0,if N=0βe0N1+γ,if N1 (8)

and for k1,

ekN=0,if N=0αek1N1+βekN1,if N1. (9)

Since EkNekN for k0 and N=0,,N_, we analyze the behavior of (ekN) to derive a bound for EkN. For this, we consider the generating function

ρk(ξ)=N0ekNξN.

From (8), (9) we get

ρk(ξ)=αξρk1(ξ)+βξρk(ξ),k1ρ0(ξ)=γξ1ξ+βξρ0(ξ),

from which we derive

ρk(ξ)=γαkξk+1(1ξ)1(1βξ)k+1,k0.

Since, β1, we can bound the term (1ξ) in the denominator by (1βξ). Next, using the binomial expansion

1(1βξ)k+2=j0k+1+jjβjξj (10)

and identifying the term in ξN in the expansion, we derive the bound

ekNγαkβNk1Nk+1.

Hence, using definition (7) for α,β and γ,

EkNekN(1+CcΔT)Nk1max0NN_(1+u(TN))Cd(k+1)![CdεGeCcΔTTN]k+1,

which ends the proof of the theorem. □

Note that at least one step is not sharp in the above proof: it is the step where 1ξ is replaced by 1βξ. Note also that τ is the quantity driving convergence and its speed.

Introducing the quantity

ε¯GeCcΔTCdT,

we can write

τ=εGε¯G

and we note that a sufficient condition to converge is that

τ<1εG<ε¯G. (11)

In other words, ε¯G is the minimal accuracy that the coarse solver has to satisfy in order to guarantee convergence of the ideal parareal algorithm. In the following, we will work under the assumption that εG satisfies (11).

As we will see in the next section, ε¯G plays also a critical role in certain convergence properties of the perturbed algorithm so we finish this section by discussing the behavior of ε¯G depending on several scenarios. First, Cc and Cd are Lipschitz constants (fixed by the properties of the evolution problem) so they could be potentially large numbers. As a result, ε¯G could be a large number and condition (11) would not be very stringent. The value of ε¯G can be small for very long time simulations where T becomes large or if ΔT becomes small compared to Cc (that is, if the number N_ of processors becomes large).

2.3. Feasible realizations of the parareal algorithm

Feasible versions of algorithm (5) involve approximations of E(TN,ΔT,ykN) with a certain accuracy ζkN. This leads to consider algorithms of the form

y0N+1=G(TN,ΔT,y0N),0NN_1yk+1N+1=G(TN,ΔT,yk+1N)+[E(TN,ΔT,ykN);ζkN]G(TN,ΔT,ykN),0NN_1,k0,y00=u(0). (12)

Since no feasible version will converge at a better rate than (6), we analyze here what is the minimal accuracy ζkN that preserves it. A result in this direction is given in the following theorem. It requires to introduce the quantity

νpmax0NN_(1+ypN)max0NN_(1+u(TN)),p0.

which tends to 1 as p.

Theorem 2.2

Let G and δG satisfy Hypothesis (4) . Let k0 be any given positive integer. If for all 0p<k and all 0N<N_ , the approximation [E(TN,ΔT,ζpN)] has accuracy

ζpNζpεGp+2(p+1)!νp, (13)

then the (ykN)N of the feasible parareal scheme (12) satisfy

max0NN_u(TN)ykNμτ~k+1(k+1)!, (14)

with

τ~τ+εG.

Let us make a couple of remarks before giving the proof of the theorem. First, the sufficient condition to converge is now

τ~<1εG<ε¯G1+ε¯G (15)

so the minimal accuracy required for the coarse solver is stronger than in (11) for the ideal case. Note however that when ε¯G is small (roughly, ε¯G1), the condition on εG is similar in the ideal and perturbed case.

Second, comparing (6), (14), the rate of convergence τ~ of the feasible parareal algorithm deviates from τ, the ideal one, by a factor

τ~τ=τ+εGτ=1+eCcΔTCdT=1+ε¯G.

The parameter ε¯G plays again a critical role in the convergence properties and determines whether convergence is close to the ideal rate τ, or deviates from it by a potentially important factor.

Proof

The proof follows the same lines as the one for Theorem 2.1 and EkN, α,β,γ are defined exactly as before. In addition, it will be useful to introduce the sequence

gk=ζkΔTmax0NN_(1+ykN),k0g1=γ

We concentrate on the case k1 since the case k=0 is identical as in Theorem 2.1. For k1, using (12), we have

ykN+1u(TN+1)=G(TN,ΔT,ykN)G(TN,ΔT,u(TN))G(TN,ΔT,yk1N)+G(TN,ΔT,u(TN))+[E(TN,ΔT,yk1N);ζk1N]E(TN,ΔT,u(TN))=G(TN,ΔT,ykN)G(TN,ΔT,u(TN))+δG(TN,ΔT,yk1N)δG(TN,ΔT,u(TN))+[E(TN,ΔT,yk1N);ζk1N]E(TN,ΔT,yk1N).

Taking norms, using (4b), (4c) and the definition (2) applied to [E(TN,ΔT,yk1N);ζk1N], we derive

EkN+1[1+CcΔT]EkN+CdΔTεGEk1N+ζk1NΔTmax0NN_(1+yk1N)βEkN+αEk1N+gk1.

Similarly to Theorem 2.1, we introduce the sequence (e~kN)N,k0 defined for k=0 as e~0N=e0N for all N0 and for k1,

e~kN=0,if N=0αe~k1N1+βe~kN1+gk1,if N1

The associated generating function ρ~k satisfies

ρ~k(ξ)=αξρ~k1(ξ)+βξρ~k(ξ)+gk1ξ1ξ,k1,ρ~0(ξ)=ρ0(ξ)=γξ(1ξ)(1βξ).

Hence

ρ~k(ξ)=αξ1βξρ~k1(ξ)+ξ(1ξ)(1βξ)gk1=αξ1βξkρ~0(ξ)+ξ(1ξ)(1βξ)=0k1αξ1βξgk1

By replacing again at the denominator the factor (1ξ) by (1βξ) and using the binomial expansion (10), we derive the bound

ρ~k(ξ)γαkξk+1j0k+1+jjβjξj+=0k1αξ+1gk1j0+1+jjβjξj,=j0=0kαgk1βj+1+jjξ+1+j

where we have used that g1=γ. The coefficient associated to the term ξN above gives the inequality

e~kN=0kαgk1βN1N+1,k1,

From the definition of ζ, we have that

gΔTεG+2(+1)!max0NN_(1+u(TN)).

Therefore, recalling the definition (7) of α,β and γ, we derive

e~kNεGk+1max0NN_(1+u(TN))Cd=0k(CdΔT)+1(1+CcΔT)N1(k)!N+1εGk+1max0NN_(1+u(TN))Cd=0kCdTeCCΔT+1eCCT(+1)!(k1)!max0NN_(1+u(TN))eCcTCd(k+1)!(1+CdTeCcΔT)εGk+1=μτ~k+1(k+1)!,

where we have used the definition of μ and τ~ in the last line. This inequality ends the proof since EkNe~kN for N=0,,N_. □

2.4. Practical realization of [E(TN,ΔT,ykN),ζkN]

Since the accuracy ζkN needs to improve with k, the most natural way to build the approximations [E(TN,ΔT,ykN),ζkN] is with adaptive techniques and with adaptive refinements at every step k. The implementation ultimately rests on the use of a posteriori error estimators. It opens the door to local time step adaptation in the parareal algorithm as well as spatial coarsening or refinement if the problem involves additional spatial variables.

In principle, as ζkN decreases with k, the numerical cost increases in terms of degrees of freedom and also in terms of computing time. This actually reveals the key idea of this new approach which is that we would like that only the last fine solver is expensive and the cost of the previous ones is a small fraction of the cost of the last one (we refer to the next sub-section for a more precise statement). By re-using information from previous iterations, we can limit the cost of internal solvers required in [E(TN,ΔT,ykN),ζkN] and enhance the speed-up. This depends of course on the nature of the specific problem. We discuss several common situations in Appendix.

2.5. Connection to the classical formulation of the parareal algorithm and advantages of the current view-point

In the original version of the algorithm, E(TN,ΔT,ykN) is approximated with an accuracy ζkN=ζF which is kept constant in N and across the parareal iterations k. This has usually been done by using a solver F defined in the same spirit as G, but satisfying Hypothesis (4) with a better accuracy εF<εG. We have in this case

[E(TN,ΔT,ykN);ζF]=F(TN,ΔT,ykN)

and we recover the classical algorithm (see [26] and [27])

y0N+1=G(TN,ΔT,y0N),0NN_1yk+1N+1=G(TN,ΔT,yk+1N)+F(TN,ΔT,ykN)G(TN,ΔT,ykN),0NN_1,k0,y00=u(0).

Compared to this classical version of the parareal algorithm, the adaptive approach offers the following important advantages:

  • 1.

    The algorithm converges to the exact solution u(TN) and not to the solution achieved by the fixed chosen fine solver F(0,TN,u(0)) (indeed, for any N, ζkN0 as k).

  • 2.

    For a final target accuracy η, the parallel efficiency will always be superior to the classical approach (see Section 3).

  • 3.

    We minimize the computational resources (degrees of freedom) because we identify the minimal required accuracies at each iteration (see Eq. (13)). Early iterations use a loose tolerance, thus avoiding unnecessary work due to oversolving, while later iterations use tighter tolerances to deliver accuracy.

  • 4.

    The dynamical refinements of the fine solver invite to incorporate adaptive solvers with a posteriori error estimators to the parareal scheme.

3. Parallel efficiency

It is difficult to give accurate a priori estimations for the speed-up and efficiency of the method due to its adaptive nature so the actual performance can only be established through relevant examples. In Section 4, we give some results for the case of the Brusselator system. Despite this difficulty in estimation, we make some general remarks in this section, which aim primarily at highlighting the relevance of the cost of the coarse solver. The speed-up is defined as the ratio

speed − upAPseq(η,[0,T])costseq(η,[0,T])costAP(η,[0,T]) (16)

between the cost to run a sequential fine solver achieving a target accuracy η with the cost to run an adaptive parareal algorithm providing at the end the same target accuracy η. The parallel efficiency of the method is then defined as the ratio of the above speed up with the number of processor which gives a target of 1 to any parallel solver:

effAPseq(η,[0,T])speed − upAPseq(η,[0,T])N_.

Assume that gkN and fkN are the numerical costs to realize G(TN,ΔT,ykN) and [E(TN,ΔT,ykN),ζkN]. Since the tolerances ζkN decrease with k, we have f0N<<fK(η)N. Neglecting the communication delays, the cost of the adaptive solver is

costAP(η,[0,T])=k=0K(η)N=0N_1gkN+k=0K(η)1N=0N_1fkN.

The classical parareal algorithm involves, at every iteration k{0,,K(η)} propagations at the highest accuracy ζK(η)N. Thus its cost is

costCP(η,[0,T])=k=0K(η)N=0N_1gkN+K(η)N=0N_1fK(η)N,

from which it directly follows that (at least if, with obvious notation, KAP(η)=KCP(η))

effAPseq(η,[0,T])>effCPseq(η,[0,T]).

Thus the parallel performance of the adaptive algorithm is at least the one of the classical version. Note that this holds even when communications are not negligible since there is the same amount of information exchange in both algorithms.

We next give a more quantitative statement on an admittedly idealized setting. Assume that the cost of the coarse solve is negligible, that there is no communication delay and that the cost to realize [E(TN,ΔT,ykN),ζkN] is

fkN=ΔT(ζkN)1α. (17)

This assumption for the cost is, for instance, reasonable when we use an explicit time-stepping method of order α>0. It would also hold for an implicit method where a direct solver can be used. Note that α could actually depend on k but we stick to this simple model for clarity of exposition.

Proposition 3.1

If fkN=ΔT(ζkN)1α , for some α>0 and if the cost of the coarse solver is negligible with respect to fkN for any k0 , then

effAPseq(η,[0,T])=1τ1α1τK(η)α1(1+εG1α).

Therefore

speed − upAPseq(η,[0,T])N_1(1+εG1α).

Proof

The cost of the scalable adaptive parareal scheme after K(η) iterations is

costAP(η,[0,T])=ΔTk=0K(η)1ζk1α (18)

Since we are in a range where the scheme converges, the quantity max0NN_ykN is bounded and thus there exists 0<c_1c¯ such that c_νkc¯ for all k0. We will account for this with the notation νk1. Note that in fact c_ and c¯ are close to one. Let us start with the simple case α=1 and denote K_=K(η)1:

costAP(η,[0,T])=ΔTk=0K_ζk1=ΔTζK(η)111+εGK_+εG2K_(K_1)++εGK_1K_!

we thus derive

costAP(η,[0,T])ΔTζK(η)11(1+εG)

In the general case (α>1), the same is true with

costAP(η,[0,T])ΔTζK(η)11α(1+εG1α)

Up to this last factor, the current conclusion is that the global cost of the parareal procedure is equal to the last fine solver on each sub-interval with size ΔT (both the coarse and the previous fine propagations are negligible).

Since the accuracy that is obtained at the end of the parareal procedure (see (14)) is of the same order as the accuracy provided with classical parareal solver (compare with (6)), it follows that if we now take the last target accuracy ζK(η)11α of the adaptive algorithm as the accuracy of the fine scheme in the classical parareal algorithm, the cost would be

costCP(η,[0,T])=K(η)ΔTζK(η)11α,

Therefore,

costAP(η,[0,T])costCP(η,[0,T])1K(η)(1+εG1α). (19)

In addition, we know that when the cost of the coarse solver is negligible,

speed − upCPseq(η,[0,T])=costseq(η,[0,T])costCP(η,[0,T])=N_K(η), (20)

Dividing (20) by (19) yields

speed − upAPseq(η,[0,T])N_1(1+εG1α)

and

effAPseq(η,[0,T])1(1+εG1α).

In the ideal setting of Proposition 3.1:

  • The parallel efficiency of the adaptive parareal algorithm does not depend on the final number of iterations. This is in contrast to the classical version whose efficiency decreases with the final number of iterations K(η) as 1K(η).

  • The efficiency behaves like 1o(εG) in the adaptive version, and o(εG) rapidly goes to zero with εG. As soon as εG becomes negligible with respect to 1, we will be in the range of full scalability.

We emphasize that, obviously, the above idealized setting will never hold in practice, but the result is interesting in its own right since it highlights that the cost of the fine solver is no longer the main obstacle for full scalability in the adaptive setting: the cost of the coarse solver becomes now the major obstruction towards full efficiency.

4. Numerical tests

4.1. Guidelines for a practical implementation

Practical choice of ζkN.

Formula (13) of the convergence analysis of Section 2.3 gives an estimate for ζkN that one could in principle use for the implementation. However, these tolerances may not be optimal because they are derived from a theoretical convergence analysis based on abstract conditions for the coarse and fine solvers. This was confirmed during our numerical tests where we observed that using estimates (13) for ζkN did not deliver satisfactory enough results. This is the reason why it is necessary to devise a practical rule to set ζkN. We have explored the following choice: if η is the final target accuracy, the classical parareal algorithm is usually run with a solver that delivers a slightly higher accuracy, say η2. Assume that the classical algorithm converges in KCP(η)=K iterations. We propose to build the tolerances of ζkN in such a way to target that KAP(η)=KCP(η) and such that the cost of the last fine propagation is of the order of the sum of the previous ones. This motivates to set

ζkN=εG1k+1Kη2k+1K,if k<Kη2,if kK.

The numerical example of the next section uses these tolerances.

Load balancing.

For simplicity of exposition, the algorithm has so far been discussed for N_ subintervals of uniform size ΔT. However, this decomposition may lead to a task imbalance because some time intervals may have more complex dynamics than others, requiring more degrees of freedom, thus more computational time. In order to balance tasks as efficiently as possible, we dynamically adapt the size of the N_ subintervals in a way to have the fine solver propagations as balanced as possible among processors.

4.2. Results for several stiff ODEs

We apply our adaptive algorithm to several stiff ODEs where the only mechanism for adaptivity is time. Our results illustrate that our approach improves the speed-up and efficiency with respect to the classical non-adaptive parareal method. We also show that the main element affecting performance is no longer the cost of the fine solver but the cost of the coarse solver. In extreme cases, this cost may even prevent any speed-up at all (see Section 4.2.3) and puts this obstruction at the forefront for future research. The code to reproduce the numerical results is available online at:

https://plmlab.math.cnrs.fr/mulahernandez/parareal-adaptive

Other ODEs can easily be tested as indicated in the instructions.

Note that the algorithm could also be applied to PDEs but we defer the presentation of numerical examples to future works since this requires full space–time adaptive techniques which are a topic in itself since they are challenging to formulate and deploy and very specific to each type of problem.

4.2.1. The brusselator system

We consider the brusselator system

x=A+x2y(B+1)xy=Bxx2y,

with initial condition x(0)=0 and y(0)=1. This is a stiff ODE that models a chain of chemical reactions. It was already studied in a previous work on the parareal algorithm (see [25]). The system has a fixed point at x=A and y=BA which becomes unstable when B>1+A2 and leads to oscillations. We place ourselves in this oscillatory regime by setting A=1 and B=3. The dynamics present large velocity variations in some time subintervals, making the use of adaptive time-stepping schemes particularly desirable for an appropriate treatment of the transient.

For the coarse solver, we set

εG=0.1,

and use an explicit Runge–Kutta method of order 5 with an adaptive time-stepping (see [28]). For the fine solver, we use the implicit Runge–Kutta method of the Radau IIA family of order 5 with adaptive time-stepping (see [29], [30]). Both integrators are available in the ODE integration library of Scipy2 which we have used in our library.

As already discussed, the target accuracies ζkN should be ensured by rigorous a posteriori error estimators. However, these type of estimators are unfortunately not available in the Scipy library and we are not aware of any mainstream library with this capability. As a surrogate, we have used the above mentioned classical ODE integrators that only guarantee local accuracy between time-steps tntn+1, but not global accuracy between macro intervals [TN,TN+1] (composed of several time-steps). The local accuracy can be specified in the library routine via the parameters atol and rtol of the function scipy.integrate.solve_ivp. To relate this local accuracy control to the global one, we have built a priori a “chart” mapping accuracies of the solver on macro-intervals against the tolerance parameters atol and rtol of the library. To simplify, these two parameters have been set to be equal (atol=rtol) and their value is fixed according to the chart. As an example, we provide a chart for T=20 for the scheme of the fine solver in Fig. 1. The dots are computed values: for a given value of the parameter atol, we examine the accuracy ε of the solver. We then interpolate the points with a cubic spline interpolation. This way, for a given intermediate accuracy ζkN in the parareal algorithm, we can easily adapt the parameter value atol that is required.

Fig. 1.

Fig. 1

Mapping of the accuracies ε against the tolerance parameters (atol=rtol) of the library. The dots are computed values: for a given value of the parameter, we examine the accuracy ε of the solver. We then interpolate the points with a cubic spline interpolation. This way, for a given intermediate accuracy ζkN in the algorithm, we can infer the parameter value atol and rtol. Case T=20, integrator of the fine solver.

We use formula (16) to compare the speed-up of the classical and adaptive parareal algorithm in terms of the number of operations involved in the numerical solution (communication delays have not been taken into account). For the costs gkN and fkN, we take into account:

  • the number of time steps (which is adaptively increased as we tightened the accuracy),

  • the number of right-hand side evaluations,

  • for the fine solver, we additionally count the number of evaluations of the Jacobian matrix and of the number of linear system inversions.

In Fig. 2, we plot the obtained speed-up for different configurations:

Fig. 2.

Fig. 2

Speed-up in comparison to running a sequential fine solver as a function of the number of processors N_. Dashed lines: classical parareal. Continuous lines: Adaptive parareal.

  • the final time T varies from 100 to 900,

  • the final target accuracy is η=106 or η=108,

  • the number of processors N_ varies from 10 to 100.

As anticipated in Section 3, the speed-up of the adaptive parareal is always superior to the one of the classical parareal. We observe that the gain is marginal for a moderate accuracy (η=106) but it is about 2.5 times larger for η=108. Note that sometimes the speed-up does not increase monotonically as the number of processors N_ increases. Also, the speed-up generally increases with N_ but the increase is rather moderate.

The values significantly differ from the range of full scalability and we next explain why this is mainly due to the cost of the coarse solver. Since the problem is stiff and we consider relatively long time intervals, it has been necessary to use a sufficiently accurate coarse solver. This explains our choice of an explicit Runge–Kutta scheme of order 5. To illustrate the impact of its cost, let us fix T=500, η=108 and N_=50 (other parameters would yield similar conclusions). We compare the speed-up and efficiency when we count or do not count the cost of the coarse solver in Table 1. Obviously, when we do not count the cost of the coarse solver, the performance of both algorithms improves but it is particularly increased in the case of the adaptive version. If the cost of G was negligible, it would deliver a very satisfactory efficiency of 75.52%. This is five times larger than what the classical parareal would yield. This analysis illustrates that the major obstacle to achieve competitive scalabilities is no longer the cost of the fine solver like in the classical version, but the cost of the coarse propagator.

Table 1.

Brusselator: Impact of the cost of the coarse solver. Speed-up and efficiency with T=500, η=108 and N_=50.

Speed-up Classical parareal Adaptive parareal
With cost G 4.06 7.38
Without cost G 7.38 37.76

Efficiency Classical parareal Adaptive parareal

With cost G 8% 14.76%
Without cost G 14.76% 75.52%

We next give some insight on the differences in the convergence behavior of both algorithms. We fix T=20, η=108 and N_=20 and plot in Fig. 3 the convergence history of the parareal solution in terms of:

Fig. 3.

Fig. 3

Brusselator: Convergence history of the errors for T=20, η=108 and N_=20. Top: classical parareal. Bottom: adaptive parareal. Left: errors of the fine solver at every fine time-step. Right: maximum parareal error at each iteration k.

  • the errors of the fine solver at every fine time-step

  • the maximum error of the parareal solution at the macro-intervals
    maxNu(TN)ykN

Note that the maximum error in the adaptive scheme steadily decreases to the desired accuracy whereas the error in the classical scheme degrades at iteration k=1 before converging. This type of behavior has been observed for all other configurations and we conjecture that an important difference in accuracy between the coarse and the fine solver at early stages of the algorithm may be the cause. Finally, an inspection of the error of the fine solver shows that the adaptive algorithm succeeds to reduce the error at every time t in a much more uniform way than the classical algorithm.

4.2.2. The Van der Pol oscillator

We next consider the Van der Pol oscillator

x=yy=μ(1x2)yx,

with initial condition x(0)=2 and y(0)=0. When μ=0, this equation is a simple nonstiff harmonic oscillator. When μ>0, the system has a limit cycle and becomes stiffer and stiffer as its value is increased. For our tests, we set μ=4 which is already a relatively stiff case.

Like in the example of the Brusselator system, we set εG=0.1 for the coarse solver and use an explicit Runge–Kutta method of order 5 with an adaptive time-stepping (see [28]). For the fine solver, we use the implicit Runge–Kutta method of the Radau IIA family of order 5 with adaptive time-stepping.

In Fig. 4, we plot the obtained speed-up for different configurations:

Fig. 4.

Fig. 4

Van der Pol: speed-up in comparison to running a sequential fine solver as a function of the number of processors N_. Dashed lines: classical parareal. Continuous lines: Adaptive parareal.

  • the final time T is 1000 or 2000,

  • the final target accuracy is η=106 or η=108,

  • the number of processors N_ varies from 10 to 100.

Like in the previous example, the adaptive algorithm outperforms the nonadaptive version in terms of speed-up. However, the gain is marginal for moderate accuracies η=106. For high accuracy η=108, the adaptive algorithm improves the speed-up by a factor of about 2 to 3 times with respect to the classical one. The improvement is more significant for large T.

In Table 2, we illustrate that the coarse solver is again the main bottleneck to reach high parallel efficiency in the adaptive algorithm: we examine the speed-up and efficiency for T=2000, η=108 and N_=40 when we take and do not take into account the cost of the coarse solver.

Table 2.

Van der Pol: Impact of the cost of the coarse solver. Speed-up and efficiency with T=2000, η=108 and N_=40.

Speed-up Classical parareal Adaptive parareal
With cost G 4.54 11.14
Without cost G 6.61 32.63

Efficiency Classical parareal Adaptive parareal

With cost G 11.35% 27.8%
Without cost G 16.5% 81.56%

4.2.3. Discussion on extremely challenging cases of highly stiff ODEs: Oregonator and SEIR epidemic model

In extreme cases, the cost of the coarse solver may prevent any speed-up at all (see Section 4.2.3) and puts this obstruction at the forefront for future research. A prominent case are highly stiff ODEs. In the provided code, we can observe this fact in the case of the Oregonator system of equations. In view of the ongoing pandemic of COVID-19 at the time when this article was written, we have also tested an SEIR epidemic model which has very recently been proposed in [11] as a simple model for the spread of the virus in the Wuhan city area. The model captures the effect of the presence of individual reaction to the risk of infection and governmental action. If we run the parareal algorithm for the latter model, an integrator of type LSODA [31] for both coarse and fine solvers seems well adapted since it alternates between Adams or BDF integration for nonstiff and stiff parts and it has automatic stiffness detection. To reach a target accuracy η=5.106, it has been necessary to set εG=5.102, making the cost of the coarse solver too expensive to yield any parallel efficiency. However, if we could find an inexpensive coarse solver, perhaps based on empirical data or on good back-of the envelope calculations, our adaptive parareal algorithm would yield interesting speeds-ups. For example, with N=10 processors, we would get a speed-up of 3.79 (versus 1.4) in the nonadaptive version.

5. Conclusions and perspectives

The new adaptive formulation of the parareal algorithm opens the door to improve significantly the parallel efficiency of the method provided that the cost of the coarse solver is moderate. The increasing target tolerances which have to be met at each step allows to use online stopping criteria involving a posteriori estimators. The developed methodology remains theoretical since we have not quantified the impact of communication delays between processors nor potential memory issues (note however that the load balancing is devised with the purpose of equilibrating tasks and memory). In the framework of the ANR project “Ciné-Para (ANR-15-CE23-0019)”, we are working on these issues that are of a different level of theory and involve different collaborators. This will be the topic of another paper. In addition to this, several extensions based on the current findings are subject of ongoing works, in particular, the coupling of the adaptive parareal with adaptive space–time schemes, the coupling of parareal with internal iterative solvers like in the discussion of Appendix A.3 of the Appendix, and also the development of inexpensive coarse solvers.

Acknowledgment

This work was funded by the ANR project “Ciné-Para”, France (ANR-15-CE23-0019).

Footnotes

Appendix. Enriching the input information with previous iterations

Usually, solvers to realize [E(TN,ΔT,ykN),ζkN] are built using only IkN={TN,ΔT,ykN} as input information. We account for this idea with the notation

S(TN,ΔT,ykN)(IkN,costkN)[E(TN,ΔT,ykN);ζkN],

and the numerical cost, denoted costkN, increase as ζkN is tightened. In this section, we discuss how to enhance the gain in efficiency of the adaptive algorithm by discussing ways to increase the accuracy of the solver [E(TN,ΔT,ykN),ζkN] across the iterations while maintaining the cost to realize it as independent as possible from ζkN, N, and k. For this, one possibility is to enrich IkN with data produced during the previous parareal iterations (although it would of course be at the cost of increasing the storage requirements).

Let PkN denote the intermediate information that has been produced at iteration k between [TN,TN+1] and by PkN=0N_1PkN all the information produced at step k. Using I˜kN={IkN,PkN1,,Pk0,Pk1,,P0}, as input information, the idea is to see whether it could be possible to find a solver S such that

S(TN,ΔT,ykN)(I˜kN,cost)[E(TN,ΔT,ykN);ζkN] (21)

with a constant and small complexity cost. Note that using the enriched set of information I˜kN means that we want to learn from the previous approximations of u(TN+1) given by [E(TN,ΔT,ypN),ζpN], 0pk1, to start the current algorithm closer to u(TN+1). After each parareal iteration, we thus improve the accuracy, without increasing the work for solving because we start from a better input, accumulated from the previous parareal iterations.

In the rest of this section, we describe three relevant scenarios where we can approximate E(TN,ΔT,ykN) by trying to build a scheme in the spirit of (21). The first two examples have already been presented in the literature and concern the coupling of parareal with spatial domain decomposition (Appendix A.1) and with iterative high-order time integration schemes (Appendix A.2). In these two cases, there is to date no complete convergence analysis since it remains to show that (i) E(TN,ΔT,ykN) is approximated with accuracy ζk and (ii) the cost of the solver is really constant through the parareal steps. In addition to these two applications, we mention a third scenario where the convergence analysis can be fully proven. It concerns the solution of time-dependent problems involving internal iterative schemes at every time step. This idea was first analyzed in [21] in a restricted setting. It has also been applied in the framework of the MGRIT algorithm that couples parareal with multigrid iterative schemes (see [19]). In Appendix A.3, we give the main setting and defer the analysis for a forthcoming paper.

A.1. Parareal coupled with spatial domain decomposition

Here, we consider a solver S=DDM which involves spatial domain decomposition over [TN,TN+1] [13], [14]. We assume that DDM involves a time discretization with a small time step δt<ΔT. Let n_ be the number of time steps on each interval [TN,TN+1] so that we have the relations ΔT=n_δt and T=N_ΔT=N_n_δt and the total number of time steps in [0,T] is n__N_n_. The domain decomposition iterations act on a partition Ω=l=1LΩl of the domain. For 0nn_, we denote by ukN,n,j the solution produced by DDM at time t=TN+nδt after j0 domain decomposition iterations. The notation J will denote the last iteration (fixed according to some stopping criterion). At j=0, these iterations need to be initialized at the interfaces Ωl,1lL. The idea explored in, e.g., [13], [14], is to take the values uk1N,n,J|Ωl at these interfaces as a starting guess for 0nn_ so that

I˜kN={IkN,{uk1N,n,J|Ωl,0nn_}}.

From [13], [14], there is numerical evidence that the computations of DDM(TN,ΔT,ykN) using I˜kN yield [E(TN,ΔT,ykN);ζkN] after a reduced number of iterations J which is independent of k. Thus cost would be kept constant and

ukN,n_,J=DDM(TN,ΔT,ykN)(I˜kN,cost)[E(TN,ΔT,ykN);ζkN],

where the above “cost” is much small than the cost of the fine solver.

A.2. Parareal coupled with iterative high-order time integration schemes

Spectral Deferred Correction (SDC, [32]) is an iterative time integration scheme. Starting from an initial guess of u(t) at discrete points, the method adds successive corrections to this guess. The corrections are found by solving an associated evolution equation. Under certain conditions, the correction at every step increases by one the accuracy order of the time discretization.

We carry here a simplified discussion on how to build [E(TN,ΔT,ykN);ζkN] when S=SDC and connect it to the so-called Parallel Full Approximation Scheme in Space-Time (PFASST, [33], [34]). For a given time interval [TN,TN+1], let us consider its n_+1 associated Gauss–Lobatto points {tN,n}n=0n_ and quadrature weights {ωn}n=0n_. The Gauss–Lobatto points are such that tN,0=TN and tN,n_=TN+1. Let us denote ukN,n,j the approximation of u(tN,n) at parareal iteration k after j0 SDC iterations. Assuming that one uses an implicit time-stepping scheme to solve the corrector equations involved in this method, ukN,n+1,j is given by

ukN,n+1,j=ukN,n,j+(tN,n+1tN,n)A(tN,n+1,ukN,n+1,j)A(tN,n+1,ukN,n+1,j1)
+m=0n_ωmA(tN,m,ukN,m,j1),1j,0nn_1,
ukN,0,j=ykN
ukN,n,0 given for 0nn_.

To speed-up computations, one of the key elements is the choice of the starting guesses ukN,n,0,0nn_. Without entering into very specific details, the PFASST algorithm is a particular instantiation of the above scheme when J=1 and ukN,n,0 uses information produced at the previous parareal iteration k1. Therefore, PFASST falls into the present framework in the sense that it produces

ukN,n_,1=SDC(TN,ΔT,ykN)

with

I˜kN={TN,ΔT,ykN,Pk1}

and it is expected that ukN,n_,1=[E(TN,ΔT,ykN);ζkN].

An additional component of PFASST is that the algorithm also tries to improve the accuracy of the coarse solver G using SDC iterations built with I˜Nk. This has not been taken into account in our adaptive parareal algorithm (12).

Another algorithm that progressively improves the quality of the fine solver across iterations is MGRIT, which couples parareal with multigrid iterative methods (see [17], [18]. The PFASST algorithm has also been coupled with multigrid techniques in [17].

A.3. Coupling with internal iterative schemes

Any implicit discretization of problem (1) leads to discrete linear or nonlinear systems of equations which are often solved with iterative schemes. When they are involved as internal iterations within the parareal algorithm, one could try to speed them up by building good initial guesses based on information from previous parareal iterations. We illustrate this idea in the simple case where:

  • A(t,) is a linear differential operator in U complemented with suitable boundary conditions,

  • we use an implicit Euler scheme for the time discretization.

A sequential solution of problem (1) with the implicit Euler scheme goes as follows. At each time tN,n=TN+nδt, the solution u(tN,n) is approximated by the function uN,nU which is itself the solution to

B(uN,n)=gN,n,

where gN,n=uN,n1+δtf(tN,n) and

B(v)v+δtA(tN,n,v),vU.

Note that B depends on time but our notation does not account for it in order not to overload the notations.

After discretization of U, the problem classically reduces to solving a linear system of the form

Bu¯N,n=g¯N,n,

for the unknown u¯N,n in some discrete subspace S of U. Usually, the above system is solved either by means of a conjugate gradient method or by a Richardson iteration of the form

u¯N,n,j=(Id+ωPB)u¯N,n,j1+ωPb¯,j1u¯N,n,0S given.

Here, ω is a suitably chosen relaxation parameter and P can be seen as a pre-conditioner. The internal iterations j are stopped whenever a certain criterion is met (it could be an a posteriori estimator) and we denote by JN,n their final number. Obviously, JN,n depends on the starting guess for which a usual choice is to take the solution at the previous time, that is

u¯N,n,0=u¯N,n1,JN,n1.

In order to achieve our goal, i.e. maintaining a low cost while increasing the accuracy at each parareal step, we can now reuse information from previous parareal iterations for the starting guess. In [21], two options are explored. The first is

u¯kN,n,0=u¯kN,n1,JN,n1,k,if k=0u¯kN,n,0=u¯k1N,n,JN,n,k1,if k1,

and the second, less natural choice,

u¯kN,n,0=u¯kN,n1,JN,n1,k,if k=0u¯kN,n,0=u¯k1N,n,JN,n,k1+u¯kN,n1,JN,n,ku¯k1N,n1,JN,n1,k1,if k1.

In the first case, we take over the internal iterations at the point where they were stopped in the previous parareal iteration k1. In addition to this, in the second case, the term ukN,n1,JN,n,kuk1N,n1,JN,n1,k1 tries to better take the dynamics of the process into account. Note that the use of solutions that have been produced in the previous parareal iterations is at the expense of additional memory requirements. It might also be at the cost of a certain increase in the complexity locally at certain times. However, [21] shows in a restricted setting that these starting guesses (in particular the second) have interesting potential to enhance the speed-up of the parareal algorithm. A general theory on this aspect will be presented in a forthcoming work.

References

  • 1.Quarteroni A., Valli A. Von Karman institute for fluid dynamics; 1996. Domain Decomposition Methods for Partial Differential Equations. [Google Scholar]
  • 2.Toselli A., Widlund O. Springer; 2005. Domain Decomposition Methods: Algorithms and Theory, Vol. 3. [Google Scholar]
  • 3.Nievergelt J. Parallel methods for integrating ordinary differential equations. Commun. ACM. 1964;7(12):731–733. [Google Scholar]
  • 4.Gander M.J. Householder Symposium XIX June 8–13, Spa Belgium. 2015. 50 years of time parallel time integration; p. 81. [Google Scholar]
  • 5.Lions J., Maday Y., Turinici G. Résolution d’EDP par un schéma en temps pararéel. C. R. Acad. Sci. Paris. 2001 t. 332, Série I, p. 661–668. [Google Scholar]
  • 6.Dai X., Maday Y. Stable parareal in time method for first- and second-order hyperbolic systems. SIAM J. Sci. Comput. 2013;35(1):A52–A78. [Google Scholar]
  • 7.Farhat C., Chandesris M. Time-decomposed parallel time-integrators: theory and feasibility studies for fluid, structure, and fluid–structure applications. Internat. J. Numer. Methods Engrg. 2003;58(9):1397–1434. [Google Scholar]
  • 8.Bal G., Wu Q. Domain Decomposition Methods in Science and Engineering XVII. Springer; 2008. Symplectic parareal; pp. 401–408. [Google Scholar]
  • 9.Dai X., Le Bris C., Legoll F., Maday Y. Symmetric parareal algorithms for Hamiltonian systems. ESAIM Math. Model. Numer. Anal. 2013;47(3):717–742. [Google Scholar]
  • 10.Carlberg K., Brencher L., Haasdonk B., Barth A. Data-driven time parallelism via forecasting. SIAM J. Sci. Comput. 2019;41(3):B466–B496. [Google Scholar]
  • 11.Lin Q., Zhao S., Gao D., Lou Y., Yang S., Musa S.S., Wang M.H., Cai Y., Wang W., Yang L., He D. A conceptual model for the coronavirus disease 2019 (COVID-19) outbreak in Wuhan, China with individual reaction and governmental action. Int. J. Infect. Dis. 2020;93(211–216) doi: 10.1016/j.ijid.2020.02.058. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12.Maday Y., Turinici G. Domain Decomposition Methods in Science and Engineering. Springer Berlin Heidelberg; 2005. The parareal in time iterative solver: a further direction to parallel implementation; pp. 441–448. [Google Scholar]
  • 13.Guetat R. Paris VI; 2012. Méthode de Parallélisation en Temps: Application aux Méthodes de Décomposition de Domaine. (Ph.D. thesis) [Google Scholar]
  • 14.Aouadi S., Bui D.Q., Guetat R., Maday Y. 2019. Convergence analysis of the coupled parareal-Schwarz waveform relaxation method. in preparation. [Google Scholar]
  • 15.Minion M.L., Williams A., Simos T.E., Psihoyios G., Tsitouras C. AIP Conference Proceedings, Vol. 1048. 2008. Parareal and spectral deferred corrections; p. 388. [Google Scholar]
  • 16.Minion M. A hybrid parareal spectral deferred corrections method. Commun. Appl. Math. Comput. Sci. 2010;5(2) [Google Scholar]
  • 17.Minion M.L., Speck R., Bolten M., Emmett M., Ruprecht D. Interweaving PFASST and parallel multigrid. SIAM J. Sci. Comput. 2015;37(5):S244–S263. [Google Scholar]
  • 18.Falgout R.D., Friedhoff S., Kolev T.V., MacLachlan S.P., Schroder J.B. Parallel time integration with multigrid. SIAM J. Sci. Comput. 2014;36(6):C635–C661. [Google Scholar]
  • 19.Falgout R.D., Manteuffel T.A., O’Neill B., Schroder J.B. Multigrid reduction in time for nonlinear parabolic problems: A case study. SIAM J. Sci. Comput. 2017;39(5):S298–S322. [Google Scholar]
  • 20.Maday Y., Salomon J., Turinici G. Monotonic parareal control for quantum systems. SIAM J. Numer. Anal. 2007;45(6):2468–2482. [Google Scholar]
  • 21.Mula O. Paris VI; 2014. Some Contributions Towards the Parallel Simulation of Time Dependent Neutron Transport and the Integration of Observed Data in Real Time. (Ph.D. thesis) [Google Scholar]
  • 22.Gaja M., Gorynina O. Parallel in time algorithms for nonlinear iterative methods. ESAIM: Proc. Surv. 2018;63:248–257. [Google Scholar]
  • 23.Bal G. 2003. Parallelization in time of (stochastic) ordinary differential equations. Preprint, http://www.columbia.edu/ gb2030/PAPERS/paralleltime.pdf. [Google Scholar]
  • 24.Maday Y., Ronsquist M., Staff G. 2006. The Parareal In Time Algorithm: Basics, Stability Analysis and More; pp. 653–663. (Staff Ph.D. thesis) [Google Scholar]
  • 25.Gander M.J., Hairer E. Domain Decomposition Methods in Science and Engineering XVII. Springer; 2008. Nonlinear convergence analysis for the parareal algorithm; pp. 45–56. [Google Scholar]
  • 26.Baffico L., Bernard S., Maday Y., Turinici G., Zérah G. Parallel-in-time molecular-dynamics simulations. Phys. Rev. E. 2002;66(5):057701. doi: 10.1103/PhysRevE.66.057701. [DOI] [PubMed] [Google Scholar]
  • 27.Bal G., Maday Y. A “parareal” time discretization for non-linear PDE’s with application to the pricing of an american put. Recent Dev. Domain Decompos. Methods. 2002;23:189–202. [Google Scholar]
  • 28.Dormand J.R., Prince P.J. A family of embedded Runge-Kutta formulae. J. Comput. Appl. Math. 1980;6(1):19–26. [Google Scholar]
  • 29.Hairer E., Wanner G. Solving Ordinary Differential Equations II. Stiff and Differential-Algebraic Problems. vol. 14. 1996. (Springer Verlag Series in Comput. Math.). [Google Scholar]
  • 30.Hairer E., Wanner G. Stiff differential equations solved by Radau methods. J. Comput. Appl. Math. 1999;111(1):93–111. [Google Scholar]
  • 31.Petzold L. Automatic selection of methods for solving stiff and nonstiff systems of ordinary differential equations. SIAM J. Sci. Stat. Comput. 1983;4(1):136–148. [Google Scholar]
  • 32.Dutt A., Greengard L., Rokhlin V. Spectral deferred correction methods for ordinary differential equations. BIT Numer. Math. 2000;40(2):241–266. [Google Scholar]
  • 33.Minion M. A hybrid parareal spectral deferred corrections method. Commun. Appl. Math. Comput. Sci. 2011;5(2):265–301. [Google Scholar]
  • 34.Emmett M., Minion M. Toward an efficient parallel in time method for partial differential equations. Commun. Appl. Math. Comput. Sci. 2012;7(1):105–132. [Google Scholar]

Articles from Journal of Computational and Applied Mathematics are provided here courtesy of Elsevier

RESOURCES