open access publication

Article, 2021

Workflows in AiiDA: Engineering a high-throughput, event-based engine for robust and modular computational workflows

COMPUTATIONAL MATERIALS SCIENCE, ISSN 0927-0256, 0927-0256, Volume 187, 10.1016/j.commatsci.2020.110086

Contributors

Uhrin, Martin 0000-0001-6902-1289 [1] [2] [3] Huber, Sebastiaan P. (Corresponding author) [2] [3] Yu, Jusong [4] Marzari, Nicola 0000-0002-9764-0199 [2] [3] Pizzi, Giovanni 0000-0002-3583-4377 [2] [3]

Affiliations

  1. [1] Tech Univ Denmark, Dept Energy Convers & Storage, DK-2800 Lyngby, Denmark
  2. [NORA names: DTU Technical University of Denmark; University; Denmark; Europe, EU; Nordic; OECD];
  3. [2] Ecole Polytech Fed Lausanne, Natl Ctr Computat Design & Discovery Novel Mat MA, CH-1015 Lausanne, Switzerland
  4. [NORA names: Switzerland; Europe, Non-EU; OECD];
  5. [3] Ecole Polytech Fed Lausanne, Natl Ctr Computat Design & Discovery Novel Mat MA, CH-1015 Lausanne, Switzerland
  6. [NORA names: Switzerland; Europe, Non-EU; OECD];
  7. [4] South China Univ Technol, Dept Phys, Guangzhou 510640, Peoples R China
  8. [NORA names: China; Asia, East]

Abstract

Over the last two decades, the field of computational science has seen a dramatic shift towards incorporating high-throughput computation and big-data analysis as fundamental pillars of the scientific discovery process. This has necessitated the development of tools and techniques to deal with the generation, storage and processing of large amounts of data. In this work we present an in-depth look at the workflow engine powering AiiDA, a widely adopted, highly flexible and database-backed informatics infrastructure with an emphasis on data reproducibility. We detail many of the design choices that were made which were informed by several important goals: the ability to scale from running on individual laptops up to high-performance supercomputers, managing jobs with runtimes spanning from fractions of a second to weeks and scaling up to thousands of jobs concurrently, and all this while maximising robustness. In short, AiiDA aims to be a Swiss army knife for high-throughput computational science. As well as the architecture, we outline important API design choices made to give workflow writers a great deal of liberty whilst guiding them towards writing robust and modular workflows, ultimately enabling them to encode their scientific knowledge to the benefit of the wider scientific community.

Keywords

Computational workflows, Data management, Data sharing, Database, Event-based, High-throughput, Provenance, Robust computation

Data Provider: Clarivate