Skip to main content

Vectorization of N-body codes

  • Poster Session
  • Conference paper
  • First Online:
Book cover The Use of Supercomputers in Stellar Dynamics

Part of the book series: Lecture Notes in Physics ((LNP,volume 267))

  • 139 Accesses

Abstract

We have prepared a cosmological N-body code based on the Ahmad-Cohen method for vectorization on the FACOM VP-200 vector processor. The modifications are relatively simple, leaving the main algorithms essentially unchanged. Comparison with the scalar version shows an overall gain in speed of the particle integration exceeding a factor of 10 for test calculations with N=4000 particles. Similar principles can readily be applied to more complicated codes including two-body regularization, although the net gain will be somewhat less.

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

Access this chapter

Institutional subscriptions

References

  • Aarseth, S.J. (1985). Multiple Time Scales, eds. J.U. Brackbill and B.I. Cohen, (Academic Press, New York), p. 377.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Piet Hut Stephen L. W. McMillan

Rights and permissions

Reprints and permissions

Copyright information

© 1986 Springer-Verlag

About this paper

Cite this paper

Aarseth, S.J., Inagaki, S. (1986). Vectorization of N-body codes. In: Hut, P., McMillan, S.L.W. (eds) The Use of Supercomputers in Stellar Dynamics. Lecture Notes in Physics, vol 267. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0116414

Download citation

  • DOI: https://doi.org/10.1007/BFb0116414

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-17196-6

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

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics