Introduction

Motoko is a workflow manager built on top of BlackDynamite, a Python-based tool for managing job submissions suited for HPC facilities in an automated and highly parallelized fashion.

Motoko adds a workflow layer over several BlackDynamite studies. Each study describes and runs one parametrized calculation; Motoko coordinates how those studies depend on each other, when follow-up tasks are created, and when the overall workflow is finished.

The package provides:

  • A Workflow object that loads a workflow directory and exposes its task managers.

  • A TaskManager wrapper around each BlackDynamite study.

  • An asynchronous orchestrator API for dependency-driven workflows.

  • Event actions for workflows that react to finished or failed runs.

  • A motoko command-line interface for creating, launching, monitoring, and cleaning workflows.