From e729c26b26efc060ba48965000555b832250ab80 Mon Sep 17 00:00:00 2001 From: Markus Blatt Date: Fri, 30 Oct 2015 13:22:06 +0100 Subject: [PATCH] Only specialize distributeGridAndData for CpGrid if MPI is found. --- opm/autodiff/RedistributeDataHandles.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opm/autodiff/RedistributeDataHandles.hpp b/opm/autodiff/RedistributeDataHandles.hpp index 4c43fcb46..15dbee5c1 100644 --- a/opm/autodiff/RedistributeDataHandles.hpp +++ b/opm/autodiff/RedistributeDataHandles.hpp @@ -45,7 +45,7 @@ inline void distributeGridAndData( Grid& , { } -#if HAVE_DUNE_CORNERPOINT +#if HAVE_DUNE_CORNERPOINT && HAVE_MPI /// \brief a data handle to distribute Derived Geology class GeologyDataHandle {