Skip to main content

On the Abstraction of Message-Passing Communications Using Algorithmic Skeletons

A Case Study

  • Conference paper
Advanced Distributed Systems (ISSADS 2005)

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 3563))

Included in the following conference series:

  • 956 Accesses

Abstract

This is an initial case on exploring the application of algorithmic skeletons to abstract low-level interprocess communication in MPI. The main purpose is intended to illustrate the competitive performance demonstrated by the skeletal approach when compared to utilization of the pure MPI, whilst providing an abstraction with reusability advantages. This initial work involves the implementation of the Wagar’s hyperquicksort algorithm in conjunction with the MPI-based eSkel skeleton library. The reported results compare three MPI-based implementations of hyperquicksort. Firstly a canonic MPI one; secondly, two implementations using the MPI-based skeletal library eSkel. Lastly, the S3L_sort routine, part of its optimized numerical libraries from Sun, is employed as baseline. This overall comparison demonstrates that the use of algorithmic skeletons caused a slight performance degradation, while providing some promising guidance on the use of abstraction for low-level communication operations using the eSkel model.

This work has been partly supported by the EC-funded project HPC-Europa, contract number 506079. The author would like to thank Murray Cole for useful discussions and advice.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Message Passing Interface Forum: MPI standard and documentation (2003), www.mpi-forum.org/docs/docs.html

  2. Cole, M.: Algorithmic Skeletons: Structured management of parallel computation. MIT Press, Cambridge (1989)

    MATH  Google Scholar 

  3. Cole, M.: Algorithmic skeletons. In: Hammond, K., Michaelson, G. (eds.) Research Directions in Parallel Functional Programming, pp. 289–304. Springer, London (1999)

    Google Scholar 

  4. Rabhi, F.A., Gorlatch, S. (eds.): Patterns and skeletons for parallel and distributed computing. Springer, London (2003)

    MATH  Google Scholar 

  5. González-Vélez, H., de Luca, A., González-Vélez, V.: A comparative study of intrinsic parallel programming methodologies. In: Int. Conf. on Electrical and Electronics Engineering, IEEE CS, Los Alamitos (2004)

    Google Scholar 

  6. Structured Parallelism Group, University of Edinburgh: eSkel (2003), homepages.inf.ed.ac.uk/mic/eSkel/

  7. Cole, M.: Bringing skeletons out of the closet: a pragmatic manifesto for skeletal parallel programming. Parallel Computing 30, 389–406 (2004)

    Article  Google Scholar 

  8. Gorlatch, S.: Message passing without send-receive. Future Generation Computer Systems 18, 797–805 (2002)

    Article  MATH  Google Scholar 

  9. Wagar, B.: Hyperquicksort: A fast sorting algorithm for hypercubes. In: Heath, M. (ed.) Hypercube Multiprocessors, pp. 292–299. SIAM, Philadelphia (1987)

    Google Scholar 

  10. Blelloch, G.E., Leiserson, C.E., Maggs, B.M., Plaxton, C.G., Smith, S.J., Zagha, M.: An experimental analysis of parallel sorting algorithms. Theoretical Computer Science 31, 135–167 (1998)

    Article  MATH  MathSciNet  Google Scholar 

  11. Rochester Institute of Technology: MPI implementation of hyperquicksort (2003), httpwww.cs.rit.edu/usr/local/pub/ncs/parallel/mpi/hqs.c

  12. Sun Microsystems: Sun HPC ClusterTools 5 software user’s guide (2003), docs.sun.com/source/817-0084-10

  13. Bader, D.A., Moret, B.M.E., Sanders, P.: Algorithm engineering for parallel computation. In: Fleischer, R., Moret, B.M.E., Schmidt, E.M. (eds.) Experimental Algorithmics. LNCS, vol. 2547, pp. 1–23. Springer, Heidelberg (2002)

    Chapter  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2005 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

González-Vélez, H. (2005). On the Abstraction of Message-Passing Communications Using Algorithmic Skeletons. In: Ramos, F.F., Larios Rosillo, V., Unger, H. (eds) Advanced Distributed Systems. ISSADS 2005. Lecture Notes in Computer Science, vol 3563. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11533962_5

Download citation

  • DOI: https://doi.org/10.1007/11533962_5

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-28063-7

  • Online ISBN: 978-3-540-31674-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics