random_mpi_test, a C code which calls random_mpi(), which generates 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 C code which generates the same sequence of random numbers for both sequential execution and parallel execution under the Message Passing Interface (MPI).