mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
fixed: well model could deadlock
if umfpack encounters a singular matrix on any process, the exception propagated up across communication boundaries leading to deadlock as the other processes tried to do global reductions
This commit is contained in:
parent
4097a3c663
commit
67765a3f08
@ -1130,9 +1130,12 @@ namespace Opm {
|
||||
break;
|
||||
}
|
||||
++iter;
|
||||
OPM_BEGIN_PARALLEL_TRY_CATCH();
|
||||
for (auto& well : this->well_container_) {
|
||||
well->solveEqAndUpdateWellState(simulator_, well_state, deferred_logger);
|
||||
}
|
||||
OPM_END_PARALLEL_TRY_CATCH("BlackoilWellModel::doPreStepNetworkRebalance() failed: ",
|
||||
this->simulator_.vanguard().grid().comm());
|
||||
this->initPrimaryVariablesEvaluation();
|
||||
} while (iter < max_iter);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user