mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Do not instantiate things requiring MPI when HAVE_MPI is false.
This commit is contained in:
@@ -44,6 +44,7 @@ template class Dune::FlexibleSolver<BM<1>, BV<1>>;
|
||||
// Variants using Opm::MatrixBlock blocks.
|
||||
template class Dune::FlexibleSolver<OBM<1>, BV<1>>;
|
||||
|
||||
#if HAVE_MPI
|
||||
|
||||
using Comm = Dune::OwnerOverlapCopyCommunication<int, int>;
|
||||
|
||||
@@ -52,3 +53,4 @@ template Dune::FlexibleSolver<OBM<1>, BV<1>>::FlexibleSolver(const MatrixType& m
|
||||
const boost::property_tree::ptree& prm,
|
||||
const std::function<BV<1>()>& weightsCalculator);
|
||||
|
||||
#endif // HAVE_MPI
|
||||
|
||||
Reference in New Issue
Block a user