Skip to content

Commit

Permalink
Stricter warning about group-based encoding in BP5
Browse files Browse the repository at this point in the history
  • Loading branch information
franzpoeschel committed Jan 13, 2025
1 parent 2ba06f6 commit 6185eeb
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions src/IO/ADIOS/ADIOS2IOHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -672,16 +672,12 @@ void ADIOS2IOHandlerImpl::createFile(
m_writeAttributesFromThisRank &&
m_handler->m_encoding == IterationEncoding::groupBased)
{
// For a peaceful phase-out of group-based encoding in ADIOS2,
// print this warning only in the new layout (with group table)
if (m_useGroupTable.value_or(UseGroupTable::No) ==
UseGroupTable::Yes &&
(m_engineType == "bp5"
if (m_engineType == "bp5"
#if openPMD_HAS_ADIOS_2_9
|| (m_engineType == "file" || m_engineType == "filestream" ||
m_engineType == "bp")
|| (m_engineType == "file" || m_engineType == "filestream" ||
m_engineType == "bp")
#endif
))
)
{
std::cerr << warningADIOS2NoGroupbasedEncoding << std::endl;
printedWarningsAlready.noGroupBased = true;
Expand Down

0 comments on commit 6185eeb

Please sign in to comment.