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
SWIFT
SWIFTsim
Commits
f1210eaf
Commit
f1210eaf
authored
Feb 17, 2017
by
Matthieu Schaller
Browse files
Only force a repartition if you have METIS activated.
parent
5d334d22
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/engine.c
View file @
f1210eaf
...
...
@@ -3048,7 +3048,7 @@ void engine_step(struct engine *e) {
engine_prepare
(
e
);
/* Repartition the space amongst the nodes? */
#ifdef
WITH_MPI
#if
def
ined(
WITH_MPI
) && defined(HAVE_METIS)
if
(
e
->
step
%
100
==
2
)
e
->
forcerepart
=
1
;
#endif
...
...
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