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

Do not overwrite the memory and CPU balance logs when restarting from check-point files.

parent 3288efec
......@@ -256,7 +256,7 @@ void engine_repartition_trigger(struct engine *e) {
#ifdef WITH_MPI
const ticks tic = getticks();
static int opened = 0;
static int opened = e->restarting;
/* Do nothing if there have not been enough steps since the last repartition
* as we don't want to repeat this too often or immediately after a
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