Software

The Time-X project aims to provide software for parallel-in-time integration and demonstrate the impact of parallel-in-time methods, showcasing their potential on problems that, to date, cannot be tackled with full parallel efficiency in four diverse and challenging application fields with high societal impact:

  • Medicine
  • Electromagnetics
  • Drug design
  • Weather and climate

Underneath, we provide an overview of implementations and software codes developed by TIME-X. For software that links to the abovementioned application domains we specifically add the involved application field.
Using color codes, we make the distinction between the following three types of software:

  • Prototype software : these are software libraries implementing a method that can be used by application developers.
  • Proof-of-concept software : these are software implementations, potentially in a high-level language, that illustrate an algorithm’s behaviour.
  • Application software : these are specific software implementations that are used to obtain scientific results in specific application domains.

Newly developed software

1D_FDE (Medicine)

Developed by
USI
Link
https://github.com/ken13889/1D_FDE_Non_uniform_mesh
Short summary

A Matlab-based implementation of the Fractional Diffusion Equation (FDE) over a graded mesh mapped by a function, then build a linear system and finally solve it through Multigrid Methods. This is a preliminary step before addressing the time-dependent case. This code can be extended to the fractional Fitzhugh-Nagumo monodomain model, which describes the propagation of electrical potential in heterogeneous cardiac tissue.

Value / Innovation

Improved convergence order due to graded meshes, see https://arxiv.org/abs/2209.08841.

Potential application for cardiac tissue simulation.

BlockOps

Developed by
TUHH
Link
https://jupyterhub.mat.tu-harburg.de/blockops/
Short summary

Using gfm, BlockOps can predict performance of a PinT algorithm and find good scheduling strategies to improve performance.

Bosch Edyson + PinT (Electromagnetism)

Developed by
Bosch, supported by TUD
Link
N/A
Short summary

A domain-specific in-house implementation of a parareal for periodic problems at Robert Bosch GmbH written in C++. It is tightly integrated in the electric machine simulation code Edyson to quickly compute the steady-state behavior of electric machines. This code is used with the Robert Bosch GmbH to optimize and analyze their motors, in particular for e-mobility applications.

Value / Innovation

Successful industrial transfer of results. It was demonstrated that 80 parallel processors lead to a 28 times faster simulation approach compared with the previous method used.

Collaborative repository for research on dynamic resources

Developed by
TUM
Link
https://gitlab.inria.fr/dynres
Short summary

We set up a repository that other EuroHPC partners use to collaborate around dynamic resources. As part of that, we mainly collaborate with DEEP-SEA due to their DMRLib development.

DynMPI

Developed by
TUM & UNIGE
Link
https://github.com/DynMPISessions/dynmpi_prototype/releases/tag/v1.0.0
Short summary

Publicly available software which realizes dynamic resources with MPI Sessions and PMIx. It provides extensions of the MPI Sessions Interface for handling changes of the application’s resources during runtime. Corresponding extensions to the PMIx 4.0 Client Interface are introduced for the interaction between the MPI Interface and the MPI runtime environment. The software is based on the publicly available Open MPI, OpenPMIx and PRRTE implementations. This version relates to the publication by D. Huber et al.

Explicit Stabilized methods for PinT (Medicine)

Developed by
USI
Link
https://github.com/grosilho/pySDC
https://github.com/grosilho/pySDC/tree/explicit_stabilize
Short summary

Monodomain models in cardiac electrophysiology lead to systems of stiff ordinary differential equations. It decouples naturally into a linear stiff term and a highly nonlinear mildly stiff term. For such problems, explicit stabilized methods are more efficient than classical explicit methods since their stability domain grows quadratically with the number of function evaluations. Here, we design new stabilized methods to be used in a parallel-in-time context. All the developed methods have a multirate version as well. Due to the quadratic workload-stability ratio, the methods scale well in a multigrid framework, hence are well suited for integration with PFASST.

Value / Innovation

Since the methods are explicit and stabilized, there is no need for solving nonlinear systems and there are no step size restrictions.

The multirate versions preserve efficiency also in case of multiscale problems like the ones in cardiac electrophysiology.

gfm (generating function method)

Developed by
TUHH
Link
https://github.com/Parallel-in-Time/gfm
Short summary

A generating function method complete implementation of iterative parallel in time methods (Parareal, MGRIT, PFASST, STMG), automated numerical convergence analyses.

Parareal_MD (Drug design)

Developed by
ENPC
Link
https://github.com/OlgaGorynina/Parareal_MD
Short summary

An adaptive implementation of the parareal algorithm for molecular dynamics (MD). The dynamics of the system is modelled by the Langevin equation and is simulated using the molecular dynamics software LAMMPS which is a well-known MD code that can simulate ensembles of particles in a liquid, solid, or gaseous state. It can model atomic, polymeric, biological, solid-state (metals, ceramics, oxides), granular, coarse-grained, or macroscopic systems using a variety of interatomic potentials (force fields) and boundary conditions. It can model 2d or 3d systems with sizes ranging from only a few particles up to billions.

Value / Innovation

Researchers from the MD community have now access to an efficient, rigorously analyzed and well-tested parallel-in-time method such that their simulation can be sped up (up to 20 times, see https://www.arxiv.org/abs/2212.10508).

Parareal for the (underdamped) Langevin equation

Developed by
ENPC
Link
https://github.com/UpanshuSharmaUNSW/Parareal-algorithm
Short summary

C++ repository that implements the parareal algorithm for the (underdamped) Langevin equation where the coarse and fine integrators correspond to different force fields.

PINN_BlackScholes

Developed by
TUHH
Link
https://github.com/aqibrahimbt/PINN_BlackScholes
Short summary

A demonstrator software that illustrates the promise of using machine learning to create coarse models for PinT algorithms.

PinTOpt

Developed by
KUL
Link
https://gitlab.kuleuven.be/numa/public/pintopt
Short summary

PinTOpt consists of parallel-in-time solvers for linear optimality systems. The implementation specifically contains both the ParaOpt and ParaDiag algorithms to perform parallel-in-time (PinT) optimal control.

STEAM FIQUS+PinT (Electromagnetism)

Developed by
CERN, supported by TUD
Link
https://steam-fiqus.docs.cern.ch
Short summary

A high-performance-computing implementation of parareal written in Python that accelerates the simulation of quenching of superconducting accelerator magnets. Those simulations are necessary to ensure operational safety at CERN (https://cds.cern.ch/record/1178509). However, the problem involves several complex systems with components combining technologies from several domains. The transient phenomena can only be consistently captured if the simulation includes all mutual couplings. This leads to non-acceptable computational times which require space and time parallelization method. The parallel-in-time-specific routines are not yet publicly released as they are still tested internally at CERN.

Value / Innovation

Speed-up of quench simulations at CERN such that various what-if-scenarios can be simulated in acceptable time.

TEMF Parareal (Electromagnetism)

Developed by
TUD
Link
https://github.com/temf/parareal
Short summary

An open-source reference implementation of Parareal that is compatible with Octave/Matlab’s time-stepping syntax. It allows for local parallel execution and for parallel execution over a cluster of machines, possibly combined with local parallel execution at each machine of the cluster. There is an interface to the application software GetDP (https://getdp.info) which is a common open-source multithreaded finite-element code for electromagnetic simulations. It is used particularly frequent for the simulation of electric machines (https://gitlab.onelab.info/doc/models/-/wikis/Electric-machines) and superconducting accelerator magnets (http://www.life-hts.uliege.be), both in academia and industry. The repository contains an industry-relevant machine model (“im_3kw”).

Value / Innovation

This open-source software demonstrates how non-HPC-experts can run their GetDP models in parallel to reduce simulation time. For example, a speed-up of factor 10 was shown when using 40 cores.

Updates to existing software

LibPFASST

Developed by
TUM
Short summary

External software, main author: advisory board member M. Minion. Extensions to the LibPFASST software for dynamically changing resources are currently developed.

pySDC

Developed by
FZJ
Link
https://parallel-in-time.org/pySDC/
Short summary

The following updates have been performed:

  • v5: Integration of adaptivity and first resilience test cases including examples and documentation, restructuring of the internal controller structure to enable better termination criteria, first steps toward GPU usage taken.
  • v5.1-v5.3: Addition of compression techniques, integration of more state-of-the-art serial time-steppers for comparison, adaptation of OpenSFF Best Practices , enable testing via docker container.
  • v5.4: Updates for using external libraries, next steps towards GPU-parallel solvers.

SWEET (Weather & climate)

Developed by
UNIGE
Link
https://sweet.gitlabpages.inria.fr/sweet-www/tutorials
Short summary

This software allows a fast exploration / investigation / prototyping of time discretization methods for PDEs which can be solved with global spectral methods (Fourier & Spherical harmonics). The main applications are certain dynamical cores for climate/weather simulations as they are used by, e.g., the European Centre for Medium-Range Weather Forecasts.

It’s made to:

  • accelerate research around the development of numerical time integration methods.
  • investigate new ways to express parallelization.
  • do some early investigations in scalability of novel time integration methods (e.g., parallel-in-time) for dynamical cores.
Value / Innovation

This software has been developed in a co-design way crossing HPC and applied mathematics with respect to weather and climate simulations. This led to the situation that it’s currently the only one which shows computational benefits for parallel-in-time methods for weather / climate simulations.

During the TIME-X project, various accomplishments have been made: The LibPFASST PinT library has been implemented properly within SWEET. The XBraid library supporting MGRIT has been implemented in SWEET. First tests with Exponential Semi-Lagrangian methods and MGRIT have been implemented as part of an external collaboration. A new parallel SDC-based integrator has been integrated into SWEET and is currently being benchmarked on the HPC systems at JSC, TUM and Univ. Grenoble Alpes.

A new feature which is planned as part of the TIME-X project is the adaptive resource utilization for optimally adopting the coarse time steps to the HPC system’s policy.

XBraid

Developed by
TUM
Link
https://gitlab.inria.fr/dynres/applications/dyn_xbraid
Short summary

External software, main author: advisory board member R. D. Falgout. Extensions to the XBraid software for dynamically changing resources.

Scroll to Top