DOE OSTI · 1843562
PyOMP: Multithreaded Parallel Programming in Python
Abstract
We know that 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 paper, 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 paper we provide an update on the PyOMP project and explain how to install it and use it to write parallel multithreaded code in Python.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Mattson, Timothy G., Anderson, Todd A., Georgakoudis, Giorgis. 2021-12-21. PyOMP: Multithreaded Parallel Programming in Python. https://doi.org/10.1109/mcse.2021.3128806
Cite the original work for its findings. Save a collection to share your selection of sources.