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

Fix bounds error when assigning M matrices #490

Merged
merged 1 commit into from
Feb 25, 2024

Conversation

qiaojunfeng
Copy link
Collaborator

With gfortran -fcheck=bounds the chkpt distribution raise a runtime error:

Array bound mismatch for dimension 1 of array 'm_matrix_local' (12/8)

This fixs test failure of #486.

With gfortran `-fcheck=bounds` the chkpt distribution raise a runtime
error:

Array bound mismatch for dimension 1 of array 'm_matrix_local' (12/8)
Copy link
Collaborator

@JeromeCCP9 JeromeCCP9 left a comment

Choose a reason for hiding this comment

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

Yes, this is absolutely correct. Bug was introduced (by myself) when reorganising m_matrix array use.

@JeromeCCP9 JeromeCCP9 merged commit eb8c364 into wannier-developers:develop Feb 25, 2024
4 checks passed
@qiaojunfeng qiaojunfeng deleted the fix/check_bounds branch February 25, 2024 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants