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

rank(H) = 0 and nonzeros(H)> matrix nonzeros? #81

Open
ztdepztdep opened this issue Nov 17, 2022 · 1 comment
Open

rank(H) = 0 and nonzeros(H)> matrix nonzeros? #81

ztdepztdep opened this issue Nov 17, 2022 · 1 comment

Comments

@ztdepztdep
Copy link

I construct the Matrix with
auto H = strumpack::structured::construct_from_dense(D, options);
where D is my dense matrix which has a dimension of 81x81=6561.
but the it shows the infor of

  • nonzeros(H) = 7537 and - rank(H) = 0
    7537>6551.
    I think it gives error results. Could you please give me some advices.
@pghysels
Copy link
Owner

That is indeed strange.
The number of nonzeros could be larger than n^2 if the rank is large, but it's zero in this case.
Is this on a single MPI rank?
Did you check the accuracy of the compressed matrix?

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

No branches or pull requests

2 participants