A framework for an automatic hybrid MPI+OpenMP code generation

  • Authors:
  • Khaled Hamidouche;Joel Falcou;Daniel Etiemble

  • Affiliations:
  • Laboratoire de Recherche en Informatique University Paris-Sud XI, Orsay, France;Laboratoire de Recherche en Informatique University Paris-Sud XI, Orsay, France;Laboratoire de Recherche en Informatique University Paris-Sud XI, Orsay, France

  • Venue:
  • Proceedings of the 19th High Performance Computing Symposia
  • Year:
  • 2011

Quantified Score

Hi-index 0.01

Visualization

Abstract

Clusters of symmetric multiprocessors (SMPs) are the most currently used architecture for large scale applications and combining MPI and OpenMP models is regarded as a suitable programming model for such architectures. But writing efficient MPI+OpenMP programs requires expertise and performance analysis to determine the best number of processes and threads for the optimal execution for a given application on a given platform. To solve these problems, we propose a framework for the development of hybrid MPI+OpenMP programs. This paper provides the following contributions: (i) A compiler analyser that estimates the computing time of a sequential function. (ii) A code generator tool for generating hybrid code based on the compiler analyser and a simple analytical parallel performance prediction model to estimate the execution time of an hybrid program. (iii) An evaluation of the accuracy of the framework and its usability on several benchmarks.