Commit 08829813 authored by Thomas Steinreiter's avatar Thomas Steinreiter
Browse files

fixed random seed for deterministic benchmark results

parent 663c4bdb
......@@ -31,7 +31,7 @@ int main(int argc, char *argv[])
MPI_Comm_rank(MPI_COMM_WORLD, &mpi_rank);
// initialize random number generator
srand((mpi_rank + 17) * (int)time(NULL));
srand(mpi_rank + 17); // using fixed seed for deterministic benchmark results
conf_t configuration;
conf_init(&configuration);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment