Abstract
This article addresses the performance of scientific applications that use the Python programming language. First, we investigate several techniques for improving the computational efficiency of serial Python codes. Then, we discuss the basic programming techniques in Python for parallelizing serial scientific applications. It is shown that an efficient implementation of the array-related operations is essential for achieving good parallel performance, as for the serial case. Once the array-related operations are efficiently implemented, probably using a mixed-language implementation, good serial and parallel performance become achievable. This is confirmed by a set of numerical experiments. Python is also shown to be well suited for writing high-level parallel programs. © 2005 - IOS Press and the authors. All rights reserved.
Author supplied keywords
Cite
CITATION STYLE
Cai, X., Langtangen, H. P., & Moe, H. (2005). On the performance of the Python programming language for serial and parallel scientific computations. Scientific Programming, 13(1), 31–56. https://doi.org/10.1155/2005/619804
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.