Partenaires

CNRS


Rechercher


Accueil > Publications > Recherche par années > Années 2000 > 2006

Hinsen, K ; Langtangen, HP ; Skavhaug, O ; Odegard, A

Using BSP and python to simplify parallel programming

Future Generation Computer Systems-The International Journal of Grid Computing Theory Methods and Applications 22 (1-2) 123-157

par Administrateur - publié le

Abstract :

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. (c) 2004 Published by Elsevier B.V.