mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Bugfix. Deprecated getCollectiveComminication warning
This commit is contained in:
parent
8aa035f174
commit
166c31d5f8
@ -294,8 +294,7 @@ std::unique_ptr<Matrix> blockJacobiAdjacency(const Grid& grid,
|
||||
OPM_THROW(std::logic_error, "Solver number " + std::to_string(num) + " not available.");
|
||||
}
|
||||
activeSolverNum_ = num;
|
||||
auto cc = Dune::MPIHelper::getCollectiveCommunication();
|
||||
if (cc.rank() == 0) {
|
||||
if (simulator_.gridView().comm().rank() == 0) {
|
||||
OpmLog::debug("Active solver = " + std::to_string(activeSolverNum_)
|
||||
+ " (" + parameters_[activeSolverNum_].linsolver_ + ")");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user