From 6185eeba3d502caccc9be662bfe8d6b3b21410ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franz=20P=C3=B6schel?= Date: Mon, 13 Jan 2025 14:57:35 +0100 Subject: [PATCH] Stricter warning about group-based encoding in BP5 --- src/IO/ADIOS/ADIOS2IOHandler.cpp | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/src/IO/ADIOS/ADIOS2IOHandler.cpp b/src/IO/ADIOS/ADIOS2IOHandler.cpp index f9948dafa0..76ac1b47b7 100644 --- a/src/IO/ADIOS/ADIOS2IOHandler.cpp +++ b/src/IO/ADIOS/ADIOS2IOHandler.cpp @@ -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;