The Shared Memory Parallelisation of an Ocean Modelling Code Using an Interactive Parallelisation Toolkit
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.
Unable to display preview. Download preview PDF.
- 3.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, 2000Google Scholar
- 7.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.Google Scholar
- 13.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.Google Scholar
- 14.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.Google Scholar
- 15.Mesinger F. and Arakawa A., Numerical methods used in atmospheric models, GARP publications series, No. 17, World Meteorological Organisation, 1976.Google Scholar
- 16.Amdahl G. Validating the single processor approach to achieving large scale computing capabilities. AFIPS conference proceedings, 30, 83–485, 1967.Google Scholar