arrow
Return

mpi4py.futures: MPI-Based Asynchronous Task Execution for Python

delete2023-02-01
delete5
delete
OA
AI
M
Marcin Rogowski *
D
David E. Keyes
L
Lisandro Dalcín
DOI:10.1109/TPDS.2022.3225481delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
We present mpi4py.futures, a lightweight, asynchronous task execution framework targeting the Python programming language and using the Message Passing Interface (MPI) for interprocess communication. mpi4py.futures follows the interface of the concurrent.futures package from the Python standard library and can be used as its drop-in replacement, while allowing applications to scale over multiple compute nodes. We discuss the design, implementation, and feature set of mpi4py.futures and compare its performance to other solutions on both shared and distributed memory architectures. On a shared-memory system, we show mpi4py.futures to consistently outperform Python's concurrent.futures with speedup ratios between 1.4X and 3.7X in throughput (tasks per second) and between 1.9X and 2.9X in bandwidth. On a Cray XC40 system, we compare mpi4py.futures to Dask - a well-known Python parallel computing package. Although we note more varied results, we show mpi4py.futures to outperform Dask in most scenarios.
Keywords:
MPI
Python
parallelism
master-worker
parallel programming models
distributed computing
high performance computing
task execution
multiprocessing

Journal

IEEE Transactions on Parallel and Distributed Systems cover
IEEE Transactions on Parallel and Distributed Systems
IF:
6
Papers:
5.2K
Citations:
1.1W

Organization

K
king abdullah university of science & technology
Scholars:
1.3W
Papers: 1.3W
Citations: 32
Cited Papers

Cited Papers

Muscle and joint‐contact loading at the glenohumeral joint after reverse total shoulder arthroplasty
err2011-05-12
err0
errOAAI
errDavid C. Ackland; Sasha Roshan‐Zamir; Martin Richardson; Marcus G. Pandy
errShare
errSave
PyCOMPSs: Parallel computational workflows in Python
err2016-07-27
err90
errOAAI
errTejedor, Enric; Becerra, Yolanda; Alomar, Guillem; Queralt, Anna; Badia, Rosa M.; Torres, Jordi; Cortes, Toni; Labarta, Jesus
errShare
errSave
ParaCopasi: A package for parallel biochemical simulation and analysis
err2021-11-08
err1
PREAI
errYuan, Lihuan; Wu, Chengkun; Guo, Xiaowei; Yang, Canqun
errShare
errSave
errShare
errSave
Feed‐forward control of preshaping in the rat is mediated by the corticospinal tract
err2010-10-12
err0
errOAAI
errJason B. Carmel; Sangsoo Kim; Marcel Brus‐Ramer; John H. Martin
errShare
errSave
yt: A MULTI-CODE ANALYSIS TOOLKIT FOR ASTROPHYSICAL SIMULATION DATA
err2010-12-28
err956
errOAAI
errTurk, Matthew J.; Smith, Britton D.; Oishi, Jeffrey S.; Skory, Stephen; Skillman, Samuel W.; Abel, Tom; Norman, Michael L.
errShare
errSave
Literature review of SNOMED CT use
err2014-02-01
err0
errOAAI
errDennis Lee; Nicolette de Keizer; Francis Lau; Ronald Cornet
errShare
errSave
researcher View more