Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: IO object has a flag m_ReadStreaming set to false initially but … #2805

Merged
merged 1 commit into from
Jul 30, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions source/adios2/engine/bp3/BP3Reader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,9 @@ void BP3Reader::Init()
" " + m_EndMessage);
}

// if IO was involved in reading before this flag may be true now
m_IO.m_ReadStreaming = false;

InitTransports();
InitBuffer();
}
Expand Down
2 changes: 2 additions & 0 deletions source/adios2/engine/bp4/BP4Reader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ void BP4Reader::Init()
"supports OpenMode::Read from" +
m_Name + " " + m_EndMessage);
}
// if IO was involved in reading before this flag may be true now
m_IO.m_ReadStreaming = false;

m_BP4Deserializer.Init(m_IO.m_Parameters, "in call to BP4::Open to write");
InitTransports();
Expand Down
3 changes: 3 additions & 0 deletions source/adios2/engine/bp5/BP5Reader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,9 @@ void BP5Reader::Init()
m_Name + " " + m_EndMessage);
}

// if IO was involved in reading before this flag may be true now
m_IO.m_ReadStreaming = false;

ParseParams(m_IO, m_Parameters);
m_ReaderIsRowMajor = helper::IsRowMajor(m_IO.m_HostLanguage);
InitTransports();
Expand Down