Amesos: Compilation fails with SuperLU_DIST 5.4.0+
Created by: Sbte
@trilinos/amesos
possibly also
@trilinos/amesos2 @trilinos/ml @trilinos/muelu
since these all make use of LargeDiag
.
Expectations
Amesos works with the latest versions of SuperLU_DIST
Current Behavior
With 5.4.0 compilation fails with
packages/amesos/src/Amesos_Superludist.cpp(475): error: identifier "LargeDiag" is undefined
if( RowPerm_ == "LargeDiag" ) PrivateSuperluData_->options_.RowPerm = LargeDiag;
with 6.0.0 it fails with more errors
include/superlu_dist_config.h(7): warning #47: incompatible redefinition of macro "HAVE_LAPACK" (declared at line 111 of "build/packages/epetra/src/Epetra_config.h")
#define HAVE_LAPACK TRUE
^
packages/amesos/src/Amesos_Superludist.cpp(60): error: identifier "superlu_options_t" is undefined
superlu_options_t options_;
^
packages/amesos/src/Amesos_Superludist.cpp(475): error: identifier "LargeDiag" is undefined
if( RowPerm_ == "LargeDiag" ) PrivateSuperluData_->options_.RowPerm = LargeDiag;
^
Possibly there are more errors when these are resolved.