• Home
  • Search
  • Automatic dynamic stack management in large scientific applications: A case study using a global spectral model
  • https://doi.org/10.22323/1.270.0027Copy DOI Icon

Automatic dynamic stack management in large scientific applications: A case study using a global spectral model

  • Jan 11, 2017
  • Ramesh Naidu Laveti
Show More
  • Abstract
  • Literature Map
  • References
  • Similar Papers
Abstract

Compute and data intensive scientific applications demand compilers to allocate more temporaries on the stack. For example, the change resolution component of a global spectral model changes the resolution of the input files using Nearest Neighbour Interpolation which requires large temporaries on the stack. Temporaries include sub-arrays, automatic arrays and, sub-sections corresponding to actual arguments of a subroutine. If the infrastructure cannot provide adequate stack space at runtime relative to the total size of the temporaries, then the application program runs out of stack and aborts. Allocating the heap memory to store the large temporaries introduced around 25% additional runtime because of allocation and deallocation of the memory. This is observed in various components of a global spectral model. We propose an automatic dynamic stack management framework which uses application profile information and the information related to the required stack memory. It does not mandate any hardware configuration changes. This technique manages stack frames on RAM by the compiler-inserted code into the application binary. Our experiments with a global spectral model show that we are able to obtain an average runtime savings of 21% along with a compile time overhead of 4%. The actual gain depends on the size of the temporaries in an application and the size of the RAM. Currently, it supports sequential and OpenMP applications. We further enhance our framework to deal with the complex MPI and GPU programming paradigms.

Similar Papers
  • PDF
  • Research Article
  • Citations41

Global 7 km mesh nonhydrostatic Model Intercomparison Project for improving TYphoon forecast (TYMIP-G7): experimental design and preliminary results

  • Mar 31, 2017
  • Geoscientific Model Development
  • Masuo Nakano +11
  • Research Article
  • Citations21

Design and implementation of four-dimensional variational data assimilation system constrained by the global spectral model

  • Jan 01, 2012
  • Acta Physica Sinica
  • Zhang Wei-Min +2
  • Research Article
  • Citations58

U.S. regional climate simulations and seasonal forecasts

  • Jul 05, 2003
  • Journal of Geophysical Research: Atmospheres
  • J Roads +2
  • Research Article
  • Citations14

Local error propagation in a global spectral shallow water model: Its implication for regional forecast modelling: Research note

  • Dec 01, 1988
  • Atmosphere-Ocean
  • Evhen Yakimiw
  • Research Article
  • Citations8

Performance and validation of the YHGSM global spectral model coupled with the WAM model

  • May 10, 2023
  • Quarterly Journal of the Royal Meteorological Society
  • Jinhui Yang +6
  • Research Article
  • Citations7

Numerical simulation of the North American monsoon system

  • Aug 01, 2003
  • Meteorology and Atmospheric Physics
  • A Chakraborty +1
  • Book Chapter

Improved Precipitation Forecast Skill from the Use of Physical Initialization

  • Jan 01, 1994
  • T. N. Krishnamurti +2
  • Research Article
  • Citations32

Modeling the Multiwavelength Spectra and Variability of BL Lacertae in 2000

  • Mar 26, 2004
  • The Astrophysical Journal
  • M Bottcher +1
  • Research Article
  • Citations196

Short-Range Ensemble Forecasting of Quantitative Precipitation

  • Oct 01, 1997
  • Monthly Weather Review
  • Jun Du +2
  • Research Article
  • Citations3

A model study of the 30-50 day oscillation In the tropical atmosphere

  • Jul 01, 1991
  • MAUSAM
  • S V Kasture +2
  • Book Chapter
  • Citations1

Mathematical Aspects of Spectral Models

  • May 28, 1998
  • T N Krishnamurti +2
  • Research Article
  • Citations1

Spectral model with a regional focus

  • Oct 01, 1989
  • MAUSAM
  • Gyan Mohan
  • Research Article
  • Citations65

Role of large scale moist dynamics in November 1–5, 1994, hazardous Mediterranean weather

  • Aug 01, 1998
  • Journal of Geophysical Research: Atmospheres
  • S O Krichak +1
  • Research Article
  • Citations26

The cause of the seasonal variation in the oxygen isotopic composition of precipitation along the western U.S. coast

  • Sep 26, 2012
  • Journal of Geophysical Research: Atmospheres
  • Nikolaus H Buenning +3
  • Research Article
  • Citations12

Global Modeling: Origins, Assessment, and Alternative Futures

  • Mar 01, 2000
  • Simulation & Gaming
  • Richard W Chadwick
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.