Parareal is a parallel algorithm from numerical analysis and used for the solution of initial value problems. It was introduced in 2001 by Lions, Maday and Turinici. Since then, it has become one of the most widely studied parallel-in-time integration methods.
Parallel-in-time integration methods In contrast to e.g. Runge-Kutta or multi-step methods, some of the computations in Parareal can be performed in parallel and Parareal is therefore one example of a parallel-in-time integration method. While historically most efforts to parallelize the numerical solution of partial differential equations focused on the spatial discretization, in view of the challenges from exascale computing, parallel methods for temporal discretization have been identified as a possible way to increase concurrency in numerical software. Because Parareal computes the numerical solution for multiple time steps in parallel, it is categorized as a parallel across the steps method. This is in contrast to approaches using parallelism across the method like parallel Runge-Kutta or extrapolation methods, where independent stages can be computed in parallel or parallel across the system methods like waveform relaxation.
History Parareal can be derived as both a multigrid method in time method or as multiple shooting along the time axis. Both ideas, multigrid in time as well as adopting multiple shooting for time integration, go back to the 1980s and 1990s. Parareal is a widely studied method and has been used and modified for a range of different applications. Ideas to parallelize the solution of initial value problems go back even further: the first paper proposing a parallel-in-time integration method appeared in 1964.
Algorithm
The Problem The goal is to solve an initial value problem of the form dudt=f(t,u)overt∈[t0,T]withu(t0)=u0. The right hand side f is assumed to be a smooth (possibly nonlinear) function. It can also correspond to the spatial discretization of a partial differential equation in a method of lines approach. We wish to solve this problem on a temporal mesh of N+1 equally spaced points (t0,t1,…,tN), where tj+1=tj+ΔT and ΔT=(T−t0)/N. Carrying out this discretisation we obtain a partitioned time interval consisting of time slices [tj,tj+1] for j=0,…,N−1. The objective is to calculate numerical approximations Uj to the exact solution u(tj) using a serial time-stepping method (e.g. Runge-Kutta) that has high numerical accuracy (and therefore high computational cost). We refer to this method as the fine solver ℱ, which propagates an initial value Uj at time tj to a terminal value Uj+1 at time tj+1. The goal is to calculate the solution (with high numerical accuracy) using ℱ such that we obtain Uj+1=ℱ(tj,tj+1,Uj),whereU0=u0. The problem with this (and the reason for attempting to solve in parallel in the first place) solution is that it is computationally infeasible to calculate in real-time.
How it works Instead of using a single processor to solve the initial value problem (as is done with classical time-stepping methods), Parareal makes use of N processors. The aim to is to use N processors to solve N smaller initial value problems (one on each time slice) in parallel. For example, in a MPI based code, N would be the number of processes, while in an OpenMP based code, N would be equal to the number of threads. Parareal makes use of a second time-stepping method to solve this initial value problem in parallel, referred to as the coarse solver 𝒢. The coarse solver works the same way as the fine solver, propagating an initial value over a time interval of length ΔT, however it does so at much lower numerical accuracy than ℱ (and therefore at much lower computational cost). Having a coarse solver that is much less computationally expensive than the fine solver is the key to achieving parallel speed-up with Parareal. Henceforth, we will denote the Parareal solution at time tj and iteration k by Ujk.
Zeroth Iteration Firstly, run the coarse solver serially over the entire time interval [t0,T] to calculate an approximate initial guess to the solution: Uj+10=𝒢(tj,tj+1,Uj0),j=0,…,N−1.
Subsequent Iterations Next, run the fine solver on each of the time slices, in parallel, from the most up-to-date solution values: Uj+11=ℱ(tj,tj+1,Uj0),j=0,…,N−1. Now update the parareal solution values sequentially using the predictor-corrector: Uj+1k=𝒢(tj,tj+1,Ujk)+ℱ(tj,tj+1,Ujk−1)−𝒢(tj,tj+1,Ujk−1),j=0,…,N−1,k=2,3,… At this stage, one can use a stopping criterion to determine whether the solution values are no longer changing each iteration. For example, one may test this by checking if |Ujk−Ujk−1|<ε∀ j≤N, and some tolerance ε>0. If this critertion is not satisfied, subsequent iterations can then be run by applying the fine solver in parallel and then the predictor-corrector. Once the criterion is satisfied, however, the algorithm is said to have converged in k≤N iterations. Note that other stopping criterion do exist and have been successfully tested in Parareal.
Remarks Parareal should reproduce the solution that is obtained by the serial application of the fine solver and will converge in a maximum of N iterations. For Parareal to provide speedup, however, it has to converge in a number of iterations significantly smaller than the number of time slices, i.e. k≪N. In the Parareal iteration, the computationally expensive evaluation of ℱ(tj,tj+1,Ujk−1) can be performed in parallel on N processing units. By contrast, the dependency of Uj+1k on 𝒢(tj,tj+1,Ujk) means that the coarse correction has to be computed in serial order. Typically, some form of Runge-Kutta method is chosen for both coarse and fine integrator, where 𝒢 might be of lower order and use a larger time step than ℱ. If the initial value problem stems from the discretization of a PDE, 𝒢 can also use a coarser spatial discretization, but this can negatively impact convergence unless high order interpolation is used.
… excerpt ends here. Continue reading the full article.

![Parareal: Illustration of the first iteration in Parareal (adapted from the original version[2]).](https://thumb.wikimedia.org/wikipedia/commons/thumb/e/e4/Parareal.svg/330px-Parareal.svg.png?utm_source=en.wikipedia.org&utm_campaign=parser&utm_content=thumbnail)