Skip to content

Chaos control - #173

Merged
jacharrym merged 18 commits into
masterfrom
chaos-control
Jun 24, 2026
Merged

jacharrym merged 18 commits into
masterfrom
chaos-control

Conversation

@jacharrym

Copy link
Copy Markdown
Collaborator
  • Fixed some bugs in lapack eigen solvers
  • Remove noise in eigenvectors after diagonalization
  • Add lapack libraries options in configure
  • Adopted fortran std2008
  • update openlowdin header

jacharrym and others added 12 commits May 29, 2026 14:40
…ls from disk.

A tiny non-associative numerical error in floating-point summation, between 1E-14 to 1E-16 in the omp atomic section that build the two particles matrix. Because of that tiny difference, LAPACK generates a different rotated state for degenerate orbitals, so every omp run of the same input can give drastically different results.

Addressing the first issue in #63.

Now any parallel truncated post-HF method should give the same numbers
But it's more complicated that I thought. So here just saves minor generalizations to SVD
- dsyevr also overwrittes the matrix
- use dsyevr for density guess and overlap transformation
- filter out small coefficients in the eigenvectors

the last two points prevents to have noisy rotations
This is useful when working on cluster enviroments
compiled with -std=f2018 -pedantic only for lowdin subroutines. I
don't want to modify the old f77 and f90 external libraries

Addressing issue #171
@jacharrym
jacharrym requested a review from fsmoncadaa June 24, 2026 12:46
jacharrym and others added 6 commits June 24, 2026 14:56
Added MKL library flags to the Lowdin configuration command.
Use standard flags instead of production
Use standard flags instead of production
Now ifx needs to install intel-oneapi-openmp-devel too
@jacharrym
jacharrym marked this pull request as ready for review June 24, 2026 14:27
@jacharrym
jacharrym merged commit eb3f77a into master Jun 24, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants