From 51546a5c5f4d51a62c107caa0ca59475d164f12c Mon Sep 17 00:00:00 2001 From: Roland Kaufmann Date: Wed, 7 Aug 2013 01:13:08 +0200 Subject: [PATCH] Function has a different name in the parallel vs. serial version --- opm/core/linalg/LinearSolverAGMG.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/opm/core/linalg/LinearSolverAGMG.cpp b/opm/core/linalg/LinearSolverAGMG.cpp index d4743445..1fcf204f 100644 --- a/opm/core/linalg/LinearSolverAGMG.cpp +++ b/opm/core/linalg/LinearSolverAGMG.cpp @@ -38,7 +38,11 @@ // Note that both the matrix entries and column indices are writable. // The solver may permute the matrix entries within each row during // the setup phase. +#ifdef HAVE_MPI +#define DAGMG_ FC_FUNC(dagmgpar, DAGMGPAR) +#else #define DAGMG_ FC_FUNC(dagmg, DAGMG) +#endif extern "C" void