On the Efficiency of Python for High-Performance Computing: A Case Study Involving Stencil Updates for Partial Differential Equations
暂无分享,去创建一个
The purpose of this paper is to assess the loss of computational efficiency that may occur when scientific codes are written in the Python programming language instead of Fortran or C. Our test problems concern the application of a seven-point finite stencil for a three-dimensional, variable coefficient, Laplace operator. This type of computation appears in lots of codes solving partial differential equations, and the variable coefficient is a key ingredient to capture the arithmetic complexity of stencils arising in advanced multi-physics problems in heterogeneous media.
[1] Guido Rossum,et al. Extending and embedding the python interpreter , 1995 .
[2] Hans Petter Langtangen,et al. Parallelizing PDE Solvers Using the Python Programming Language , 2006 .
[3] Xing Cai,et al. On the performance of the Python programming language for serial and parallel scientific computations , 2005, Sci. Program..
[4] Hans Petter Langtangen,et al. Python scripting for computational science , 2004 .