DeepAI AI Chat
Log In Sign Up

AutoParallel: A Python module for automatic parallelization and distributed execution of affine loop nests

by   Cristian Ramon-Cortes, et al.
Barcelona Supercomputing Center

The last improvements in programming languages, programming models, and frameworks have focused on abstracting the users from many programming issues. Among others, recent programming frameworks include simpler syntax, automatic memory management and garbage collection, which simplifies code re-usage through library packages, and easily configurable tools for deployment. For instance, Python has risen to the top of the list of the programming languages due to the simplicity of its syntax, while still achieving a good performance even being an interpreted language. Moreover, the community has helped to develop a large number of libraries and modules, tuning them to obtain great performance. However, there is still room for improvement when preventing users from dealing directly with distributed and parallel computing issues. This paper proposes and evaluates AutoParallel, a Python module to automatically find an appropriate task-based parallelization of affine loop nests to execute them in parallel in a distributed computing infrastructure. This parallelization can also include the building of data blocks to increase task granularity in order to achieve a good execution performance. Moreover, AutoParallel is based on sequential programming and only contains a small annotation in the form of a Python decorator so that anyone with little programming skills can scale up an application to hundreds of cores.


page 2

page 4

page 8


Approaches to the Parallelization of Merge Sort in Python

The theory of divide-and-conquer parallelization has been well-studied i...

Toward Interlanguage Parallel Scripting for Distributed-Memory Scientific Computing

Scripting languages such as Python and R have been widely adopted as too...

Parsl: Pervasive Parallel Programming in Python

High-level programming languages such as Python are increasingly used to...

Excel Spreadsheet Analyzer

Spreadsheets are widely used in various fields to do large numerical ana...

Comparing neural network training performance between Elixir and Python

With a wide range of libraries focused on the machine learning market, s...

HPX Smart Executors

The performance of many parallel applications depends on loop-level para...

Predicting Variable Types in Dynamically Typed Programming Languages

Dynamic Programming Languages are quite popular because they increase th...