diff --git a/opm/core/linalg/LinearSolverIstl.cpp b/opm/core/linalg/LinearSolverIstl.cpp index d440e7a6d..8f6fabaf1 100644 --- a/opm/core/linalg/LinearSolverIstl.cpp +++ b/opm/core/linalg/LinearSolverIstl.cpp @@ -188,7 +188,8 @@ namespace Opm #ifdef HAS_DUNE_FAST_AMG res = solveFastAMG(A, x, b, linsolver_residual_tolerance_, maxit, linsolver_verbosity_); #else - #warning "Fast AMG is not available; falling back to CG preconditioned with the normal one" + if(linsolver_verbosity_) + std::cerr<<"Fast AMG is not available; falling back to CG preconditioned with the normal one"< > CriterionBase; #else typedef Dune::Amg::AggregationCriterion > CriterionBase; - #warn "Only symmetric matrices are supported currently. Computing anyway..." #endif typedef Dune::Amg::CoarsenCriterion Criterion;