Omit deck check warnings on non-root processes

This commit is contained in:
Markus Blatt
2016-09-15 20:38:40 +02:00
parent 6d0d063413
commit 70d4dedfd2

View File

@@ -417,7 +417,12 @@ namespace Opm
ParseContext parseContext({{ ParseContext::PARSE_RANDOM_SLASH , InputError::IGNORE }});
deck_ = parser->parseFile(deck_filename, parseContext);
checkDeck(deck_, parser);
MissingFeatures::checkKeywords(*deck_);
if ( output_cout_)
{
MissingFeatures::checkKeywords(*deck_);
}
eclipse_state_.reset(new EclipseState(*deck_, parseContext));
auto ioConfig = eclipse_state_->getIOConfig();
ioConfig->setOutputDir(output_dir_);