From 171d6bd3d0a6bd1189cad07c0176979b2359cf30 Mon Sep 17 00:00:00 2001 From: Anton Kozhevnikov Date: Fri, 4 Oct 2024 11:42:40 +0200 Subject: [PATCH] fix condition to select sequential eign-solver --- src/context/simulation_context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/context/simulation_context.cpp b/src/context/simulation_context.cpp index b324b6047..fd9d3b319 100644 --- a/src/context/simulation_context.cpp +++ b/src/context/simulation_context.cpp @@ -391,7 +391,7 @@ Simulation_context::initialize() for (int i : {0, 1}) { if (evsn[i] == "auto") { /* conditions for sequential diagonalization */ - if (comm_band().size() == 1 || npc == 1 || npr == 1 || !is_scalapack) { + if (comm_band().size() == 1 || npc == 1 || npr == 1 || !(is_scalapack || is_elpa || is_dlaf)) { if (full_potential()) { if (is_magma) { evsn[i] = "magma";