Torcalia.jl: An MPI-based Runtime System for Asynchronous Task Parallelism in Julia
Argiris Sofotasios, Dimitris Metaxakis, Chrysostomos Stylios, Panagiotis Hadjidoukas
Key points
From the paper's conclusion- Evaluated on the ARIS supercomputer using four diverse workloads, Torcalia demonstrates strong scalability, reducing wall-clock time by up to 18.1% compared with Dagger, a state-of-the-art task-based engine in Julia.
Abstract
Designed to address the two-language problem, the Julia programming language provides a powerful platform for developing high-performance scientific computing and machine learning applications. Such applications increasingly exhibit irregular, adaptive, or data-driven workloads for which traditional bulk-synchronous parallel (BSP) models often struggle to efficiently exploit the available parallelism. Asynchronous many-task (AMT) runtime systems offer a compelling alternative, decomposing computations into fine-grained tasks that are dynamically scheduled across the hierarchical architecture of modern HPC systems. This paper introduces Torcalia.jl, a Julia package designed to orchestrate the asynchronous execution of tasks across both shared and distributed memory environments. Built on top of MPI.jl and Julia's native multithreading, Torcalia employs a dependency-aware task scheduling scheme that combines the work-sharing and work-stealing paradigms to achieve adaptive load balancing. Tasks can be nested arbitrarily, enabling applications to exploit multiple levels of parallelism, while application-level distributed shared memory (DSM) extends task-based shared-memory programming to multi-node clusters. Beyond task-based programming, the proposed library supports skeletal programming, providing high-level abstractions that facilitate the implementation of parallel applications at scale. Evaluated on the ARIS supercomputer using four diverse workloads, Torcalia demonstrates strong scalability, reducing wall-clock time by up to 18.1% compared with Dagger, a state-of-the-art task-based engine in Julia. The source code of Torcalia.jl is publicly available at https://github.com/CEID-HPCLAB/Torcalia.jl.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- HEL: A Heterogeneous Extensible Layer for GPU-Resident Runtime OrchestrationarXiv · 2026
- Can Agentic LLMs Write Task-Based Parallel Code? A Study of OpenMP Tasking, HPX, StarPU and TTGarXiv · 2026
- A Compilation Model for Divergent Parallel WorkloadsarXiv · 2026
- LCS.jl v1.0: a high-performance, multi-platform computational model in Julia for turbulent particle-laden flowsGeoscientific Model Development · 2026
- Cyclotron: A Recurrence Language for Expressing Interprocessor CommunicationarXiv · 2026
- TCFG: A Two-Tier Collaborative Fine-Grained Programming Model Integrating On-Chip Multi-Asynchronous Unit Pipelining and Inter-Node Dynamic SchedulingElectronics · 2026