Skip to content

Commit

Permalink
fix condition to select sequential eign-solver
Browse files Browse the repository at this point in the history
  • Loading branch information
toxa81 committed Oct 4, 2024
1 parent 6320262 commit 171d6bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/context/simulation_context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 171d6bd

Please sign in to comment.