mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #2679 from akva2/janitoring
make parseSuccess dependent on MPI
This commit is contained in:
commit
226697ec6f
@ -405,7 +405,9 @@ namespace Opm
|
|||||||
|
|
||||||
Opm::FlowMainEbos<PreTypeTag>::printPRTHeader(outputCout_);
|
Opm::FlowMainEbos<PreTypeTag>::printPRTHeader(outputCout_);
|
||||||
|
|
||||||
|
#if HAVE_MPI
|
||||||
int parseSuccess = 0;
|
int parseSuccess = 0;
|
||||||
|
#endif
|
||||||
std::string failureMessage;
|
std::string failureMessage;
|
||||||
|
|
||||||
if (mpiRank == 0) {
|
if (mpiRank == 0) {
|
||||||
@ -446,7 +448,9 @@ namespace Opm
|
|||||||
setupMessageLimiter_(schedule_->getMessageLimits(), "STDOUT_LOGGER");
|
setupMessageLimiter_(schedule_->getMessageLimits(), "STDOUT_LOGGER");
|
||||||
if (!summaryConfig_)
|
if (!summaryConfig_)
|
||||||
summaryConfig_.reset( new Opm::SummaryConfig(*deck_, *schedule_, eclipseState_->getTableManager(), parseContext, errorGuard));
|
summaryConfig_.reset( new Opm::SummaryConfig(*deck_, *schedule_, eclipseState_->getTableManager(), parseContext, errorGuard));
|
||||||
|
#if HAVE_MPI
|
||||||
parseSuccess = 1;
|
parseSuccess = 1;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
catch(const std::exception& e)
|
catch(const std::exception& e)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user