Articles

On the Performance of the Parallel Implementation of the Shallow Water Model on Distributed Memory Architectures

Authors:

Abstract

This paper presents a study of the impact of memory architectures, distributed memory (DM) and virtual shared memory (VSM), in the solution of parallel numerical algorithms on a multi-processor cluster. A parallel implementation of the shallow water equations to model a Tsunami is chosen as the case study. Data is partitioned into sub-domains, namely a four by three grid scheme and an eight by six

grid scheme which are used for the parallel implementation of this model. There are four versions of the parallel algorithm for each grid scheme: distributed memory without threads, distributed memory with threads, virtual shared memory without threads, and virtual shared memory with threads. These four parallel versions have been implemented on a high performance cluster, connected to the "Nordugrid". Experiments are realized using the Message Passing Interface (MPI) library, the C/Linda, and the Linux pthreads. Subject to the availability of memory, the virtual shared memory version without threads performs best, and as the task is scaled up, the threaded version becomes efficient in both DM and VSM implementations.

Index Terms: MPI, Linda, multi processors, Shallow water equations, tsunami model.

DOI: 10.4038/icter.v2i1.1399

The International Journal on Advances in ICT for Emerging Regions 2009 02 (01): 3-10

Keywords:

MPILindamulti processorsShallow water equationstsunami model
  • Year: 2009
  • Volume: 2 Issue: 1
  • Page/Article: 3-10
  • DOI: 10.4038/icter.v2i1.1399
  • Published on 9 Dec 2009
  • Peer Reviewed