Skip to content

Commit dd72086

Browse files
Keep written flag consistent across MPI ranks for rankTable (#1869)
1 parent 5861118 commit dd72086

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/Series.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -571,6 +571,11 @@ void Series::flushRankTable()
571571
[asRawPtr](char *) { delete asRawPtr; }};
572572
writeDataset(std::move(put), /* num_lines = */ size);
573573
}
574+
575+
// Must ensure that the Writable is consistently set to written on all
576+
// ranks
577+
series.m_rankTable.m_attributable.setWritten(
578+
true, EnqueueAsynchronously::OnlyAsync);
574579
return;
575580
}
576581
#endif

0 commit comments

Comments
 (0)