Generation of Random Numbers on Graphics Processors: Forced Indentation In Silico of the Bacteriophage HK97

A. Zhmurov, K. Rybnikov, Y. Kholodov, V. Barsegov
Department of Chemistry and Department of Mathematics, University of Massachusetts, Lowell, Massachusetts 01854, United States
The Journal of Physical Chemistry B


   author={Zhmurov, A. and Rybnikov, K. and Kholodov, Y. and Barsegov, V.},


   journal={The Journal of Physical Chemistry B},

   title={Generation of Random Numbers on Graphics Processors: Forced Indentation In Silico of the Bacteriophage HK97},




Download Download (PDF)   View View   Source Source   



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.
No votes yet.
Please wait...

* * *

* * *

HGPU group © 2010-2024 hgpu.org

All rights belong to the respective authors

Contact us: