Skip to content

Commit

Permalink
Merge pull request #3098 from chuckatkins/move-to-release-pr3096
Browse files Browse the repository at this point in the history
BP5Deserializer GenerateReadRequests fix rank fix
  • Loading branch information
Chuck Atkins authored Mar 11, 2022
2 parents 8f947d9 + 2a6c040 commit bb0e101
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions source/adios2/toolkit/format/bp5/BP5Deserializer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1101,8 +1101,13 @@ BP5Deserializer::GenerateReadRequests()
for (const auto &Req : PendingRequests)
{
const size_t writerCohortSize = WriterCohortSize(Req.Step);
size_t NodeFirst = 0;
for (size_t i = 0; i < writerCohortSize; i++)
{
if (!NeedWriter(Req, i, NodeFirst))
{
continue;
}
if (WriterTSNeeded.count(std::make_pair(Req.Step, i)) == 0)
{
WriterTSNeeded[std::make_pair(Req.Step, i)] = true;
Expand Down

0 comments on commit bb0e101

Please sign in to comment.