PyCOMPSs: Parallel computational workflows in Python
Enric Tejedor, Yolanda Becerra, Guillem Alomar et al. · The International Journal of High Performance Computing Applications · 2015
The use of the Python programming language for scientific computing has been gaining momentum in the last years. The fact that it is compact and readable and its complete set of scientific libraries are two important characteristics that favour its adoption. Nevertheless, Python still lacks a solution for easily parallelizing generic scripts on distributed infrastructures, since the current alternatives mostly require the use of APIs for message passing or are restricted to embarrassingly parallel computations. In that sense, this paper presents PyCOMPSs, a framework that facilitates the development of parallel computational workflows in Python. In this approach, the user programs her script in a sequential fashion and decorates the functions to be run as asynchronous parallel tasks. A runtime system is in charge of exploiting the inherent concurrency of the script, detecting the data dependencies between tasks and spawning them to the available resources. Furthermore, we show how this programming model can be built on top of a Big Data storage architecture, where the data stored in the backend is abstracted and accessed from the application in the form of persistent objects.
Cited by 168 works. doi:10.1177/1094342015594678 Open-access PDF
Authors
- Enric Tejedor
- Yolanda Becerra
- Guillem Alomar
- Anna Queralt
- Rosa M. Badia
- Jordi Torres
- Toni Cortés
- Jesús Labarta
References
- Swift: Fast, Reliable, Loosely Coupled Parallel Computation
- Dip: A parallel program development environment
- Ruffus: a lightweight Python library for computational pipelines
- MPI for Python: Performance improvements and MPI-2 extensions
- Programming Grid Applications with GRID Superscalar
- Asynchronous remote operation execution in distributed systems
- ServiceSs: An Interoperable Programming Framework for the Cloud
- COMP Superscalar: Bringing GRID Superscalar and GCM Together
- Parallel astronomical data processing with Python: Recipes for multicore machines
- COSMOS: Python library for massively parallel workflows