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

krylov space re-use [BifurcationKit jacobian-free methods optimization] #108

Open
rveltz opened this issue Nov 29, 2024 · 1 comment
Open

Comments

@rveltz
Copy link
Contributor

rveltz commented Nov 29, 2024

Hi,

I am (kinda re-) opening an issue because I think it is different from the issues on memory allocations that are still open. In BifurcationKit.jl, we solve repeatedly linear systems and compute eigenvalues. I am now improving BifurcationKit for Jacobian-free methods by avoiding allocations when possible. I love KrylovKit because it is robust and have the most general matrix-free eigen solver.

Thus, it would be nice to allow

  • for inplace linear operator
  • re-use of Krylov subspace (memory) ; this could be increased if needed by linsolve or eigsolve. Is it something you have in mind?
@Jutho
Copy link
Owner

Jutho commented Nov 29, 2024

Yes I agree that this is becoming more pressing. I was kind of hoping that work on Julia's GC would make this unnecessary, but it seems like this is not going to happen any time soon.

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