In Molecular Dynamics simulations and Monte Carlo simulations, random numbers are a key resource. In computers random numbers are obtained through generators of Pseudo-random numbers (PRNs). In a parallel environment, how to generate PRNs in a parallel way is not trivial. Some good sequential generators are hardly parallelizable, and lose their efficiency, and/or their quality, when being parallelized.
In this talk, I will introduce a parallel RNG packages, called TRNG, which is a C++ library for sequential and parallel Monte-Carlo simulations. Some examples indicate the usage of the TRNG will also be demonstrated.