Skip to main content

Towards a Portable, Fast Parallel AP3M-SPH Code: HYDRA_MPI

  • Conference paper
  • First Online:
  • 507 Accesses

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2131))

Abstract

hydrampi is a portable parallel N-body solver, based on the adaptive P3M algorithm. This Fortran90 code is parallelised using a non-trivial task-farm and two domain decompositions: a 2D cycle of blocks and a slab distribution, using both MPI-1.1 and MPI-2 communications routines. Specifically, MPI_Put and MPI_Get are employed extensively in association with the communication epochs MPI_Fence and MPILock/MPIUnlock. The 1D FFTW is employed. We intend to extend the use of hydra_mpi to cosmological simulations that include Smoothed Particle Hydrodynamics.

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

Buying options

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

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Couchman, H. M. P., Thomas, P. A. & Pearce, F. R.: Hydra: An Adaptive-Mesh Implementation of P3M-SPH. Astrophys. J., 452 (1995) 797

    Article  Google Scholar 

  2. Couchman, H. M. P.: Mesh-refined PPPM: a fast adaptive N-body algorithm. Astrophys. J., 368 (1991) L23

    Article  Google Scholar 

  3. Desplat, J.C.: Porting SHMEM codes to MPI-2. EPCC-TR01-01, EPCC, (2001)

    Google Scholar 

  4. Hockney, R. W. & Eastwood, J. W.: Computer Simulation Using Particles, McGraw-Hill, (1981)

    Google Scholar 

  5. MacFarland, T, Couchman, H. M. P., Pearce, F. R., Pichlmeier, J.: A New Parallel P3M Code for Very Large-Scale Cosmological Simulations. New Astronomy, 3 (1999) 687

    Article  Google Scholar 

  6. Monaghan, J. J.: Smoothed Particle Hydrodynamics. Annu. Rev. Astron. Astrophys., 30 (1992) 543

    Article  Google Scholar 

  7. Pearce, F. R. & Couchman, H. M. P.: Hydra: an adaptive parallel grid code. New Astronomy, 2 (1997) 411

    Article  Google Scholar 

  8. Thacker, R. J., Couchman, H. M. P. & Pearce, F. R.: Simulating Galaxy Formation on SMP’s. HPCS’98, Kluwer (1998) 71–82

    Google Scholar 

  9. Frido, M. & Johnson., S. G.: http://www.fftw.org

  10. Frenk, C. S., et. al.: http://star-www.dur.ac.uk/frazerp/virgo/virgo.html

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2001 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Pringle, G.J., Booth, S.P., Couchman, H.M.P., Pearce, F.R., Simpson, A.D. (2001). Towards a Portable, Fast Parallel AP3M-SPH Code: HYDRA_MPI. In: Cotronis, Y., Dongarra, J. (eds) Recent Advances in Parallel Virtual Machine and Message Passing Interface. EuroPVM/MPI 2001. Lecture Notes in Computer Science, vol 2131. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-45417-9_49

Download citation

  • DOI: https://doi.org/10.1007/3-540-45417-9_49

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

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

  • Online ISBN: 978-3-540-45417-5

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics