RUS  ENG
Full version
JOURNALS // Computer Research and Modeling // Archive

Computer Research and Modeling, 2011 Volume 3, Issue 3, Pages 287–308 (Mi crm668)

This article is cited in 1 paper

NUMERICAL METHODS AND THE BASIS FOR THEIR APPLICATION

Efficient Pseudorandom number generators for biomolecular simulations on graphics processors

A. A. Zhmurovab, V. A. Barsegovab, S. V. Trifonova, Ya. A. Kholodova, A. S. Kholodova

a Moscow Institute of Physics and Technology (State University), Dolgoprudny, Moscow region
b Department of Chemistry, University of Massachusetts, Lowell, MA 01854

Abstract: Langevin Dynamics, Monte Carlo, and all-atom Molecular Dynamics simulations in implicit solvent require a reliable source of pseudorandom numbers generated at each step of calculation. We present the two main approaches for implementation of pseudorandom number generators on a GPU. In the first approach, inherent in CPU-based calculations, one PRNG produces a stream of pseudorandom numbers in each thread of execution, whereas the second approach builds on the ability of different threads to communicate, thus, sharing random seeds across the entire device. We exemplify the use of these approaches through the development of Ran2, Hybrid Taus, and Lagged Fibonacci algorithms. As an application-based test of randomness, we carry out LD simulations of N independent harmonic oscillators coupled to a stochastic thermostat. This model allows us to assess statistical quality of pseudorandom numbers. We also profile performance of these generators in terms of the computational time, memory usage, and the speedup factor (CPU/GPU time).

Keywords: GPU, pseudorandom numbers, PRNG, biomolecules.

UDC: 004.942

Received: 21.07.2011

DOI: 10.20537/2076-7633-2011-3-3-287-308



© Steklov Math. Inst. of RAS, 2025