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 documentation that append mode works with BP4 engine. #2370

Merged
merged 3 commits into from
Jul 14, 2020
Merged
Show file tree
Hide file tree
Changes from 2 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
4 changes: 2 additions & 2 deletions bindings/CXX11/adios2/cxx11/IO.h
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ class IO
* Open an Engine to start heavy-weight input/output operations.
* @param name unique engine identifier
* @param mode adios2::Mode::Write, adios2::Mode::Read, or
* adios2::Mode::Append (not yet support)
* adios2::Mode::Append
* @return engine object
*/
Engine Open(const std::string &name, const Mode mode);
Expand All @@ -265,7 +265,7 @@ class IO
* MPI Collective function as it calls MPI_Comm_dup
* @param name unique engine identifier within IO
* @param mode adios2::Mode::Write, adios2::Mode::Read, or
* adios2::Mode::Append (not yet support)
* adios2::Mode::Append
* @param comm new communicator other than ADIOS object's communicator
* @return engine object
*/
Expand Down
3 changes: 2 additions & 1 deletion source/adios2/engine/bp3/BP3Writer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,8 @@ void BP3Writer::InitBPBuffer()
if (m_OpenMode == Mode::Append)
{
throw std::invalid_argument(
"ADIOS2: OpenMode Append hasn't been implemented, yet");
"ADIOS2: Mode::Append is only available BP4; it is not implemented "
"for BP3 files.");
// TODO: Get last pg timestep and update timestep counter in
}
else
Expand Down