Abstract
This paper briefly describes an interactive parallelisation toolkit that can be used to generate parallel code suitable for either a distributed memory system (using message passing) or a shared memory system (using OpenMP). This study focuses on how the toolkit is used to parallelise a complex heterogeneous ocean modelling code within a few hours for use on a shared memory parallel system. The generated parallel code is essentially the serial code with OpenMP directives added to express the parallelism. The results show that substantial gains in performance can be achieved over the single thread version with very little effort.
Chapter PDF
Similar content being viewed by others
References
Evans E.W., Johnson S.P., Leggett P.F., Cross M., Automatic and Effective Multi-Dimensional Parallelisation of Structured Mesh Based Codes. Parallel Computing, 26, 677–703, 2000.
Evans E.W., Johnson S.P., Leggett P.F. and Cross M., The automatic code generation of asynchronous communications embedded within a parallelisation tool. Parallel Computing, 23, 1493–1523, 1997.
Jin H., Frumkin M., and Yan J. Automatic generation of OpenMP directives and it application to computational fluid dynamics codes. International Symposium on High Performance Computing, Tokyo, Japan, p440, 2000
Beare, M.I. and Stevens D.P., Optimisation of a parallel ocean general circulation model, Annales Geophysicae, 15, 1369–1377, 1997.
Ierotheou C.S., Johnson S.P., Cross M. and Leggett P.F., Computer aided parallelisation tools (CAPTools)-conceptual overview and performance on the parallelisation of structured mesh codes. Parallel Computing, 22, 197–226, 1996.
Johnson S.P., Ierotheou C.S. and Cross M., Computer Aided Parallelisation Of Unstructured Mesh Codes. Proceedings of the International Conference on Parallel and Distributed Processing Techniques and Applications, Editors H.R. Arabnia et al, publisher CSREA, vol. 1, 344–353, 1997.
Johnson S.P., Cross M. and Everett M., Exploitation of Symbolic Information In Interprocedural Dependence Analysis. Parallel Computing, 22, 197–226, 1996.
Leggett P.F., Marsh A.T.J., Johnson S.P. and Cross M., Integrating user knowledge with information from parallelisation tools to facilitate the automatic generation of efficient parallel Fortran code. Parallel Computing, 22, 259–288, 1996.
Johnson S.P., Ierotheou C.S. and Cross M., Automatic parallel code generation for message passing on distributed memory systems. Parallel Computing, 22, 227–258, 1996.
Webb, D.J., An ocean model code for array processor computers, Computers and Geosciences, 22, 569–578, 1996.
Pacanowski, R.C., M0M2 documentation, user’s guide and reference manual, GFDL Ocean Group Technical Report No.3, GFDL/NOAA, Princeton University, Princeton, NJ, 1995.
Rodrigues J.N., Johnson S.P., Walshaw C. and Cross M., An automatable generic strategy for dynamic load balancing in parallel structured mesh CFD code., Parallel Computational Fluid Dynamics, D. Keyes Editor, 345-353, 2000.
Mesinger F. and Arakawa A., Numerical methods used in atmospheric models, GARP publications series, No. 17, World Meteorological Organisation, 1976.
Amdahl G. Validating the single processor approach to achieving large scale computing capabilities. AFIPS conference proceedings, 30, 83–485, 1967.
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
Ierotheou, C.S., Johnson, S., Leggett, P., Cross, M. (2002). The Shared Memory Parallelisation of an Ocean Modelling Code Using an Interactive Parallelisation Toolkit. 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 2330. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-46080-2_100
Download citation
DOI: https://doi.org/10.1007/3-540-46080-2_100
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-43593-8
Online ISBN: 978-3-540-46080-0
eBook Packages: Springer Book Archive