Abstract

Abstract We describe a new method to accelerate neighbor searches on GRAPE, i.e. a special-purpose hardware that efficiently calculates the gravitational forces and potentials in $N$-body simulations. In addition to gravitational calculations, GRAPE simultaneously constructs lists of neighbor particles that are necessary for Smoothed Particle Hydrodynamics (SPH). However, the data transfer of the neighbor lists from GRAPE to the host computer is time-consuming, and can be a bottleneck. In fact, the data transfer can take about the same time as the calculations of the force themselves. Making use of GRAPE’s special treatment of neighbor lists, we can reduce the amount of data transfer if we search neighbors in the order that the neighbor lists, constructed in a single GRAPE run, overlap each other. We find that the Morton ordering requires very low additional calculation and programming costs, and results in successful speed-up on data transfer. We show some benchmark results in the case of GRAPE-5. Typical reduction in transferred data becomes as much as 90%. This method is suitable not only for GRAPE-5, but also for GRAPE-3 and the other versions of GRAPE.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.