Implementation of a hierarchical N-body simulator using the OmpSs programming model

Miquel Pericàs, Xavier Martorell, Yoav Etsion

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Many HPC algorithms are highly irregular. They have input-dependent control flow and operate on pointer-based data structures such as trees, graphs, or linked lists. This irregularity makes it challenging to parallelize such algorithms in order to efficiently run them on modern HPC systems. In this paper we study the architectural and programming bottlenecks of the OmpSs task-based programming model when implementing irregular applications. We select a sequential N-body simulation code and describe its parallelization using OmpSs. We then analyze the code, focusing on scalability and load balancing. We conclude that, in general, task-based programming models are well suited to the exploitation of irregular parallelism. Nevertheless, in order to avoid the overheads associated with manually managing the load balancing, the hardware and runtime will need to collectively support much finer-grained tasks.

Original languageEnglish
Title of host publicationIAAA'11 - Proceedings of the 1st Workshop on Irregular Applications
Subtitle of host publicationArchitectures and Algorithm, Co-located with SC'11
Pages23-30
Number of pages8
DOIs
StatePublished - 2011
Externally publishedYes
Event1st Workshop on Irregular Applications: Architectures and Algorithm, IAAA'11, Held in Conjunction with SC'11 - Seattle, WA, United States
Duration: 13 Nov 201113 Nov 2011

Publication series

NameIAAA'11 - Proceedings of the 1st Workshop on Irregular Applications: Architectures and Algorithm, Co-located with SC'11

Conference

Conference1st Workshop on Irregular Applications: Architectures and Algorithm, IAAA'11, Held in Conjunction with SC'11
Country/TerritoryUnited States
CitySeattle, WA
Period13/11/1113/11/11

Keywords

  • barnes-hut
  • ompSs
  • taskSs

All Science Journal Classification (ASJC) codes

  • Computer Science Applications
  • Hardware and Architecture
  • Modelling and Simulation

Fingerprint

Dive into the research topics of 'Implementation of a hierarchical N-body simulator using the OmpSs programming model'. Together they form a unique fingerprint.

Cite this