diff --git a/opm/simulators/linalg/ISTLSolverEbos.hpp b/opm/simulators/linalg/ISTLSolverEbos.hpp index 6118d536d..4aae5c358 100644 --- a/opm/simulators/linalg/ISTLSolverEbos.hpp +++ b/opm/simulators/linalg/ISTLSolverEbos.hpp @@ -265,7 +265,9 @@ std::unique_ptr blockJacobiAdjacency(const Grid& grid, #if HAVE_MPI if (firstcall) { const std::size_t size = M.N(); - detail::copyParValues(parallelInformation_, size, *comm_); + if (isParallel()) { + detail::copyParValues(parallelInformation_, size, *comm_); + } } #endif