International Journal of Parallel Programming

, Volume 44, Issue 3, pp 427–448

GridFOR: A Domain Specific Language for Parallel Grid-Based Applications


DOI: 10.1007/s10766-014-0348-z

Cite this article as:
Wang, Y. & Li, Z. Int J Parallel Prog (2016) 44: 427. doi:10.1007/s10766-014-0348-z


To ease the programming burden and to make parallel programs more maintainable, computational scientists and engineers currently have the options to use software libraries, templates, and general purpose language extensions to compose their application programs. These existing options, unfortunately, have considerable limitations with compatibility, expressive power and delivered performance. To address these issues, we design a domain specific language, GridFOR, for computational problems defined over regular geometric grids. This language allows the programmer to first implement an algorithm on simple data structures, as commonly illustrated in textbooks or papers. The programmer then specifies transformations to extend the algorithm for complex data structures required by the target applications. We build a compiler to automatically translate a GridFOR program to a parallel Fortran version with Message Passing Interface calls. Several optimization techniques are implemented in our compiler to enhance the program speed.


Domain specific languages Programming models  Program transformation Compiler analysis and optimization 

Copyright information

© Springer Science+Business Media New York 2015

Authors and Affiliations

  1. 1.Department of Computer SciencePurdue UniversityWest LafayetteUSA

Personalised recommendations