Akademska digitalna zbirka SLovenije - logo
E-viri
Celotno besedilo
Recenzirano Odprti dostop
  • PyOMP: Multithreaded Parall...
    Mattson, Timothy G.; Anderson, Todd A.; Georgakoudis, Giorgis; Hinsen, Konrad; Dubey, Anshu

    Computing in science & engineering, 11/2021, Letnik: 23, Številka: 6
    Journal Article

    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.