Skip to content
Snippets Groups Projects
Verified Commit 207078d7 authored by René Fritze's avatar René Fritze
Browse files

[istl/solver] exclude serial-only solvers from available in parallel runs

parent f9217f9c
No related branches found
No related tags found
No related merge requests found
......@@ -130,17 +130,18 @@ public:
static std::vector<std::string> types()
{
return
{
std::vector<std::string> ret{
"bicgstab.amg.ssor", "bicgstab.amg.ilu0", "bicgstab.ilut", "bicgstab.ssor", "bicgstab"};
if (std::is_same<CommunicatorType, XT::SequentialCommunication>::value) {
#if HAVE_SUPERLU
"superlu",
ret.insert(ret.begin(), "superlu");
#endif
"bicgstab.amg.ssor", "bicgstab.amg.ilu0", "bicgstab.ilut", "bicgstab.ssor", "bicgstab"
#if HAVE_UMFPACK
,
"umfpack"
ret.push_back("umfpack");
#endif
};
}
return ret;
} // ... types()
static XT::Common::Configuration options(const std::string type = "")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment