diff --git a/opm/simulators/flow/Main.hpp b/opm/simulators/flow/Main.hpp index 100118323..c375ac497 100644 --- a/opm/simulators/flow/Main.hpp +++ b/opm/simulators/flow/Main.hpp @@ -432,6 +432,10 @@ namespace Opm {Opm::ParseContext::PARSE_MISSING_DIMS_KEYWORD, Opm::InputError::WARN}, {Opm::ParseContext::SUMMARY_UNKNOWN_WELL, Opm::InputError::WARN}, {Opm::ParseContext::SUMMARY_UNKNOWN_GROUP, Opm::InputError::WARN}}); + if (EWOMS_GET_PARAM(PreTypeTag, bool, EclStrictParsing)) + parseContext->update(Opm::InputError::DELAYED_EXIT1); + + Opm::FlowMainEbos::printPRTHeader(outputCout_); readDeck(mpiRank, deckFilename, deck_, eclipseState_, schedule_, summaryConfig_, nullptr, python, std::move(parseContext),