AuthorsK. Hinsen, H. P. Langtangen, O. Skavhaug and Å. Ødegård
TitleUsing BSP and Python to Simplify Parallel Programming
AfilliationScientific Computing, Scientific Computing, Scientific Computing
Publication TypeJournal Article
Year of Publication2006
JournalFuture Generation Computer Systems
Date PublishedJanuary

Scientific computing is usually associated with compiled languages for maximum efficiency. However, in a typical application program, only a small part of the code is time-critical and requires the efficiency of a compiled language. It is often advantageous to use interpreted high-level languages for the remaining tasks, adopting a mixed-language approach. This will be demonstrated for Python, an interpreted object-oriented high-level language that is well suited for scientific computing. Particular attention is paid to high-level parallel programming using Python and the BSP model. We explain the basics of BSP and how it differs from other parallel programming tools like MPI. Thereafter we present an application of Python and BSP for solving a partial differential equation from computational science, utilizing high-level design of libraries and mixed-language (Python-C or Python-Fortran) programming.

Citation KeyHinsen.2006.1