Generation of Random Numbers on Graphics Processors: Forced Indentation In Silico of the Bacteriophage HK97
Department of Chemistry and Department of Mathematics, University of Massachusetts, Lowell, Massachusetts 01854, United States
The Journal of Physical Chemistry B
@article{citeulike:8495907,
author={Zhmurov, A. and Rybnikov, K. and Kholodov, Y. and Barsegov, V.},
doi={10.1021/jp109079t},
journal={The Journal of Physical Chemistry B},
title={Generation of Random Numbers on Graphics Processors: Forced Indentation In Silico of the Bacteriophage HK97},
url={http://dx.doi.org/10.1021/jp109079t},
year={2011}
}
The use of graphics processing units (GPUs) in simulation applications offers a significant speed gain as compared to computations on central processing units (CPUs). Many simulation methods require a large number of independent random variables generated at each step. We present two approaches for implementation of random number generators (RNGs) on a GPU. In the one-RNG-per-thread approach, one RNG produces a stream of random numbers in each thread of execution, whereas the one-RNG-for-all-threads method builds on the ability of different threads to communicate, thus, sharing random seeds across an entire GPU device. We used these approaches to implement Ran2, Hybrid Taus, and Lagged Fibonacci algorithms on a GPU. We profiled the performance of these generators in terms of the computational time, memory usage, and the speedup factor (CPU time/GPU time). These generators have been incorporated into the program for Langevin simulations of biomolecules fully implemented on the GPU. The x250-fold computational speedup on the GPU allowed us to carry out single-molecule dynamic force measurements in silico to explore the mechanical properties of the bacteriophage HK97 in the experimental subsecond time scale. We found that the nanomechanical response of HK97 depends on the conditions of force application, including the rate of change and geometry of the mechanical perturbation. Hence, using the GPU-based implementation of RNGs, presented here, in conjunction with Langevin simulations, makes it possible to directly compare the results of dynamic force measurements in vitro and in silico.
January 2, 2011 by hgpu