skip to main content
10.5555/110382.110606acmconferencesArticle/Chapter ViewAbstractPublication PagesscConference Proceedingsconference-collections
Article
Free Access

An optional hypercube direct N-body solver on the connection machine

Authors Info & Claims
Published:01 October 1990Publication History

ABSTRACT

The direct method for solving N-body problems maps perfectly onto hypercube architectures. Unlike other hypercube implementations, we have implemented a direct N-body solver on the Connection Machine CM-2 which makes optimum use of the full bandwidth of the hypercube. When N > P, where P is the number of floating-point processors, the communication time of the algorithm is negligible, and the execution time is that of the arithmetic time giving a P-fold speed-up for real problems. To obtain this performance, we use “rotated and translated Gray codes” which result in time-wise edge disjoint Hamiltonian paths on the hypercube. We further propose that this communication pattern has unexplored potential for other types of algorithms. Timings are presented for a collection of interacting point vortices in two dimensions. The computation of the velocities of 14,000 vortices in 32-bit precision takes 2 seconds on a 16K CM-2.

References

  1. 1.Anderson, C.R. A method of local corrections for computing the velocity field due to a distribution of vortex blobs. SIAM J. Numer. AnM. 22, (1986), 413-440.Google ScholarGoogle ScholarCross RefCross Ref
  2. 2.Appel, A. An efficient program for many-body simulation. SIAM J. Sci. Star. Comput. 6, (1985), 85-103.Google ScholarGoogle ScholarCross RefCross Ref
  3. 3.Barnes, J. and Hut, P. A hierarchical O(N log N) force calculation algorithm. Nature 324, (1986), 446-449.Google ScholarGoogle ScholarCross RefCross Ref
  4. 4.Brunet, J-Ph., Edelman, A., and Mesirov, J.P. Two Hypercube Algorithms for Direct N-body Solvers, in preparation.Google ScholarGoogle Scholar
  5. 5.Barnes, J. and Hillis, W.D. Programming a highly parallel computer. Nature 326, (1987), 27-30.Google ScholarGoogle ScholarCross RefCross Ref
  6. 6.Bcrtsckas, D.P., Ozvcren, C., Stamoulis, G.D., Tscng, P., and Tsitsiklis, J.N. Optimal communication algorithms for hypcrcubcs. To appear.Google ScholarGoogle Scholar
  7. 7.Fox, G.C., Hipes, P., and Salmon, J. Practical parallel supercomputing: examples from chemistry and physics. Proceedings Supercompt~ting '89. ACM Press, Reno, NV, 1989, pp. 58-70. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. 8.Greengard, L. and Rokhlin, V. A fast algorithm for partide simulation. J. Comp. Phys. 73, (1987), 325-348. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. 9.Johnsson, S.L. and Ho, C.T. Optimum broadcasting and personalized communication in hypercubes. IEEF, Transactions on Computers 38, (1989), 1249-1268. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. 10.Johnsson, S.L. and tto, C.T. Multiplication of arbitrarily shaped matrices on boolean cubes using the full communications bandwidth. Yale University Tech. Rep. YALEU/DCS/TR-721, Yale University, Dept. of Computer Science, New Haven, 1989.Google ScholarGoogle Scholar
  11. 11.Reingold, E.M.~ Nievergelt, J., and Deo, N. Combinatorial Algorithms, Prentice-Hall, Englewoods Cliffs, NJ, 1977. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. 12.Sethian, J.A., Brunet, J-Ph., Greenberg, A., and Mesirov, J.P. Two-dimensional, viscous, incompressible flow in arbitrary geometries on a massively parallel processor. To appear.Google ScholarGoogle Scholar
  13. 13.Zhao, F. and Johnsson, S.L. The parallel multipole method on the Connection Machine. Thinking Machines Corporation Tech. Rep. CS89-6, Thinking Machines Corp., Cambridge, MA, 1989.Google ScholarGoogle Scholar

Index Terms

  1. An optional hypercube direct N-body solver on the connection machine

              Recommendations

              Comments

              Login options

              Check if you have access through your login credentials or your institution to get full access on this article.

              Sign in
              • Published in

                cover image ACM Conferences
                Supercomputing '90: Proceedings of the 1990 ACM/IEEE conference on Supercomputing
                November 1990
                982 pages
                ISBN:0897914120

                Publisher

                IEEE Computer Society Press

                Washington, DC, United States

                Publication History

                • Published: 1 October 1990

                Check for updates

                Qualifiers

                • Article

                Acceptance Rates

                Overall Acceptance Rate1,516of6,373submissions,24%

              PDF Format

              View or Download as a PDF file.

              PDF

              eReader

              View online with eReader.

              eReader