Back to Search Start Over

PyOMP: Multithreaded Parallel Programming in Python.

Authors :
Mattson, Timothy G.
Anderson, Todd A.
Georgakoudis, Giorgis
Hinsen, Konrad
Dubey, Anshu
Source :
Computing in Science & Engineering; Nov/Dec2021, Vol. 23 Issue 6, p77-80, 4p
Publication Year :
2021

Abstract

Python is a widely used language in scientific computing. When the goal is high performance, however, Python lags far behind low-level languages such as C and Fortran. To support applications that stress performance, Python needs to access the full capabilities of modern CPUs. That means support for parallel multithreading. In this article, we describe PyOMP, a system that enables OpenMP in Python. Programmers write code in Python with OpenMP, Numba generates code that compiles to LLVM, and the resulting programs run with performance that approaches that from code written with C and OpenMP. In this article, we provide an update on the PyOMP project and explain how to install it and use it to write parallel multithreaded code in Python. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
15219615
Volume :
23
Issue :
6
Database :
Complementary Index
Journal :
Computing in Science & Engineering
Publication Type :
Academic Journal
Accession number :
154265371
Full Text :
https://doi.org/10.1109/MCSE.2021.3128806