From 236718cff92ac07acb8881d1d9e14ba65ce677fd Mon Sep 17 00:00:00 2001 From: Markus Blatt Date: Mon, 13 Apr 2015 11:01:24 +0200 Subject: [PATCH] Deactivate PETSc's KSPCHEBYSHEV (not available in 3.2!) --- opm/core/linalg/LinearSolverPetsc.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/opm/core/linalg/LinearSolverPetsc.cpp b/opm/core/linalg/LinearSolverPetsc.cpp index 88d03557f..3394ff708 100644 --- a/opm/core/linalg/LinearSolverPetsc.cpp +++ b/opm/core/linalg/LinearSolverPetsc.cpp @@ -41,7 +41,8 @@ namespace{ // which it thinks is needed for constructing std::string. // Using operator[] circumvents this problem. type_map_["richardson"] = KSPRICHARDSON; - type_map_["chebyshev"] = KSPCHEBYSHEV; + // Not available in PETSC 3.2 on Debian + //type_map_["chebyshev"] = KSPCHEBYSHEV; type_map_["cg"] = KSPCG; type_map_["bicgs"] = KSPBICG; type_map_["gmres"] = KSPGMRES;