High Performance Direct Gravitational N-body Simulations on Graphics Processing Units
<|reference_start|>High Performance Direct Gravitational N-body Simulations on Graphics Processing Units: We present the results of gravitational direct $N$-body simulations using the commercial graphics processing units (GPU) NVIDIA Quadro FX1400 and GeForce 8800GTX, and compare the results with GRAPE-6Af special purpose hardware. The force evaluation of the $N$-body problem was implemented in Cg using the GPU directly to speed-up the calculations. The integration of the equations of motions were, running on the host computer, implemented in C using the 4th order predictor-corrector Hermite integrator with block time steps. We find that for a large number of particles ($N \apgt 10^4$) modern graphics processing units offer an attractive low cost alternative to GRAPE special purpose hardware. A modern GPU continues to give a relatively flat scaling with the number of particles, comparable to that of the GRAPE. Using the same time step criterion the total energy of the $N$-body system was conserved better than to one in $10^6$ on the GPU, which is only about an order of magnitude worse than obtained with GRAPE. For $N\apgt 10^6$ the GeForce 8800GTX was about 20 times faster than the host computer. Though still about an order of magnitude slower than GRAPE, modern GPU's outperform GRAPE in their low cost, long mean time between failure and the much larger onboard memory; the GRAPE-6Af holds at most 256k particles whereas the GeForce 8800GTF can hold 9 million particles in memory.<|reference_end|>
@article{zwart2007high,
    title={High Performance Direct Gravitational N-body Simulations on Graphics
  Processing Units},
    author={Simon Portegies Zwart, Robert Belleman, Peter Geldof},
    journal={arXiv preprint arXiv:cs/0702135},
    year={2007},
    doi={10.1016/j.newast.2007.05.004},
    archivePrefix={arXiv},
    eprint={cs/0702135},
    primaryClass={cs.PF}
}