Omit deck check warnings on non-root processes

This commit is contained in:
Markus Blatt committed 2016-10-05 10:33:14 +02:00
1 parent 6d0d063413
commit 70d4dedfd2
1 file changed
+6 -1
+6 -1
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_);