random_mpi_test, a FORTRAN90 code which calls random_mpi(), which demonstrates one way to generate the same sequence of random numbers for both sequential execution and parallel execution under MPI.
The computer code and data files described and made available on this web page are distributed under the MIT license
random_mpi, a FORTRAN90 code which generates the same sequence of values from a random number generator (RNG) for both sequential execution and parallel execution under the Message Passing Interface (MPI).