Skip to content
Snippets Groups Projects
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
Branches
Tags
No related merge requests found
......@@ -376,8 +376,14 @@ void engine_repartition_trigger(struct engine *e) {
} else {
/* Not repartitioning, would that have been done otherwise? */
if (e->verbose)
message("trigger fraction %.3f > %.3f would have repartitioned",
balance, abs_trigger);
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment