The Shared Memory Parallelisation of an Ocean Modelling Code Using an Interactive Parallelisation Toolkit

  • C. S. Ierotheou
  • S. Johnson
  • P. Leggett
  • M. Cross
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 2330)


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.


  1. 1.
    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.zbMATHCrossRefGoogle Scholar
  2. 2.
    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.zbMATHCrossRefGoogle Scholar
  3. 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
  4. 4.
    Beare, M.I. and Stevens D.P., Optimisation of a parallel ocean general circulation model, Annales Geophysicae, 15, 1369–1377, 1997.CrossRefGoogle Scholar
  5. 5.
  6. 6.
    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.CrossRefGoogle Scholar
  7. 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
  8. 8.
    Johnson S.P., Cross M. and Everett M., Exploitation of Symbolic Information In Interprocedural Dependence Analysis. Parallel Computing, 22, 197–226, 1996.zbMATHCrossRefGoogle Scholar
  9. 9.
    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.zbMATHCrossRefGoogle Scholar
  10. 10.
    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.zbMATHCrossRefGoogle Scholar
  11. 11.
  12. 12.
    Webb, D.J., An ocean model code for array processor computers, Computers and Geosciences, 22, 569–578, 1996.CrossRefGoogle Scholar
  13. 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. 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. 15.
    Mesinger F. and Arakawa A., Numerical methods used in atmospheric models, GARP publications series, No. 17, World Meteorological Organisation, 1976.Google Scholar
  16. 16.
    Amdahl G. Validating the single processor approach to achieving large scale computing capabilities. AFIPS conference proceedings, 30, 83–485, 1967.Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2002

Authors and Affiliations

  • C. S. Ierotheou
    • 1
  • S. Johnson
    • 1
  • P. Leggett
    • 1
  • M. Cross
    • 1
  1. 1.Parallel Processing Research GroupUniversity of GreenwichLondonUK

Personalised recommendations