Skip to content

Commit

Permalink
[fix] condition to select sequential eigen-solver (#1023)
Browse files Browse the repository at this point in the history
  • Loading branch information
toxa81 authored Oct 4, 2024
1 parent 314fef1 commit bc02c48
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 bc02c48

Please sign in to comment.