Closed carstenbauer closed 1 year ago
This seems to be a bug in the merge()
function. merge()
calls save()
, so if you call it from a fresh session it will overwrite the tape of the rank with an empty tape.
If you then load all tapes and merge them, the get_edges()
function can not match every MPI call because one tape got overwritten.
So maybe we have to re-think our merge()
behavior.
Directly calling readall_and_merge()
works for me.
If I run the basic example (in
example/
) the plotting functions work, i.e. they print to the REPL and create a filegantt.png
. However, if I close the REPL and and then load and merge the tape files in a fresh REPL, they don't. Specifically, if I runI get the following error:
Note that
plot_sequence_merged
fails with the same error (since they shareget_edges
).(cc @Mellich)