DaStGen--A Data Structure Generator for Parallel C++ HPC Software

  • Authors:
  • Hans---Joachim Bungartz;Wolfgang Eckhardt;Miriam Mehl;Tobias Weinzierl

  • Affiliations:
  • Technische Universität München, Garching, Germany 85748;Technische Universität München, Garching, Germany 85748;Technische Universität München, Garching, Germany 85748;Technische Universität München, Garching, Germany 85748

  • Venue:
  • ICCS '08 Proceedings of the 8th international conference on Computational Science, Part III
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

Simulation codes often suffer from high memory requirements. This holds in particular if they are memory-bounded, and, with multicore systems coming up, the problem will become even worse as more and more cores have to share the memory connections. To optimise data structures with respect to memory manually is error-prone and cumbersome.This paper presents the tool DaStGen translating classes declared in C++ syntax and augmented by new keywords into plain C++ code. The tool automates the record optimisation, as it analyses the potential range of each attribute, and as the user can restrict this range further. Herefrom, the generated code stores multiple attributes within one single primitive type. Furthermore, the tool derives user-defined MPI data types for each class. Using the tool reduces any algorithm's memory footprint, it speeds up memory-bounded applications such as CFD codes, and it hides technical details of MPI applications from the programmer.