From 1e1c5cf652f6a2ed392048a61e5a7837d70c0e73 Mon Sep 17 00:00:00 2001 From: fmckenna Date: Fri, 22 Mar 2024 10:35:27 -0700 Subject: [PATCH] fmk - using original #ifdef in SuperLU f no -D on solver version --- .../linearSOE/sparseGEN/DistributedSuperLU.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.cpp b/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.cpp index 527f48843e..e4c06dd461 100644 --- a/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.cpp +++ b/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.cpp @@ -55,6 +55,15 @@ #else superlu_options_t options; #endif + +#else + + #if defined(SUPERLU_DIST_MAJOR_VERSION) && SUPERLU_DIST_MAJOR_VERSION >= 5 + superlu_dist_options_t options; + #else + superlu_options_t options; + #endif + #endif SuperLUStat_t stat;