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 partial eigenspectrum indexing convention for ScaLAPACK API #1248

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

RMeli
Copy link
Member

@RMeli RMeli commented Dec 19, 2024

PR #1194 introduced the possibility to compute a partial eigenspectrum. The convention for the C-DLAF and C-ScaLAPACK APIs used was the same, i.e. base 0 indexing. As pointed out by @rasolca in eth-cscs/DLA-Future-Fortran#27 (review) it would be better to have base 1 indexing for the C-ScaLAPACK API (while retaining base 0 indexing for the C-DLAF API).

This PR changes the indexing convention of the C-ScaLAPACK from base 0 to base 1 indexing.

Copy link
Collaborator

@rasolca rasolca left a comment

Choose a reason for hiding this comment

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

Looks good.

@RMeli
Copy link
Member Author

RMeli commented Dec 19, 2024

cscs-ci run

@rasolca rasolca merged commit 4ff978c into eth-cscs:master Dec 19, 2024
4 of 5 checks passed
@RMeli RMeli deleted the fix-ps-idx branch December 19, 2024 13:37
@msimberg msimberg added this to the v0.7.3 milestone Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants