Compilation of Amesos2 with SuiteSparse fails
Created by: anates
When compiling Amesos2 with the latest version of SuiteSparse (for UMFPACK), I get the following error:
In file included from /opt/suitesparse/include/umfpack.h:29:0,
from ~/Downloads/Trilinos/packages/amesos2/src/Amesos2_Umfpack_FunctionMap.hpp:56,
from ~/Downloads/Trilinos/packages/amesos2/src/Amesos2_Umfpack_decl.hpp:49,
from ~/Downloads/Trilinos/packages/amesos2/src/Amesos2_Umfpack.hpp:47,
from ~/Downloads/Trilinos/packages/amesos2/src/Amesos2_Factory.hpp:108,
from ~/Downloads/Trilinos/packages/amesos2/src/Amesos2_Details_LinearSolverFactory_def.hpp:52,
from ~/Downloads/Trilinos/packages/amesos2/src/Amesos2_Details_LinearSolverFactory.hpp:49,
from ~/Downloads/Trilinos/packages/amesos2/src/Amesos2_Details_registerLinearSolverFactory.cpp:45:
/opt/suitesparse/include/SuiteSparse_config.h:62:31: error: declaration does not declare anything [-fpermissive]
#define SuiteSparse_long long int
on Tumbleweed, OpenMPI3 with GCC 7.2. Is that a bug?