A Fortran 90 interface to random number generation

Published: 01-09-1995| Version 1 | DOI: 10.17632/7wyc9j4kr4.1
Michael Hennecke


Abstract A Fortran 90 MODULE has been implemented which is used to replace the intrinsic random number generation subroutines RANDOM_NUMBER and RANDOM_SEED with a user-defined generator. It is shown how the new features of Fortran 90 can be used to define a set of user subroutines that behave as the intrinsic procedures do, and thus provide a convenient way to interface to arbitrary random number generators without the need to change the calls to the random number generator in the user program. Implem... Title of program: random__module Catalogue Id: ADBR_v1_0 Nature of problem Any Fortran 90 program requiring uniform pseudorandom numbers, for example Monte Carlo simulations. Versions of this program held in the CPC repository in Mendeley Data ADBR_v1_0; random__module; 10.1016/0010-4655(95)00065-N This program has been imported from the CPC Program Library held at Queen's University Belfast (1969-2019)