PyOMP: Multithreaded Parallel Programming in Python | IEEE Journals & Magazine | IEEE Xplore

PyOMP: Multithreaded Parallel Programming in Python


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...Show More

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.
Published in: Computing in Science & Engineering ( Volume: 23, Issue: 6, 01 Nov.-Dec. 2021)
Page(s): 77 - 80
Date of Publication: 21 December 2021

ISSN Information:

Funding Agency:


Contact IEEE to Subscribe

References

References is not available for this document.