Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[enhancement] more printout #1035

Merged
merged 5 commits into from
Dec 17, 2024
Merged

[enhancement] more printout #1035

merged 5 commits into from
Dec 17, 2024

Conversation

gsavva
Copy link
Collaborator

@gsavva gsavva commented Dec 10, 2024

Adding more printout.

  • UUID for AMD GPUs
  • more info for occupation matrices: atom label and spin channel
  • Calculate and print the eigenvalues of the occupation matrices

QE prints the eigenvalues of the occupation matrices by default (which would be very useful for quick comparison)

For example, `rocm-smi --showuniqueid` prints:
GPU[0]: Unique ID: 0xea0b27b0a0719361
@gsavva gsavva self-assigned this Dec 10, 2024
@gsavva
Copy link
Collaborator Author

gsavva commented Dec 11, 2024

The eigenvalues and the occupation matrices are printed with the following format:

[occ.mtrx] atom : Fe1 level : 3 l: 2
[occ.mtrx] -------------------------------------------------- SPIN: 1
[occ.mtrx]    0.98894   0.99184   0.99184   0.99576   0.99576
[occ.mtrx] --------------------------------------------------
[occ.mtrx]    0.99348  -0.00227   0.00015  -0.00227  -0.00000
[occ.mtrx]   -0.00227   0.99348  -0.00007  -0.00227   0.00013
[occ.mtrx]    0.00015  -0.00007   0.99185  -0.00007   0.00000
[occ.mtrx]   -0.00227  -0.00227  -0.00007   0.99348  -0.00013
[occ.mtrx]   -0.00000   0.00013   0.00000  -0.00013   0.99185
[occ.mtrx] -------------------------------------------------- SPIN: 2
[occ.mtrx]    0.05183   0.05183   0.14578   0.14578   0.96328
[occ.mtrx] --------------------------------------------------
[occ.mtrx]    0.35612   0.30358  -0.00662   0.30358  -0.00000
[occ.mtrx]    0.30358   0.35612   0.00331   0.30358  -0.00574
[occ.mtrx]   -0.00662   0.00331   0.14507   0.00331   0.00000
[occ.mtrx]    0.30358   0.30358   0.00331   0.35612   0.00574
[occ.mtrx]   -0.00000  -0.00574   0.00000   0.00574   0.14507
[occ.mtrx] --------------------------------------------------
[occ.mtrx] Atom charge (total) 6.32262 (n_up) 4.96413 (n_down) 1.35849 (mz) 3.60564

@gsavva gsavva requested a review from toxa81 December 13, 2024 16:14
Copy link
Collaborator

@toxa81 toxa81 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@toxa81 toxa81 merged commit 9fe5844 into develop Dec 17, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants