ArticleslgStudy

computer science

Parareal

Parareal is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Parareal rather than just read about it. In short: 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.

Parareal — main illustration
Parareal — illustration

Key takeaways

  • Parareal belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Parareal to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Parareal from memory before moving on to harder problems.

Reference excerpt

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

d u d t = f ( t , u ) over t ∈ [ t 0 , T ] with u ( t 0 ) = u 0 . {\displaystyle {\frac {\mathrm {d} u}{\mathrm {d} t}}=f(t,u)\quad {\text{over}}\quad t\in [t_{0},T]\quad {\text{with}}\quad u(t_{0})=u^{0}.}

The right hand side f {\displaystyle 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 {\displaystyle N+1} equally spaced points ( t 0 , t 1 , … , t N ) {\displaystyle (t_{0},t_{1},\ldots ,t_{N})} , where t j + 1 = t j + Δ T {\displaystyle t_{j+1}=t_{j}+\Delta T} and Δ T = ( T − t 0 ) / N {\displaystyle \Delta T=(T-t_{0})/N} . Carrying out this discretisation we obtain a partitioned time interval consisting of time slices [ t j , t j + 1 ] {\displaystyle [t_{j},t_{j+1}]} for j = 0 , … , N − 1 {\displaystyle j=0,\ldots ,N-1} . The objective is to calculate numerical approximations U j {\displaystyle U_{j}} to the exact solution u ( t j ) {\displaystyle u(t_{j})} 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 F {\displaystyle {\mathcal {F}}} , which propagates an initial value U j {\displaystyle U_{j}} at time t j {\displaystyle t_{j}} to a terminal value U j + 1 {\displaystyle U_{j+1}} at time t j + 1 {\displaystyle t_{j+1}} . The goal is to calculate the solution (with high numerical accuracy) using F {\displaystyle {\mathcal {F}}} such that we obtain

… excerpt ends here. Continue reading the full article.

Illustrations

Parareal: Illustration of the first iteration in Parareal (adapted from the original version[2]).
Illustration of the first iteration in Parareal (adapted from the original version[2]).

Worked examples

Example 1 — a first encounter with Parareal

Start with the simplest possible case. Write down what Parareal claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Parareal before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Parareal ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Parareal

In research
Parareal appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Parareal in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Parareal is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computational science, Numerical analysis, Numerical differential equations, so understanding it makes those chapters shorter.
In everyday life
Look for Parareal outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Parareal” →

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Parareal in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Parareal means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Parareal out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Parareal in simple terms?

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.

Why does Parareal matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Parareal?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Parareal.

Tags

  • Computational science
  • Numerical analysis
  • Numerical differential equations
  • Parallel computing

Keep exploring