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 information on this web page is 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).