PyMGRIT: A Python Package for the parallel-in-time method MGRIT

08/12/2020
by   Jens Hahne, et al.
0

In this paper, we introduce the Python framework PyMGRIT, which implements the multigrid-reduction-in-time (MGRIT) algorithm for solving the (non-)linear systems arising from the discretization of time-dependent problems. The MGRIT algorithm is a reduction-based iterative method that allows parallel-in-time simulations, i. e., calculating multiple time steps simultaneously in a simulation, by using a time-grid hierarchy. The PyMGRIT framework features many different variants of the MGRIT algorithm, ranging from different multigrid cycle types and relaxation schemes, as well as various coarsening strategies, including time-only and space-time coarsening, to using different time integrators on different levels in the multigrid hierachy. PyMGRIT allows serial runs for prototyping and testing of new approaches, as well as parallel runs using the Message Passing Interface (MPI). Here, we describe the implementation of the MGRIT algorithm in PyMGRIT and present the usage from both user and developer point of views. Three examples illustrate different aspects of the package, including pure time parallelism as well as space-time parallelism by coupling PyMGRIT with PETSc or Firedrake, which enable spatial parallelism through MPI.

READ FULL TEXT
research
08/08/2018

pySDC - Prototyping spectral deferred corrections

In this paper we present the Python framework pySDC for solving collocat...
research
06/23/2020

An experimental comparison of a space-time multigrid method with PFASST for a reaction-diffusion problem

We consider two parallel-in-time approaches applied to a (reaction) diff...
research
12/02/2019

PFASST-ER: Combining the Parallel Full Approximation Scheme in Space and Time with parallelization across the method

To extend prevailing scaling limits when solving time-dependent partial ...
research
01/18/2021

Space-time block preconditioning for incompressible flow

Parallel-in-time methods have become increasingly popular in the simulat...
research
03/30/2022

A unified analysis framework for iterative parallel-in-time algorithms

Parallel-in-time integration has been the focus of intensive research ef...
research
12/23/2019

Parallel Computing With R: A Brief Review

Parallel computing has established itself as another standard method for...
research
08/26/2021

PTRAIL – A python package for parallel trajectory data preprocessing

Trajectory data represent a trace of an object that changes its position...

Please sign up or login with your details

Forgot password? Click here to reset