Commit f1210eaf authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Only force a repartition if you have METIS activated.

parent 5d334d22
......@@ -3048,7 +3048,7 @@ void engine_step(struct engine *e) {
engine_prepare(e);
/* Repartition the space amongst the nodes? */
#ifdef WITH_MPI
#if defined(WITH_MPI) && defined(HAVE_METIS)
if (e->step % 100 == 2) e->forcerepart = 1;
#endif
......
Supports Markdown
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