NADCMSNACOMP-PHMay 12, 2012

PyClaw: Accessible, Extensible, Scalable Tools for Wave Propagation Problems

arXiv:1111.658388 citationsh-index: 30
Originality Synthesis-oriented
AI Analysis

For scientists and engineers solving hyperbolic PDEs, PyClaw offers a user-friendly yet high-performance tool that scales to large parallel systems.

PyClaw provides a Python-based interface to Fortran solvers for hyperbolic PDEs, achieving MATLAB-like ease of use with near-Fortran efficiency and scalability to supercomputers, demonstrated on shallow water, compressible flow, and elasticity problems.

Development of scientific software involves tradeoffs between ease of use, generality, and performance. We describe the design of a general hyperbolic PDE solver that can be operated with the convenience of MATLAB yet achieves efficiency near that of hand-coded Fortran and scales to the largest supercomputers. This is achieved by using Python for most of the code while employing automatically-wrapped Fortran kernels for computationally intensive routines, and using Python bindings to interface with a parallel computing library and other numerical packages. The software described here is PyClaw, a Python-based structured grid solver for general systems of hyperbolic PDEs \cite{pyclaw}. PyClaw provides a powerful and intuitive interface to the algorithms of the existing Fortran codes Clawpack and SharpClaw, simplifying code development and use while providing massive parallelism and scalable solvers via the PETSc library. The package is further augmented by use of PyWENO for generation of efficient high-order weighted essentially non-oscillatory reconstruction code. The simplicity, capability, and performance of this approach are demonstrated through application to example problems in shallow water flow, compressible flow and elasticity.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes