[Paper Review] HPX -- An open source C++ Standard Library for Parallelism and Concurrency
HPX is an open-source, C++ standards-conformant AMT runtime that enables asynchronous task-based parallelism and global address space, aiming to scale HPC applications on heterogeneous hardware. It demonstrates integration with GPUs, STORM/STAR applications, and open-source community development.
To achieve scalability with today's heterogeneous HPC resources, we need a dramatic shift in our thinking; MPI+X is not enough. Asynchronous Many Task (AMT) runtime systems break down the global barriers imposed by the Bulk Synchronous Programming model. HPX is an open-source, C++ Standards compliant AMT runtime system that is developed by a diverse international community of collaborators called The Ste||ar Group. HPX provides features which allow application developers to naturally use key design patterns, such as overlapping communication and computation, decentralizing of control flow, oversubscribing execution resources and sending work to data instead of data to work. The Ste||ar Group comprises physicists, engineers, and computer scientists; men and women from many different institutions and affiliations, and over a dozen different countries. We are committed to advancing the development of scalable parallel applications by providing a platform for collaborating and exchanging ideas. In this paper, we give a detailed description of the features HPX provides and how they help achieve scalability and programmability, a list of applications of HPX including two large NSF funded collaborations (STORM, for storm surge forecasting; and STAR (OctoTiger) an astro-physics project which runs at 96.8% parallel efficiency on 643,280 cores), and we end with a description of how HPX and the Ste||ar Group fit into the open source community.
Motivation & Objective
- Motivate the need for a paradigm shift from MPI+X to asynchronous many-task runtime systems to exploit on-node and heterogenous HPC resources.
Proposed method
- Describe HPX runtime components and their roles (thread manager, AGAS, parcel/active messaging, performance counters).
- Explain how HPX enables futures, channels, dataflow, and CPS-based programming for wait-free asynchronous execution.
- Present integration with heterogeneity through HPX.Compute and HPXCL for CUDA and SYCL/device programming.
Experimental results
Research questions
- RQ1How does HPX’s AMT model with AGAS and active messaging improve scalability on heterogeneous HPC systems compared to traditional BSP models?
Key findings
- HPX provides a C++ standards-conforming API with futures, channels, and asynchronous primitives.
- HPX includes an Active Global Address Space (AGAS) enabling object migration and location transparency.
- HPX uses a one-sided Parcel (Active Messaging) model for RPC-like remote invocations.
- HPX includes a task scheduler with multiple scheduling policies and performance counters for adaptivity.
- Applications like LibGeoDecomp, storm surge forecasting (STORM), and astrophysics (OctoTiger) demonstrate high parallel efficiency and scaling on large cores (e.g., 96.8% parallel efficiency on 643,280 cores).
- HPX demonstrates strong performance on heterogeneous hardware (Xeon Phi Knights Corner, Cori Knights Landing) and can outperform MPI in some scenarios.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.