Python at Petascale With PyFR or: How I Learned to Stop Worrying and Love the Snake
Autor: | Freddie D. Witherden |
---|---|
Rok vydání: | 2021 |
Předmět: |
Domain-specific language
User Friendly General Computer Science Application programming interface Fortran Programming language Computer science General Engineering Python (programming language) computer.software_genre Petascale computing Multithreading Code generation computer computer.programming_language |
Zdroj: | Computing in Science & Engineering. 23:29-37 |
ISSN: | 1558-366X 1521-9615 |
DOI: | 10.1109/mcse.2021.3080126 |
Popis: | In this work, we make the case for Python as a first-class language for high-performance computing (HPC) applications. Our rationale is based on three trends: an increasing desire for applications to be user friendly; the shift toward such applications becoming primarily consumers of third-party application programming interfaces; and growing use of code generation for performance sensitive kernels. In each instance, we argue why Python is better placed to ride these trends than traditional languages such as C or Fortran. Further, we will also address two additional concerns regarding the suitability of Python: long start-up times and limited support for multithreading. An as exemplar of Python in HPC, we consider the high-order computational fluid dynamics code PyFR. The novel architecture of PyFR is described including examples showcasing its domain-specific language. |
Databáze: | OpenAIRE |
Externí odkaz: |