mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-26 21:46:26 -06:00
make parseSuccess dependent on MPI
avoids unused warnings when building without
This commit is contained in:
parent
678756b9e1
commit
41e7201c73
@ -405,7 +405,9 @@ namespace Opm
|
||||
|
||||
Opm::FlowMainEbos<PreTypeTag>::printPRTHeader(outputCout_);
|
||||
|
||||
#if HAVE_MPI
|
||||
int parseSuccess = 0;
|
||||
#endif
|
||||
std::string failureMessage;
|
||||
|
||||
if (mpiRank == 0) {
|
||||
@ -446,7 +448,9 @@ namespace Opm
|
||||
setupMessageLimiter_(schedule_->getMessageLimits(), "STDOUT_LOGGER");
|
||||
if (!summaryConfig_)
|
||||
summaryConfig_.reset( new Opm::SummaryConfig(*deck_, *schedule_, eclipseState_->getTableManager(), parseContext, errorGuard));
|
||||
#if HAVE_MPI
|
||||
parseSuccess = 1;
|
||||
#endif
|
||||
}
|
||||
catch(const std::exception& e)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user