Software development in scientific computing is adopting new developments of programming and parallelization models only very slowly or not at all. A core reason is the dependency of simulation codes on existing libraries and software components. Thus, if the underlying software components, such as runtimes and communication libraries, do not adopt new developments in high-performance computing, the application software will not do so either. This can lead to significant disadvantages in performance, scalability, and efficiency.
This project works on these underlying components. It uses modern programming concepts, in particular the ParalleX execution model and its implementation HPX for scientific computing applications, and contributes to the further development of HPX. The current standard, MPI+OpenMP, combines explicit message passing with mostly directive-based fork-join shared-memory parallelization. HPX offers several advantages over this model. The MPI standard has had no C++ bindings since version 3.0 such that C++ programs have to use its C interface, which works with untyped buffers and opaque handles rather than C++ concepts such as type safety, RAII, and futures. In contrast, HPX builds on modern C++20 and implements the concurrency and parallelism facilities of the C++ standard library. Moreover, HPX extends these standard APIs to distributed memory: its active global address space (AGAS) lets distributed objects migrate between compute nodes, and its task-based parallelization model processes fine-grained asynchronous tasks using lightweight threads.
As one part of this project, we compare asynchronous tasks with fork-join. The tiled Cholesky decomposition, a canonical irregular kernel, serves as one test case. Our open-source framework Cholesky-Bench compares fork-join, collapsed fork-join, synchronous tasks, and asynchronous tasks in OpenMP, HPX and other task-based runtimes under a unified software stack.
For distributed memory, our focus is communication. With HPX-FFT, a distributed multi-dimensional FFT library built on HPX collectives, we compare the network layers of HPX (parcelports for TCP, MPI, and the Lightweight Communication Interface, LCI) with the MPI version of FFTW3. For better scalability, we developed together with our collaborators a hierarchical HPX communicator that spreads the communication over a tree of processes instead of a single flat root process. We also developed new HPX collectives that address bottlenecks we found in multiple applications in this project.
Dirk Pflüger
Prof. Dr. rer. nat.Head of Institute
Alexander Strack
M.Sc.Researcher