Abstract
Traditional design and implementation of large atmospheric models is a difficult, tedious and erroneous task. With the Ctadel project we propose a new method of code generation, where the designer describes the model in an abstract high-level specification language which is translated into highly optimized Fortran code. In this paper we show the abilities of this method on a coupled ocean—atmosphere model, in which we have to deal with multi-resolution domains and different time-steps. We, briefly, describe a new concept in compiler design, the use of templates for code generation, to elevate the burden of choosing architecture optimized numerical routines.
Supported in part by the FSU Cornerstone Program for Centers of Excellence.
Supported in part by NSF grant CCR-0105422.
Chapter PDF
Similar content being viewed by others
Keywords
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.
References
L. DeRose, K. Gallivan, E. Gallopoulos, B. Marsolf, and D. Padua. Falcon: A mat-lab interactive restructuring compiler. In 8th International Workshop, LCPC’95, Languages and Compilers for Parallel Computing, pages 269–288, Columbus OH, USA, Aug. 1995. Springer Verlag.
William K. Dewar. Quasigeostrophic climate dynamics. Journal of Marine Research, Submitted.
John F. Harper and Charles C. Dyer. http://www.scar.utoronto.ca/ harper/redten/.
W. Holland. The role of mesoscale eddies in the general circulation of the ocean: numerical experiments using a wind-driven quasi-geostrophic model. Journal of Physical Oceanography, 8:363–392, 1978.
E. Houstis, T. Papatheodorou, and C. Polychronopoulos. Advanced loop optimizations for parallel computers. In Proceedings of the First International Conference on Supercomputing, pages 255–277, New York, USA, 1987. Springer-Verlag.
University of Washington. Department. of Mathematics. http://www.math.washington.edu/~lee/Ricci/.
William H. Press, Saul A. Teukolsky, William T. Vetterling, and Brian P. Flannery. Numerical Recipes in Fortran 77. Cambridge University Press, 1992.
K. Shafer Smith and Geoffrey K. Vallis. The scales and equilibration of midocean eddies: Freely evolving flow. Journal of Physical Oceanography, 31:554–571, February 2001.
T. Sterling, D. Savarese, D. J. Becker, J. E. Dorband, U. A. Ranawake, and C. V. Packer. BEOWULF: A parallel workstation for scientific computation. In Proceedings of the 24th International Conference on Parallel Processing, pages I:11–14, Oconomowoc, WI, 1995.
Paul van der Mark, Gerard Cats, and Lex Wolters. Automatic code generation for a turbulence scheme. In Proceedings of the 15 th International Conference of Supercomputing, pages 252–259, Sorrento, Italy, June 2001. ACM.
R.A. van Engelen. Ctadel: A Generator of Efficient Numerical Codes. PhD thesis, Universiteit Leiden, 1998.
Robert van Engelen, Lex Wolters, and Gerard Cats. Ctadel: A generator of multi-platform high performance codes for pde-based scientific applications. In Proceedings of the 10 th International Conference on Supercomputing, pages 86–93, Philadelphia, USA, May 1996. ACM.
Robert van Engelen, Lex Wolters, and Gerard Cats. Tomorrow’s weather forecast: Productive program generation in atmospheric modeling. IEEE Computational Science and Engineering, 4(3):22–31, 1997.
Robert A. van Engelen. Atmol: A domain-specific language for atmospheric modeling. Journal of Computing and Information Technology, 2001.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2002 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
van der Mark, P., van Engelen, R., Gallivan, K., Dewar, W. (2002). A Case Study for Automatic Code Generation on a Coupled Ocean— Atmosphere Model. In: Sloot, P.M.A., Hoekstra, A.G., Tan, C.J.K., Dongarra, J.J. (eds) Computational Science — ICCS 2002. ICCS 2002. Lecture Notes in Computer Science, vol 2329. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-46043-8_42
Download citation
DOI: https://doi.org/10.1007/3-540-46043-8_42
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-43591-4
Online ISBN: 978-3-540-46043-5
eBook Packages: Springer Book Archive