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

Correct the message printed when metis is not in use and we report the imbalance

parent 6def8f27
......@@ -376,8 +376,14 @@ void engine_repartition_trigger(struct engine *e) {
} else {
/* Not repartitioning, would that have been done otherwise? */
if (e->verbose)
if (balance > abs_trigger) {
message("trigger fraction %.3f > %.3f would have repartitioned",
balance, abs_trigger);
} else {
message(
"trigger fraction %.3f =< %.3f would note have repartitioned",
balance, abs_trigger);
}
}
/* Keep logs of all CPU times and resident memory size for debugging
......
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