Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CodeVault
hpc-kernels
unstructured_grids
Commits
08829813
Commit
08829813
authored
Aug 25, 2016
by
Thomas Steinreiter
Browse files
fixed random seed for deterministic benchmark results
parent
663c4bdb
Changes
1
Show whitespace changes
Inline
Side-by-side
halo_exchange/main.c
View file @
08829813
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment